2 ms·
A startup I once worked at (in the days before AWS or cloud) literally faced this exact same problem - it was making a trade engine, trades had to be durable, a
by nostrademons 7y ago
A startup I once worked at (in the days before AWS or cloud) literally faced this exact same problem - it was making a trade engine, trades had to be durable, and they came in at a rate faster than the disk rotated, so it was physically impossible to write them out and verify them fast enough. We solved it with an i-RAM, a battery-backed RAM disk with its own UPS. Worked pretty nicely at the time, but it was for the pre-AWS era and the i-RAM's manufacturer has since stopped manufacturing them.
Today I would use streetcat1's in-memory replication solution, but don't be afraid to think out of the box or consider hardware-based solutions.