NoSQL Database Benchmark: MongoDB versus Apache Cassandra versus Redis under YCSB-Style Workloads
Which NoSQL engine is fastest - and what does it lose in a crash? Three engines of three data models run as single nodes, one at a time, under the same conditions: Redis 8.10.3 (in-memory key-value store), MongoDB 9.0.8 Community (document store) and Apache Cassandra 5.0.9 (wide-column store), each pinned to the same 4 CPUs with the same 2 GB memory budget. An own YCSB-style Python client re-implements the YCSB core workloads - A update-heavy, B read-mostly, C read-only, E short scans, F read-modify-write, with scrambled zipfian keys - and follows the YCSB bindings; 8 client processes keep one request in flight each.
NOTE: Generated YCSB-style records (no personal data); three single-node engines measured one at a time with the same client, the same pinned CPUs and the same memory budget; every service ran locally on a standard laptop.
Category: Big Data
Big Data Project BD10 from ProTechSC Academy, with graphical abstract, video demonstration and project guidance.