I don't know how to name this kind of buffer exactly, I need it in the following scenario:
Since the data is big and can not be totally resident in memory.I need a buffer that can manage the exchange between memory and disk(flushing data to disk if buffer is full and reading data from memory buffer or disk continuously), which is transparent to writer and reader(much like a database but I want to keep it fast,simple and light weight). Don't know if there is any opensource implementation for it.. Thanks!
Try ehcache.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With