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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to