• 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