How WebSockets cost us $1M on our AWS bill
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
Recall.ai optimized their CPU usage for real-time video processing to cut down their AWS bill by $1M/year. They discovered their main CPU consumption was due to WebSocket's memory copying functions. By switching from WebSockets to shared memory for data transport, they significantly reduced overhead, leading to a 50% reduction in CPU usage.
Table of contents
Our CPU is being spent doing what??An expensive set of sockets...Quest for a cheaper transport!Sharing is caring (about performance)2 Comments
Sort: