This message was deleted.
# community-help
s
This message was deleted.
j
Yeah, I'd recommend upgrading to 0.25.2.rc1, it has a few bug fixes from 0.25.0
✅ 1
l
I also received this warning
how can i tell if it was just searches in my cluster or document indexing that caused this cpu spike?
j
You'd want to correlate that spike with any equivalent spikes in Search latency / searches per second / network traffic to know if it's search or writes
Looking at your metrics, it looks like it was due to a heavy search query
Since it's a one-off spike, I wouldn't recommend a CPU upgrade
l
i've seen the behavior of the week and it seems that these cpu peaks have happened frequently. what size cpu would be ideal for my case?
j
Oh hmm ok yeah I just expanded the time period and I see this too...
But this is max CPU usage, if you set it to p95 it should look much better
In any case, ideally you'd want to have 4vCPUs. But to solve for this particular spiky pattern, you might want to first try adding
search_cutoff_ms: 3000
as a search parameter
l
does this parameter improve the response time for the user?
j
Yeah, in the sense that, if it's a heavy query, it will only tun for 3s instead of spiking CPU for 10s
l
ok. Thanks for your support! Could you upgrade my cluster to this new version, with bug fixes? I looked for a button to upgrade, but I couldn't find it
j
Just wrote these instructions today: https://typesense.helpscoutdocs.com/article/135-how-do-i-update-my-cluster-configuration Let me know if I can clarify anything there
l
Thank you a lot!
I'm reading here, great documentation
🙌 1