title: High Frequency Trading in the JVM with Scala/Akka
body: <p>Let's imagine an hypothetical HFT system in Java, requiring (very) low-latency, with lots of short-lived small objects somewhat due to immutability (Scala?), thousands of connections per second, and an obscene number of messages passing around in an event-driven architecture (akka and amqp?). </p>
  
  <p>For the experts out there, what would (hypothetically) be the best tuning for JVM 7? What type of code would make it happy? Would Scala and Akka be ready for this kind of systems?</p>
  
  <p><em>Note:</em> There has been some similar questions, like this <a href="https://stackoverflow.com/questions/2743106/tuning-jvm-gc-for-high-responsive-server-application">one</a>, but I've yet to find one covering Scala (which has its own idiosyncratic footprint in the JVM).</p>