Skip to content

piddubnyi/spring-data-cassandra-performnace

Repository files navigation

Reproducing cassandra insert performance problem with spring-data

https://stackoverflow.com/questions/69772144/spring-data-cassandra-reactive-improve-perfromance-of-reactivecrudrepository-sav

Run docker-compose up (start local cassandra)

Run SpringDataCassandraPerformanceApplication

Change insert mode by switching execution CassandraInsertRunner line 58,59

Insert performance difference in my case is huge:

  • ~15k inserts per second with ReactiveCrudRepository
  • ~40k inserts per second with Plain Cql execution

Tested on Java 8 and 17

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages