Anirudh Atodaria
07/12/2024, 6:02 PM100%
CPU, Disk and memory usage when syncing our data to Typesense.
Without embedding, on an average, document size is about 15-20KB.
We sync in batch of 100 (However, the batch size is kept default, which i think is 40 -- e.g. with each request we send 100 documents).
Metrics in screenshots are for 24hrs (p95).
We've moved to 8GB memory
and 2vCPU
from 4GB memory
and 2vCPU 4hrs burst
.
The question here is, why does it use up a lot of disk space? And even memory?
Usually memory usage sits around 2GB
and disk 9GB
but the usage spikes 2x
when we sync.
Is this because how quickly we sync?
Any advice would be appreciated.
Our data size is continually increasing but the search traffic will probably stay the same, so we'll need to upgrade just for write traffic which doesn't sound too good. 😕
Thank you.Kishore Nallan
07/13/2024, 2:19 AMKishore Nallan
07/13/2024, 3:23 AMKishore Nallan
07/13/2024, 3:24 AMAnirudh Atodaria
07/13/2024, 7:43 PM