Parottasalna

AI, Backend Engineering & Architecture Guides

  • Learning Notes #54 – Architecture Decision Records

    Category:

    Last few days, i was learning on how to make a accountable decision on deciding technical stuffs. Then i came across ADR. So far i haven’t used or seen used by our team. I think this is a necessary step to be incorporated to make accountable decisions. In this blog i share details on…

  • Learning Notes #53 – The Expiration Time Can Be Unexpectedly Lost While Using Redis SET EX

    Category:

    Redis, a high-performance in-memory key-value store, is widely used for caching, session management, and various other scenarios where fast data retrieval is essential. One of its key features is the ability to set expiration times for keys. However, when using the SET command with the EX option, developers might encounter unexpected behaviors where the…

  • Learning Notes #52 – Hybrid Origin Failover Pattern

    Category:

    Today, i learnt about failover patterns from AWS https://aws.amazon.com/blogs/networking-and-content-delivery/three-advanced-design-patterns-for-high-available-applications-using-amazon-cloudfront/ . In this blog i jot down my understanding on this pattern for future reference, Hybrid origin failover is a strategy that combines two distinct approaches to handle origin failures effectively, balancing speed and resilience. The Need for Origin Failover When an application’s primary origin…

  • POTD #22 – Longest substring with distinct characters | Geeks For Geeks

    Category:

    Problem Statement Geeks For Geeks : https://www.geeksforgeeks.org/problems/longest-distinct-characters-in-string5848/1 Given a string s, find the length of the longest substring with all distinct characters.  My Approach – Sliding Window

  • Learning Notes #51 – Postgres as a Queue using SKIP LOCKED

    Category:

    Yesterday, i came across a blog from inferable.ai https://www.inferable.ai/blog/posts/postgres-skip-locked, which walkthrough about using postgres as a queue. In this blog, i jot down notes on using postgres as a queue for future references. PostgreSQL is a robust relational database that can be used for more than just storing structured data. With the SKIP LOCKED…