Low latency logging can only be implemented efficiently asynchronous, using solid state drives is irrelevant with regards latency and don't provide any edge. The general advice still applies: eliminate memory allocations, data copies, lock contention and context switching. Write to a ring buffer in shared memory between the thread that logs and the thread that dispatches the message to the kernel, and if you are really skillful you could possible implement it lockless/lockfree.
This is a techonology blog dedicated to high-performance trading, market data, and low latency infrastructure and technology.
Wednesday, November 10, 2010
Tuesday, November 9, 2010
Welcome new readers!
I've started a new technology blog on blogger.com to cut down on administrative costs associated with maintaining a dedicated server, mysql, php wordpress etc.. Hopefully I should have a slew of updates that many of you will find useful.
Subscribe to:
Posts (Atom)