vendredi 25 mars 2016

The fastest way to fill test data to cassandra unit?

I'm using cassandra unit for testing in my project and it's great but the problem is:loading test data takes quite a long time (100 secs for ~25 000 plain inserts).

I have some ideas but they don't seem to be feasible for cassandra unit:

  • use something like cqlsh command COPY FROM to copy data from csv
  • backup prepared data folder and give it to CU at initialization.

Do you have other ideas? Thanks.

Aucun commentaire:

Enregistrer un commentaire