Re: Resources on Using Single Vnode in Cassandra

2024-10-09 Thread Long Pan
Thanks a lot, Jordan, Jeff, Abe, guo and Jon! This is really helpful. On Wed, Oct 9, 2024 at 8:59 AM Jon Haddad wrote: > I've worked with a few hundred teams now, including the major ones that > used single token (Apple, Netflix, Spotify), and pretty much all the rest > used some form of vnodes.

Re: Resources on Using Single Vnode in Cassandra

2024-10-09 Thread Jon Haddad
I've worked with a few hundred teams now, including the major ones that used single token (Apple, Netflix, Spotify), and pretty much all the rest used some form of vnodes. Jeff did a good job of summarizing the tradeoffs and I don't have anything to add. I would never, ever, recommend > 4 tokens.

Re: Resources on Using Single Vnode in Cassandra

2024-10-08 Thread Jeff Jirsa
You don’t have to double. You can add 1 node at a time - you just have to move every other token to stay balancedMost people don’t write the tooling to do that, but it’s not that complicatedCalculate the token positions with N nodesCalculate the token positions with N+1 nodes Bootstrap the new mach

Re: Resources on Using Single Vnode in Cassandra

2024-10-08 Thread guo Maxwell
I think cost is a very important point if you are going to use *single** token i*f your cluster will be very large , because every time the cluster is expanded, the nodes need to be doubled.100 -> 200, 200->400 ... This is one of the reasons why we maintain many small clusters. of course its avail

Re: Resources on Using Single Vnode in Cassandra

2024-10-08 Thread Jeff Jirsa
I’ll take a slightly different position - people who never expect to change the cluster shouldn’t care which they’re using, people who want to grow by 10-20% often should probably use vnodes, everyone else can probably figure out how to get by with single token, with the caveat that they’ll prob

Re: Resources on Using Single Vnode in Cassandra

2024-10-08 Thread Abe Ratnofsky
Here’s the best post I’m aware of: https://jolynch.github.io/pdf/cassandra-availability-virtual.pdf > On Oct 7, 2024, at 17:30, Long Pan wrote: > >  > Hi Cassandra Community, > > I’m currently exploring the use of single vnode (single token) per node in > large-scale Cassandra deployments. I

Re: Resources on Using Single Vnode in Cassandra

2024-10-08 Thread Jordan West
Hi Long, This is the best resource on understanding tokens per node and their impact on operations / availability: https://jolynch.github.io/pdf/cassandra-availability-virtual.pdf I am one of those users that used a single token. It does make certain operations simpler but it comes with a cost: c

Resources on Using Single Vnode in Cassandra

2024-10-07 Thread Long Pan
Hi Cassandra Community, I’m currently exploring the use of *single vnode* (single token) per node in large-scale Cassandra deployments. I've come across discussions suggesting that some heavy users like Apple and Netflix have opted for this configuration to simplify operations and achieve more pre