1
0
Fork 0

16 Commits (master)

Author SHA1 Message Date
Philip O'Toole a97c803489 Protect against future changes 2 years ago
Philip O'Toole 7be34d23ca Support handling of large numbers
Thanks to 706eb2b3f6
2 years ago
Philip O'Toole fb0d8c5cf0 Remove superfluous comment 2 years ago
Philip O'Toole c219027336 Fix parsing of nil named parameter values 2 years ago
Philip O'Toole cb1b398f76 ABL 2 years ago
Philip O'Toole 221907f8a9 Support nil as paramterized values 2 years ago
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