I was wondering if it was nice (in terms of performance) to have multiple counters in the same table / columnfamily in Cassandra? My current setup is this:
CREATE TABLE IF NOT EXISTS contentCounters ( downvotes counter, comments counter, upvotes counter, contentid uuid, PRIMARY KEY (contentid) );
But I'm not sure if itβs good in terms of performance to have multiple counters in the same table. I used to have 3 tables with counters (tracking upvote, downvote and comment counts), but I would like to combine them all with the above hierarchy to allow quick queries of this table to get these values ββ(since this is my use case).
Any recommendations would be greatly appreciated.
Many thanks,
cassandra
kha
source share