Commit Graph

24 Commits

Author SHA1 Message Date
Philip O'Toole
80517cf1a1 Switch go mod from v8 to v9 (#2329) 2025-09-15 10:54:22 -04:00
Philip O'Toole
9e7b3370f5 Replace interface{} with any (#2077) 2025-04-28 08:12:18 -04:00
Philip O'Toole
aad4e90dfb Improve request parsing error messages 2024-09-24 09:02:34 -04:00
Philip O'Toole
5ff31b9f9d Request parsing supports byte arrays 2024-09-24 08:55:54 -04:00
Philip O'Toole
a46621dd07 Request Parser takes an io.Reader 2024-05-28 22:52:18 -04:00
Philip O'Toole
67e559e0d9 Use streaming JSON decode during Request parsing 2024-05-28 22:33:25 -04:00
Philip O'Toole
5c5b226303 Working 2024-01-02 20:04:16 -05:00
Philip O'Toole
ad916270d2 Bring go mod import path into compliance 2023-12-21 11:22:36 -05:00
Philip O'Toole
95a689b3cf Some improvements thanks to ChatGPT 4 2023-03-29 20:48:02 -04:00
Philip O'Toole
8f17d125ec Update request_parser.go 2023-03-29 14:36:34 -04:00
Philip O'Toole
4ddb59cf3a Update request_parser.go 2023-03-29 14:29:24 -04:00
Philip O'Toole
25d0d39ed1 Fix bug spotted by ChatGPT 4.0! 2023-03-29 14:19:37 -04:00
Philip O'Toole
7be34d23ca Support handling of large numbers
Thanks to 706eb2b3f6
2023-03-17 14:49:32 -04:00
Philip O'Toole
c219027336 Fix parsing of nil named parameter values 2023-03-17 09:51:27 -04:00
Philip O'Toole
221907f8a9 Support nil as paramterized values 2022-10-13 15:51:27 -04:00
chermehdi
3bfcbffc37 Fix typos and Grammar issues 2022-01-04 22:50:49 +00:00
Philip O'Toole
cfe938412f Better error codes 2021-12-31 15:02:13 -05:00
Philip O'Toole
7fc50b7b67 Add "name" support to command parameter 2021-12-24 14:43:58 -05:00
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.
2020-12-23 15:32:26 -05:00
Philip O'Toole
1a3d46994d Fix potential panic during request parsing 2020-12-13 16:59:19 -05:00
Philip O'Toole
b4867713e4 Better variable name, Query -> SQL 2020-12-13 10:43:34 -05:00
Philip O'Toole
f961bb4e44 Fix typos and comments 2020-09-27 09:35:40 -04:00
Philip O'Toole
69cc93646d More support for empty parsing 2020-09-26 21:20:10 -04:00
Philip O'Toole
c9940ca9cf Add Parser for multi-format HTTP requests 2020-09-26 21:15:49 -04:00