Hello, I run a benchmark 10 concurrent reqs/s, tot...
# community-help
b
Hello, I run a benchmark 10 concurrent reqs/s, total reqs 500 and the RAM of the server never shrinks. Every test adds up ~ 150mb and after 4 tests, the ram has stuck at 680 mb. Any idea?
j
Are these requests writes or searches?
b
searches
● typesense-server.service - Typesense Server Loaded: loaded (/etc/systemd/system/typesense-server.service; enabled; vendor> Active: active (running) since Tue 2022-05-24 114523 UTC; 43min ago Docs: https://typesense.org Main PID: 655 (typesense-serve) Tasks: 61 (limit: 1131) Memory: 691.6M CGroup: /system.slice/typesense-server.service └─655 /usr/bin/typesense-server --config=/etc/typesense/typesense-ser>
j
This sounds very strange… May I know what version of Typesense this is on? Also, could you try this on 0.23.0.rc69?
b
how can I check the version?
I use version 0.23.0.rc6
Kishore had created a deb package for me
j
It's possible that has a memory leak.
b
should I install the v.0.23.0.rc69
1
?
is it available as deb package?
j
In the link you have, if you change all the version numbers to rc69, you can get the deb for that
Once you install this deb package, you want to make sure you restart the Typesense process
b
Ok
Ok I upgraded the node
I'll perform the load test
@Jason Bosco Is this version faster than the previous?
I perform 50 concurrent reqs/s in 1 GB RAM - 1 CPU and the latency is 300 ms on average
j
Yeah we've improved search performance in this version
👍 1
I'm surprised it works in 1 vCPU. In the past I've seen things stall with 1vcpu. You'd need at least 2 vCPU.
b
That's perfect! I tested even with 120 concurrent requests on 1 GB RAM - 1 vCPU Shared droplet and the latency is ~ 500ms
The ram consumption is 30-32mb now with 120 conc reqs per sec
👍 1