Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance #40

Open
andyl opened this issue Feb 27, 2018 · 0 comments
Open

Performance #40

andyl opened this issue Feb 27, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@andyl
Copy link
Contributor

andyl commented Feb 27, 2018

Currently the systems processes a few writes per second. It need to handle at least tens of thousands of writes per second.

Performance improvement ideas:

  • performance benchmarking of read and write operations
  • benchmark thru CLI and also server-side
  • replace rails with elixir/phoenix and commanded
  • add a turbo-mode which disables event-stream writing (for research)
  • load pre-generated event streams (for research)
  • use async writes
  • LRU cache for data fetching
  • decompose contract/cross & search for optimizations
  • split users/issues/offers/contracts into parallel write streams w/vector clock
  • figure out some sort of sharding strategy
  • look for ways to parallelize write operations with GenServers

Here's a diagram of our architecture...
image

@andyl andyl added the bug Something isn't working label Feb 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant