Skip to content
Discussion options

You must be logged in to vote

I did some research and benchmarking on MZRDB's performance. Here are the key findings based on the data:

  • Read Performance: BSON is the clear winner. For bulk datasets (20k+ records), BSON's cold read is ~0.05ms, while JSON takes ~31ms.
  • Write Performance: Both are similar for bulk writes (~55ms). However, JSON is faster for small, incremental updates (100 records).
  • Storage: JSON files are roughly 10% smaller than BSON for these datasets.

Conclusion: BSON is ideal for read-heavy applications where speed is critical. JSON is better for human-readability and smaller, frequent write operations.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MZRCode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants