php - UUID cassandra sorting? - Stack Overflow
For getting the 30 most recently added keys (along with paging capabilities), you're really talking about time series data. Here's a good intro to timeseries with Cassandra. You could either use timestamps or v1 UUIDs as the column names, and the unique keys as the column values. If you choose to use v1 UUIDs for the unique keys, you could just put those directly in the column names. At that point you're just dealing with normal time series data and paging in Cassandra.
Read full article from php - UUID cassandra sorting? - Stack Overflow
No comments:
Post a Comment