What is your development checklist for Java low-latency application?

Posted by user49767 on Stack Overflow See other posts from Stack Overflow or by user49767
Published on 2010-04-04T13:51:41Z Indexed on 2010/04/04 13:53 UTC
Read the original article Hit count: 607

I would like to create comprehensive checklist for Java low latency application. Can you add your checklist here?

Here is my list
1. Make your objects immutable
2. Try to reduce synchronized method
3. Locking order should be well documented, and handled carefully
4. Use profiler
5. Use Amdhal's law, and find the sequential execution path
6. Use Java 5 concurrency utilities, and locks
7. Avoid Thread priorities as they are platform dependent
8. JVM warmup can be used

As per my definition, low-latency application is tuned for every Milli-seconds.

© Stack Overflow or respective owner

Related posts about java

Related posts about multithreading