electric icon indicating copy to clipboard operation
electric copied to clipboard

Initial load testing

Open balegas opened this issue 1 year ago • 1 comments

Create a testing suite for load-testing the HTTP API. Do initial load testing to find bottlenecks in the system.

balegas avatar Jul 12 '24 11:07 balegas

In the Hammer time doc https://electric-sql.slab.com/posts/hammer-time-h8utin6y we have goals to test and demonstrate very low ongoing resource usage and how this is affected by:

  • number of shapes
  • write workload
  • concurrent clients
  • read workload (initial sync vs live)
  • size of shapes

With the goal of two headline proof cases as per https://electric-sql.slab.com/posts/a-million-concurrent-users-on-a-single-commodity-postgres-sagtwiv7#h622g-new-simplified-electric:

  • 1 million concurrent clients
  • survives chaos

With this alpha, I would really like to see graphs of these in a benchmarking.md (or a benchmarking.livebook or whatever). And a summary of these graphs in the main readme. The LinearLite example is a useful "look, you can use it" check but what is different and interesting here is the performance and resilience of this simpler re-build.

thruflo avatar Jul 15 '24 07:07 thruflo