mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 11:24:44 -07:00
The original design had a shared filestore write buffer and individual message blocks had a read cache. This presented some performance and stability issues when lots of reads and deletes were happening to a message block that was also being written to actively. This change eliminates the shared write buffer and uses the message block's cache as a write through as well as read cache and handles partials correctly. Signed-off-by: Derek Collison <derek@nats.io>
10 KiB
10 KiB