java - Merging several concurrent Database operations into a single batch -
[hi, asked question in morning not response or feedback community..i bring community around..]
i working on web-application using java , backed cassandra-a nosql database.
cassandra allows highly concurrent database operations , in batches of huge no of operations, in single go. recommend using batch sizes hundreds of operations in single batch operation. unable figure out, how can efficiently merge database operations required/submitted hundreds of concurrent users on application. way of merging these operations in batches ?
edit : know how submit batch query database, seeking how collect queries requested/submitted several concurrent user sessions in single batch ?
you're prematurely optimizing. nobody using cassandra has performance problems inserts, , of can't think of problem overhead small batch sizes instead of things memtable thresholds , compaction.
the stress.py , stress.java cassandra benchmarks use batch sizes of single row.
Comments
Post a Comment