You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Francisco Guerrero (Jira)" <ji...@apache.org> on 2025/11/03 21:53:00 UTC
[jira] [Created] (CASSSIDECAR-361) Fast Cassandra Input Validator
Francisco Guerrero created CASSSIDECAR-361:
----------------------------------------------
Summary: Fast Cassandra Input Validator
Key: CASSSIDECAR-361
URL: https://issues.apache.org/jira/browse/CASSSIDECAR-361
Project: Sidecar for Apache Cassandra
Issue Type: Improvement
Components: Performance, Rest API
Reporter: Francisco Guerrero
Assignee: Francisco Guerrero
I'm proposing a new implementation of the Cassandra input validator. Our current implementation is based on regular expressions. In the proposed implementation it optimizes by not using any regular expression.
A JMH benchmark shows a 15X speedup in the throughput in the optimized implementation. This is important because these validations sit at the beginning of every request, and when Sidecar is handling thousands of requests per second on a single instance, any improvement is significant.
--
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