6. Using a shared SQLite database file.
This is quite foolproof, easy to implement and fast enough for my purposes. The only drawback is that it creates some disk I/O which could be too much for some really heavy real-time data traffic.
This is quite foolproof, easy to implement and fast enough for my purposes. The only drawback is that it creates some disk I/O which could be too much for some really heavy real-time data traffic.