-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17/02/16 06:37, Dave Baggett wrote: > I'd welcome any suggestions
How about two databases? Create an in memory database for the cache. Then whenever it hits a certain size (eg 64MB) or time passed (eg 5 minutes), copy/move data from the memory database to the persistent (disk) one. This ensures the writes to the disk database are in big chunks. Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlbEm9AACgkQmOOfHg372QR9rwCgu+MPM+kJEGYlBTzkKRYhHsOu U98AoOZ4kBue7MV6Q8P9+vkljyJGobVu =61/4 -----END PGP SIGNATURE-----