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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -