-
Peer Discovery
Service Discovery Services(A,B,..) can discover each other through service registry servers How does service registry server know each other? 2. Using DNS (TXT record) Gossip Protocol Peer discovery can be accomplished through gossip protocol, which is actually being used from Apache Cassandra. How does Gossip Protocol works on Apache Cassandra? How do they know the Read more
-
Longest Substring Without Repeating Characters
Problem https://leetcode.com/explore/interview/card/leetcodes-interview-crash-course-data-structures-and-algorithms/705/hashing/4690/ Solution Read more
-
Minimum Consecutive Cards to Pick Up
Problem https://leetcode.com/problems/minimum-consecutive-cards-to-pick-up/description/ Solution Read more
-
Service Discovery
For services to discover other services, they need to know others’ IPs and Ports, which can be done through service discovery on either client side or server side. Client Side Server Side Reference Read more
-
Count Number of Nice Subarrays
Problem https://leetcode.com/problems/count-number-of-nice-subarrays/description/ Solution Read more
-
Message push vs pull model
Push model is a model that broker pushes the message to the consumer, while pull model is a model that consumer pulls the message from the broker whenever consumer wants. Pros and Cons Push model Pull model Reference Read more
- AI (1)
- Algorithm (96)
- Ideas (26)
- Problems (79)
- Backtracking (12)
- Dynamic Programming (14)
- Greedy (1)
- Queue & Stack (14)
- BFS & DFS (9)
- Recursion (6)
- _Others (33)
- Blockchain (5)
- Database (1)
- DevOps (1)
- Java (40)
- Linux (1)
- Network (1)
- Operating System (2)
- Programming (1)
- Spring (9)
- System Design (24)
- Uncategorized (1)
- Web (2)
Availability (2) Binary Search Tree (2) Consistency (2) Design Doc (1) DFS (3) Durability (2) Dynamic Programming (4) Graph (7) HashMap (3) Linked List (3) List (2) Monotonic (3) MSA (2) Performance (2) Prefix Sum (4) Rate Limiter (3) Replication (2) Scalability (3) Sliding Window (8) System Design (22) Thread (2) Trie (3) Two Pointers (3) Union-Find (6) WebSocket (2) ⭐️ (6) ⭐️⭐️ (4) ⭐️⭐️⭐️ (11) ⭐️⭐️⭐️⭐️ (24) ⭐️⭐️⭐️⭐️⭐️ (41)
