1
0
Fork 0

56 Commits (bb3fdf9847f021514cd36add4e74276a3953d840)

Author SHA1 Message Date
Philip O'Toole cdcefd53bd Update dependencies 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 b3daa73ca4 Update Go mod dependencies
In particular upgrade to Hashicorp Raft v1.2.0.
4 years ago
Philip O'Toole 83f5dedd08 Upgrade golang.org/x/crypto 4 years ago
Philip O'Toole 244bc9da3c Upgrade SQLite layer 4 years ago
Philip O'Toole ca7e043c17 go mod 5 years ago