immutability - Using MongoDB to store immutable data? -
we investigation options store , read lot of immutable data (events) , i'd feedback on whether mongodb fit.
requirements:
- we'll need store 10 events per seconds (but rate increase). each event small, 1 kb. fine store of these events in same collection?
- a important requirement need able replay events in order. i've read here mongodb have limit of 32 mb when sorting documents using cursors. fine read data in insertion order (like table scan) explicit sort might not necessary? cursors way go , able fullfil requirement?
if mongodb fit there configuration or setting 1 can tune increase performance or reliability immutable data?
this similar storing logs: lots of writes, , data read in order. luckily mongo site has recipe this:
https://docs.mongodb.org/ecosystem/use-cases/storing-log-data/
regarding immutability of data, that's not problem mongodb.
Comments
Post a Comment