Using Cassandra as a Queue
问题 Using Cassandra as Queue: Is it really that bad? Setup: 5 node cluster, all operations execute at quorum Using DateTieredCompaction should significantly reduce the cost of TombStones, and allow entire SSTables to be dropped at once. We add all messages to the queue with the same TTL We partition messages based on time (say 1 minute intervals), and keep track of the read-position. Messages consumed will be explicitly deleted. (only 1 thread extracts messages) Some Messages may be explicitly