by cipherzero · 10y ago · 0 comments
1. It mentions using secondary indexes - its my understanding thats a huge no-no, as they have to hit the whole cluster 2. Uses "lightweight" transactions - also another perf hit, as lightweight transactions have (anecdotally) a 6x slowdown...
I like the idea but I'm curious if these are issues and whether these uses are something the author is looking to replace...
Very interesting idea though!
(CoAuthor of cassieq here so these were things we had to learn about.)
lightweight transactions are only used on schema-changes (which are/should-be rare)
As for the indexes - are they standard Cassandra secondary indexes? "Custom secondary indexes" - does that mean that it just looks like a secondary index, but is actually backed by Elastic search?
Though you can't query it from cassandra yet. You have to use the elastic-search rest-api.