{"id":23,"date":"2024-11-09T05:59:32","date_gmt":"2024-11-09T05:59:32","guid":{"rendered":"https:\/\/innohub.powerweave.com\/?p=23"},"modified":"2024-12-03T08:43:57","modified_gmt":"2024-12-03T08:43:57","slug":"saving-1-million-on-aws-websocket-bills","status":"publish","type":"post","link":"https:\/\/innohub.powerweave.com\/?p=23","title":{"rendered":"Saving $1 Million on AWS WebSocket Bills"},"content":{"rendered":"\n<p>A blog article based on the YouTube video &#8220;Saving $1 Million on AWS WebSocket Bills&#8221;:<\/p>\n\n\n\n<p><strong>How to Save $1 Million on AWS WebSocket Bills<\/strong> <em>A Case Study<\/em><\/p>\n\n\n\n<p>In this blog post, we will discuss how Recall, a company that records meetings and provides transcripts, video files, and analytics, was able to save $1 million on AWS WebSocket bills by optimizing their infrastructure.<\/p>\n\n\n\n<p><strong>The Problem<\/strong><\/p>\n\n\n\n<p>Recall was spending $1 million per year on AWS due to inefficient Inter-Process Communication (IPC). This was caused by the high CPU usage of their bots, which were using 4 CPU cores to process video data.<\/p>\n\n\n\n<p><strong>The Solution<\/strong><\/p>\n\n\n\n<p>Recall optimized their IPC by using a ring buffer and zero-copy reads. This reduced CPU usage by 50%, saving them over $1 million per year.<\/p>\n\n\n\n<p><strong>The Key to Success<\/strong><\/p>\n\n\n\n<p>The key to Recall&#8217;s success was identifying and addressing the root cause of their high AWS costs. They focused on optimizing their IPC, which was the most expensive part of their infrastructure.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Saving $1 Million on AWS WebSocket Bills\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/dNr5cPXMHmI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><strong>Blog Post Link on which the video is based on<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/www.recall.ai\/post\/how-websockets-cost-us-1m-on-our-aws-bill\">https:\/\/www.recall.ai\/post\/how-websockets-cost-us-1m-on-our-aws-bill<\/a><\/p>\n\n\n\n<p><strong>Conclusion<\/strong><\/p>\n\n\n\n<p>Recall&#8217;s experience shows that it is possible to significantly reduce AWS costs by optimizing your infrastructure. By identifying and addressing the root cause of your high costs, you can save a significant amount of money.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recall&#8217;s experience shows that it is possible to significantly reduce AWS costs by optimizing your infrastructure. By identifying and addressing the root cause of your high costs, you can save a significant amount of money.<\/p>\n","protected":false},"author":4,"featured_media":95,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,34],"tags":[4,8,6,7,5],"class_list":["post-23","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aws","category-cloud-computing","tag-aws","tag-cost-savings","tag-ipc","tag-optimization","tag-websocket"],"jetpack_featured_media_url":"https:\/\/innohub.powerweave.com\/wp-content\/uploads\/2024\/11\/sddefault6.jpg","_links":{"self":[{"href":"https:\/\/innohub.powerweave.com\/index.php?rest_route=\/wp\/v2\/posts\/23","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innohub.powerweave.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/innohub.powerweave.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/innohub.powerweave.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/innohub.powerweave.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=23"}],"version-history":[{"count":3,"href":"https:\/\/innohub.powerweave.com\/index.php?rest_route=\/wp\/v2\/posts\/23\/revisions"}],"predecessor-version":[{"id":97,"href":"https:\/\/innohub.powerweave.com\/index.php?rest_route=\/wp\/v2\/posts\/23\/revisions\/97"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/innohub.powerweave.com\/index.php?rest_route=\/wp\/v2\/media\/95"}],"wp:attachment":[{"href":"https:\/\/innohub.powerweave.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/innohub.powerweave.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/innohub.powerweave.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}