I am using Cassandra for saving logs, and on client-side I want to show all logs for some day for example.
Of course for one day there can be thousands of log records, and I need to use paging.
I saw that paging in not like "native" in cassandra, and we need to use some "tricks", like saving last retreived record, and looking for more records after that record.
My idea is to save uuid and date for primary key, and then order column familly by date, so I can pass uuid and date, and cassandra should give me records after that record, and so on.
Does anyone knows is this good idea, I mean in terms of performance. Is it good to have uuid and date for compound keys? Or maybe there is better solution for solving this?
Thank you!