Hi, Thanks Matt. Really appreciate your help :)

On 3 sep, 18:29, Matt Jones <[email protected]> wrote:
> 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.

That doesn't take away my first point. On average, every millisecond
that I can shave off, will result in the e-mail getting there faster.
And again, trust me, every millisecond counts. I don't want to debate
on the need of shaving these milliseconds off; it's the task I got. My
question is where to start shaving.

>
> 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.

Great, that's useful. I'll look into that.

>
> 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... ;)

You're actually on the right track, but also way off ;)

The thing is, I -will- start work on this at some point and I -will-
need to make sure it's my best effort. The budget also has some weight
of course, which is why I can't get too fancy, developing a custom OS
for example ;)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to