This message was deleted.
# community-help
s
This message was deleted.
j
Seems like there's occasional spikes, trying to figure out whats causing it, and best way to mitigate
j
If it's indexing that's causing CPU spikes, you'll see corresponding increases in network traffic and may be pending write batches. If it's search traffic that's causing CPU spikes, you'll see increases in searches per second and/or search latency
If that's your production cluster last 24 hr view, then it's write traffic that's causing the CPU spikes
j
Makes sense! Thank you
Would increasing the number of records/api request help mitigate? Or I believe I read somewhere that typesense internally batches records by 40 records. We currently send ~40 records/api request
j
Yeah, I'd recommend sending say 1k-5K records per import API call
j
Got my answer
Thanks!
👍 1