-
Learning Notes #52 – Hybrid Origin Failover Pattern
Category: UncategorizedToday, 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: UncategorizedProblem 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: UncategorizedYesterday, 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…
-
Learning Notes #50 – Fixed Partition Pattern | Distributed Pattern
Category: UncategorizedToday, i learnt about fixed partition, where it handles about balancing the data among servers without high movement of data. In this blog, i jot down notes on how fixed partition helps in solving the problem. This entire blog is inspired from https://www.linkedin.com/pulse/distributed-systems-design-pattern-fixed-partitions-retail-kumar-v-c34pc/?trackingId=DMovSwEZSfCzKZEKa7yJrg%3D%3D Problem Statement In a distributed key-value store system, data items need…
-
Learning Notes #49 – Pitfall of Implicit Default Values in APIs
Category: UncategorizedToday, we faced a bug in our workflow due to implicit default value in an 3rd party api. In this blog i will be sharing my experience for future reference. Understanding the Problem Consider an API where some fields are optional, and a default value is used when those fields are not provided by…