Skip to content

Instantly share code, notes, and snippets.

@GeneralistDev
Last active May 8, 2021 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GeneralistDev/80a7ae1a5d66283eaf2c89e8f0dfd9a8 to your computer and use it in GitHub Desktop.
Save GeneralistDev/80a7ae1a5d66283eaf2c89e8f0dfd9a8 to your computer and use it in GitHub Desktop.
Algolia vs Postgres Benchmark Results
Test Data Store Batch Size Batches Query Average query time (ms)
Simple Low Postgres 1 10 Simple 54.22070313
Simple Low Algolia 1 10 Simple 6.633463542
Simple Med Postgres 10 10 Simple 856.8292969
Simple Med Algolia 10 10 Simple 11.73763021
Simple High Postgres 10 100 Simple 7101.196888
Simple High Algolia 10 100 Simple 15.05933923
Complex Low Postgres 1 10 Complex 68.72591146
Complex Low Algolia 1 10 Complex 6.804036458
Complex Med Postgres 10 10 Complex 843.3528646
Complex Med Algolia 10 10 Complex 9.813020833
Complex High Postgres 10 100 Complex 8145.769517
Complex High Algolia 10 100 Complex 14.02354022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment