Hi, I am using Typesense Cloud for my application ...
# community-help
z
Hi, I am using Typesense Cloud for my application and has been working well for the past 3 years. However, just today I am facing an issue where the RAM and CPU spikes all of a sudden since Sep 5th 24 8:30PM (+8GMT) and I haven't been able to figure out the issue. I am not sure if it's an intentional attack from malicious user or just a system error causing this to happen. Is there anyway I can slow down the RAM and CPU usage at the moment while I figure out the issue? Or is there any advice on where to look for the root cause? Thanks!
j
Could you DM me your cluster ID?
Is there anyway I can slow down the RAM and CPU usage at the moment while I figure out the issue?
That would make your cluster even more unstable, if it doesn't have enough CPU
If your cluster ID starts with
xe
the issue was because it ran out of burst CPU capacity.
We just upgraded you to a non-burst type and it seems to have recovered
🙌 1
z
Yes my cluster starts with
xe
. Isee, yes I saw that it seems to have recovered as well.
May I know the difference between burst and non-burst? Also, the spike seems to happen all of a sudden, and don't recover until I tried to increase the RAM. It then recovered for a brief moment before the spike occurs again, until you help to upgrade to a non-burst type CPU. I am just worried that this may be caused by some malicious user calling the URL at a very high rate. Would that be the case?
Btw, thanks so much for your prompt response and help!
👍 1
j
The last section here describes how burst CPUs work.
I am just worried that this may be caused by some malicious user calling the URL at a very high rate. Would that be the case?
I would recommend adding these safeguards to prevent this: https://typesense.org/docs/guide/data-access-control.html#scraping-protection
👍 3