{"@attributes":{"version":"2.0"},"channel":{"title":"alter123.dev","link":"https:\/\/alter123.dev\/","description":"Recent content on alter123.dev","generator":"Hugo -- gohugo.io","language":"en-us","lastBuildDate":"Tue, 30 Jan 2024 00:00:00 +0000","item":[{"title":"Saving >70% on cloud costs by maintaining reliability","link":"https:\/\/alter123.dev\/saving-70-on-cloud-costs-by-maintaining-reliability\/","pubDate":"Tue, 30 Jan 2024 00:00:00 +0000","guid":"https:\/\/alter123.dev\/saving-70-on-cloud-costs-by-maintaining-reliability\/","description":"In continuation of my previous post on CTO &lt;&gt; SRE series (thanks to all of you it received much more appreciated than I had anticipated). In this post, we&rsquo;re going to discuss a real-life scenario that is further going to reduce the costs significantly.\nYour startup is going through a hyper-growth phase. And you&rsquo;re forced to reduce the cloud costs. Most of the common strategies don&rsquo;t seem to help.\nYou came up with a wise insight and managed to reduce the cloud infra costs by more than 70% while maintaining the same reliability and improved overall performance."},{"title":"Most databases scale much more than we think.","link":"https:\/\/alter123.dev\/most-databases-scale-much-more-than-we-think\/","pubDate":"Sat, 30 Dec 2023 00:00:00 +0000","guid":"https:\/\/alter123.dev\/most-databases-scale-much-more-than-we-think\/","description":"One should know the integrities not just to scale things, but to take full advantage of utilizing existing resources. And necessarily avoid hopping into the dilemma of choosing the best database or scaling strategy.\nI&rsquo;ll bifurcate the post based on pre and post-development strategies.\nPre-development: Fetch only the required data, and if the data is still large -&gt; paginate (this will lay the foundation for schema design) Different queries on the same view should avoid searching the same data multiple times (multiple queries on the same table should be avoided) It&rsquo;s not necessary to fetch all the data for the view in a single query -&gt; breakdown into components Essentially, the UI and DB view can be different"},{"title":"Saving >60% cost on VMs while maintaining reliability","link":"https:\/\/alter123.dev\/saving-60-cost-on-vms-while-maintaining-reliability\/","pubDate":"Sat, 30 Dec 2023 00:00:00 +0000","guid":"https:\/\/alter123.dev\/saving-60-cost-on-vms-while-maintaining-reliability\/","description":"Inspired by Chinmay Naik&rsquo;s CTO &lt;&gt; SRE series, I would also like to share a real-life scenario.\nYou&rsquo;re an SRE responsible for managing a fleet of event ingestion HTTP VM nodes. The CTO wants you to drastically reduce the costs for this infra without compromising the reliability.\nYou come up with a solution that looks ridiculous at first but makes total sense.\nContext You&rsquo;re managing a service that ingests event that requires 50+ resource-intensive VMs and can handle 100s of thousands of events per second."},{"title":"Django Orm Queries Tutorial","link":"https:\/\/alter123.dev\/django-orm-queries-tutorial\/","pubDate":"Mon, 10 Dec 2018 18:34:56 +0530","guid":"https:\/\/alter123.dev\/django-orm-queries-tutorial\/","description":"Since Django makes it easier to develop nicely designed web applications easily, by understanding certain methodologies we can make our project development simple and easier.\nIn this tutorial, I&rsquo;ll explain how to write efficient django queries and to optimise our codebase in django way!\nExamples are defined on the basis of follwing models (I&rsquo;ve omitted certain fields and parameters to keep the tutorial short and precise):\nclass Product(models.Model): name = models."}]}}