1
0
Fork 0

21 Commits (master)

Author SHA1 Message Date
Philip O'Toole 5c5b226303 Working 9 months ago
Philip O'Toole 9236207666 Remove use of deprecated library call 9 months ago
Philip O'Toole f697eb1aec Increase compression-check thresholds
I reckon they are too low, and the snapshots will be compressed when
transmitted between nodes.
1 year ago
Philip O'Toole 1c6f691ff8 Integrate chunking - WIP
I need more sophisticated dechunker management.
1 year ago
Philip O'Toole c23d3e60b1 Reuse existing consistency level 1 year ago
Philip O'Toole 7ee6036476 /db/request compiles and all existing tests pass 1 year ago
Philip O'Toole 95a689b3cf Some improvements thanks to ChatGPT 4 1 year ago
Philip O'Toole ce4cc52823 Simpler LoadRequest marshaling 2 years ago
Philip O'Toole 0aabfbff6a Use compression for LoadRequest marshalling 2 years ago
Philip O'Toole 304124952c Add Store level changes
Needs unit testing, and HTTP testing won't compile.
2 years ago
Philip O'Toole ca7e6e98ff Stop using deprecated protobuf package 3 years ago
Philip O'Toole 4eeddf455d Actually return error values 3 years ago
Philip O'Toole f939d33fe5 Remove Metadata concept from system
System testing passes.
3 years ago
Philip O'Toole 6e9c07b1bb Simpler creation of GZIP writer 3 years ago
Philip O'Toole 5d9e55f312 Better error messages during gzip 3 years ago
Philip O'Toole 1df8728130 Create GZIP writer for every compress request
The GZIP writer was being shared -- incorrectly -- by multiple HTTP
requests (both queries and executes). But it's not thread safe. Bad,
bad, bad.

https://github.com/rqlite/rqlite/issues/781
3 years ago
Philip O'Toole 7c885d52b9 Better error messages during unmarshal 3 years ago
Philip O'Toole eaba1d2316
ABL 4 years ago
Philip O'Toole 824dab5536 Doesn't work because Store can't be re-opened
Due to network issues.
4 years ago
Philip O'Toole a5cd120296 ABL 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