You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Rishabh Saraswat (Jira)" <ji...@apache.org> on 2026/09/15 17:36:00 UTC

[jira] [Assigned] (CASSANDRA-21571) Guardrail to limit LWT per-partition concurrency

     [ https://issues.apache.org/jira/browse/CASSANDRA-21571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rishabh Saraswat reassigned CASSANDRA-21571:
--------------------------------------------

    Assignee: Rishabh Saraswat

> Guardrail to limit LWT per-partition concurrency
> ------------------------------------------------
>
>                 Key: CASSANDRA-21571
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21571
>             Project: Apache Cassandra
>          Issue Type: Improvement
>            Reporter: Elliott Sims
>            Assignee: Rishabh Saraswat
>            Priority: Normal
>
> I'm actually not sure if this should be a Guardrail exactly, or something else, but:
> Cassandra's threading model combined with LWT behavior means that it's very easy for contention on a single partition to tie up all of the threads on the hosts that own that partition, which causes cascading failures across the cluster and any clients.  It's possible to set up rate-limits at the application level, but that can be challenging in a distributed system.  Especially one that involves multiple applications or products.
> So, it would be very nice to have some way to say "only allow N (or X% of a pool?) threads to contend LWTs on a partition, and reject any further queries" to limit the blast radius to only that partition.
> Even a per-host limit on concurrent LWTs would help a fair amount even if it wouldn't completely isolate the problem partition.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org