how many concurrent users searching can typesense ...
# community-help
a
how many concurrent users searching can typesense support at 512 mb and 1gb?
j
It would totally depend on the type of queries and the size of the data that’s retrieved with every search
So getting a representative set of queries and doing a benchmark is the best way to get an accurate picture
k
In the next version, we will be introducing some basic caching support that will pretty much greatly increase performance if your dataset does not change too often or you are okay in serving slightly stale results (e..g 60 seconds lag).
💯 2
a
yes, my data doesn’t change that much
i’m just trying to understand how many users it can support — any idea on how to go about the benchmark? @Jason Bosco
j
It uses an OSS load testing framework called k6
k
Another quick option will be to use siege which allows you to load a set of URLs from a text file. So you can generate a set of query URLs and then ask siege to hit it: https://www.linode.com/docs/guides/load-testing-with-siege/
1
j
Also here are some benchmark numbers on different datasets to give you a rough ballpark idea of concurrency: https://github.com/typesense/typesense#benchmarks
👍 1