On Sep 3, 12:00 pm, jhaagmans <[email protected]> wrote:
> Thanks Fred :)
>
> > Just seems highly likely that any time you save will actually be lost
> > in the noise.
>
> If it does, it does. However, on average, an e-mail sent 1 millisecond
> faster will also be received 1 ms faster. I know you think it doesn't
> matter, but for this application, it matters. Trust me on this. Even
> server load isn't as important as speed.
I have to agree with Fred - trying to optimize things to this level is
almost certainly a mistake. There are far too many other factors that
can randomly devour >10ms at a pass: the size of the OS timeslice
(typically around 10ms), swapping pages in from disk (50ms to ?),
network contention, etc.
On the other hand, if you're really serious about being fast, SMTP is
doing it completely wrong. Write a real TCP client and you'll clear
out a massive amount of overhead.
Unless this is for one of the high-frequency stock trading operations,
in which case I encourage you to spend as much time and money on it as
possible - tell them they need a custom OS or something... ;)
--Matt Jones
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---