Posts

notes25Oct25

1. SYSTEM DESIGN KNOWLEDGE  2. OBSERVABILITY  3. HEALTH CHECK S 4. SMOKE TESTS 5. 85+% CODE COVERAGE  9. LOGGING  10. ALERTS / NOTIFICATIONS  12. CODE REVIEW S , 24 HOURS  13. SECURITY  - THREAT MODEL  - CAREFUL AND SHARING APP DATA ON VARIOUS PLATFORMS  14. KNOWLEDGE MANAGEMENT  - REVIEW ARCHITECTURE  - REVIEW NW DIAGRAM  - REVIEW CONTEXT DIAGRAM  - C4 DIAGRAMS  - REVIEW, UPDATE AMD CLEAN UP DOCS -WAR 15. TESTING  - UNIT TESTS - COMPONENT TEST  - INTEGRATION TEST - E2E TEST - REGRESSION TEST - MOCK/FAKE TEST DATA 16. DATABASE  -  17. CODE MANAGEMENT  -  18. RELEASE MANAGEMENT  - CRQ - APPROVAL S - POST RELEASE, WHITE GLOVES TESTING 

more System Design

Here's a deep dive into each of the 16 system design concepts, explained clearly with real-life analogies to help you master them 💡: --- 🧠 1. Consistent Hashing Concept: Distributes data across nodes in a way that minimizes reorganization when nodes are added or removed. Real-life analogy: Imagine a pizza delivery service that assigns orders based on customer addresses. If a new delivery person joins, consistent hashing ensures only a few addresses need to be reassigned, not all. --- 🧩 2. Sharding Concept: Splits a database into smaller, faster, more manageable parts called shards. Real-life analogy: Think of a library with books sorted by genre. Instead of one massive shelf, each genre has its own section (shard), making it easier to find books. --- ⚖️ 3. CAP Theorem Concept: In distributed systems, you can only guarantee two of the following three: Consistency, Availability, Partition Tolerance. Real-life analogy: A group chat during a storm (network partition). You can either...

my React JS Notes - Hooks

In ReactJS, useState, useEffect, useRef, and similar functions are called Hooks. They are special functions that let you "hook into" React features, like state management and lifecycle methods, from functional components. Introduced in React 16.8, Hooks allow you to use state, side effects, and other React features without writing class components. Other built-in Hooks include useContext, useReducer, useCallback, useMemo,