ryscheng / sql-proxy-rs

Programmable MariaDB/Postgres Proxy for Rust
Apache License 2.0
17 stars 11 forks source link

Tendermint application for replicating writes #2

Open ryscheng opened 4 years ago

ryscheng commented 4 years ago

A simple demonstration (in examples/) of replicating SQL writes over a Tendermint cluster.

  1. A filter for identifying write operations (e.g. INSERT, UPDATE etc)
  2. A driver to publish these commands onto a Tendermint network, blocking until it commits
  3. Listeners on the Tendermint application for write operations, applying it to all replicas.
  4. Unblock/resume the client thread that made the original write.
  5. Integration test scripts for spawning a SQL workload, SQL proxy, and Tendermint network
ryscheng commented 4 years ago

Close! Current status is we need a way to return responses to the client after the write operations have successfully committed to the blockchain