Skip to main content

Benchmarks

This page contains performance benchmarks for raccoon.

Table of Contents

WebSocket

Setup

Raccoon benchmarking was done using a client which creates multiple parallel connections to Raccoon in one go and then sends batches of events every 10 seconds. This whole setup was deployed on a Kubernetes cluster running on GCP with one or multiple raccoon pods.

Result

Following are the benchmarking results for various versions

Raccoon versionDurationNo. of ConnectionsNo. of Raccoon PodsNo. of events/10sServer Processing Latency(P95)Server Processing Latency(Upper)Workers Latency (mean p95)Workers Latency (max upper)Memory Used per podCPU Cores Used per pod
v0.1.01 hour1000011500000~ 6 - 22 ms~ 3 - 913 ms~ 1.7 - 7 ms~ 2 - 140 ms~ 711 - 870 MB~ 2.2
v0.1.01 hour50000325000~ 20 - 30 ms~ 3 s~ 35 - 50 ms~ 35 - 45 ms~ 1.0- 1.5 GB~ 0.3 - 0.6
v0.1.01 hour500003100000~ 3 - 5 ms~ 2.5 s~ 20- 30 ms~ 20 - 30 ms400 - 500 MB~ 0.7
v0.1.01 hour1000005100000~ 3 - 9 ms~ 2.5 s~ 20- 30 ms~ 20 - 30 ms~ 1.7 - 2GB~ 1
v0.1.230 min1000011500000~ 1 - 7.13k ms~ 1 - 7.13k ms~ 0.8 - 9.25 ms~ 2 - 224 ms~ 960MB -1.2GB~ ~ 2.57