1
0
Fork 0

10 Commits (348b49c7570e71dac51ef91d868f0af10a2a1746)

Author SHA1 Message Date
Philip O'Toole 4e7f202306 Fix up unit tests 3 years ago
Philip O'Toole cafbd02f0d Simple named param parser unit test 3 years ago
Philip O'Toole d560356d8d Fix spelling mistakes 4 years ago
Philip O'Toole 6575de779d
Use Protobuf for encoding Raft Log commands
This PR changes Raft Log Entry encoding from JSON to Protobuf. Furthermore, larger Raft commands (which can result from batching SQL statements, or individually long SQL statements) are compressed before encoding.

This primary reason for this change is to reduce IO load since that is one of the largest performance bottlenecks. It will also reduce internode traffic.

Legacy JSON-encoded commands are still handled by this code, so this change is backwards-compatible with previous releases in the v5 series.
4 years ago
Philip O'Toole 1a3d46994d Fix potential panic during request parsing 4 years ago
Philip O'Toole b4867713e4 Better variable name, Query -> SQL 4 years ago
Philip O'Toole 8c2ecb046d Prepare some unit test for mixed params 4 years ago
Philip O'Toole ee9f929735 ABL 4 years ago
Philip O'Toole 69cc93646d More support for empty parsing 4 years ago
Philip O'Toole c9940ca9cf Add Parser for multi-format HTTP requests 4 years ago