• Post Reply Bookmark Topic Watch Topic
  • New Topic

Low latency practices  RSS feed

 
Pushker Chaubey
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,

I want to know what are the best practices (principles and guidelines) for designing/programming low latency systems. I want to create a list of such practices as guidelines.

If there are any pointers to any article, blog, paper, any section in any book.... please let me know.
If any body has some previous learnings please contribute.

Thanks in advance!
Pushker Chaubey
 
Henry Wong
author
Sheriff
Posts: 22852
119
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Having been a consultant to many "wall street shops" which have ridiculous low latency requirements -- some as low as guaranteed 5 ms response times. I would say the most common practices is... Don't use Java.

It is not that Java is slow. In fact, in many cases, it is faster than C/C++. The problem seems to be the garbage collector. The "guaranteed" part of the requirement fails as soon as the GC kicks in.

Personally, I don't agree with this practice (or else I wouldn't be a Java developer... ). There are some really interesting real-time, some really good concurrent (and parallel) GC, and of course, some hardware assisted GC currently on the market, and coming down the pike which seems to be able to address this. And of course, with only 5ms to spare, crappy code won't work, regardless of the language.

Henry
 
Pushker Chaubey
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Henry,

Thanks for commenting.
Your book is very good.


regards,
Pushker Chaubey
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!