Programmer Polyglot

Programmer Polyglot

By Kalyanasundaram kTechnology
Download on the App Store

Programmer Polyglot episodes

  • Chat application using Messaging Queues

    Ever wonder how WhatsApp or Slack handles billions of messages without dropping a single syllable? It’s not magic—it’s a sophisticated dance between persistent connections and asynchronous backbones. In this episode, we pull back the curtain on Real-Time Chat Systems.

    We move beyond the basics of WebSockets to explore why a Messaging Queue is the secret sauce for professional-grade communication:

    • The WebSocket Handshake: How we move from standard HTTP to a permanent, bidirectional "open pipe" for instant data flow.

    • Decoupling with Queues: Why your chat service shouldn't talk directly to your database. We explain how Kafka or RabbitMQ acts as a shock absorber, ensuring messages are never lost during traffic spikes.

    • The Presence Problem: How to track "Who’s Online" across a distributed cluster of servers without melting your CPU.

    • Storage Strategies: Comparing the "Heavy Write" world of Cassandra against the "Relational" world of Postgres for storing years of chat history.

    12 min
  • Building a High-Scale Notification Engine

    In this "Build Along" episode, we move from theoretical patterns to practical implementation. We are designing a Real-Time Notification System—the kind of engine that powers apps like Uber, Twitter, or Slack.

    The challenge isn't just sending a message; it's doing it for millions of users simultaneously across different channels without losing data. We architect the system from the ground up:

    • The Ingestion Layer: Handling massive spikes in traffic using message queues like Kafka or RabbitMQ.

    • The Dispatcher: How to manage different delivery providers (Firebase for Push, SendGrid for Email, Twilio for SMS) and handle their varying rate limits.

    • State Management: Tracking whether a notification was "Sent," "Delivered," or "Read" in real-time.

    • User Preferences: Implementing a "Fan-out" pattern that respects user-defined quiet hours and channel preferences.

    4 min
  • Spotify System Design

    In our penultimate episode, we take on the "Final Boss" of system design. How do you serve high-definition video or lossless audio to 200+ million concurrent users across the globe without the dreaded buffering wheel?

    We break down the architectural requirements for a world-class streaming platform:

    • The Content Ingestion Pipeline: How raw files are transcoded into hundreds of different formats and bitrates for every possible device.

    • The Global Edge (Open Connect/CDNs): Why moving the data closer to the user is the only way to beat the speed of light.

    • Data Modeling for Discovery: Designing a DB schema that handles millions of tracks/movies while powering real-time "Continue Watching" and personalized recommendations.

    • Scaling for High Availability: Implementing microservices that can fail independently without taking down the entire player.

    8 min
  • System Design Interview

    The system design interview is less about finding the "perfect" solution and more about how you navigate the ambiguity of scale. In this episode, we break down the tactical framework you need to move from a blank whiteboard to a robust, distributed architecture under pressure.

    We cover the essential strategies for a successful interview:

    • The Step-by-Step Approach: From requirement clarification and back-of-the-envelope estimations to high-level design and deep dives into bottlenecks.

    • Mock Question Breakdown: We walk through classic prompts like "Design a URL Shortener" or "Design a Global Rate Limiter," highlighting the trade-offs that interviewers actually care about.


    6 min
  • Design patterns

    Gemini saidPodcast Episode Details

    Title: Beyond the Code: Architecture, Events, and ReliabilityEpisode: Day 25 — Design Patterns & Best Practices

    In this deep-dive episode, we shift from writing functional code to building resilient, scalable systems. Performance and features matter, but system integrity is what keeps engineers sleeping soundly at night.

    We break down the three pillars of high-level system design:

    • The SOLID Foundation: Why these five principles aren't just for classes, but serve as the blueprint for modular, maintainable microservices.

    • CQRS & Event Sourcing: Moving beyond simple CRUD. We explore why separating your "reads" from your "writes" and treating your data as a stream of immutable events can unlock massive scalability.

    • The Reliability Safety Net: We tackle the "distributed systems' tax"—how to handle failures gracefully using Idempotency and Smart Retries so your system stays consistent even when the network doesn't.

    Whether you're refactoring a monolith or architecting a new distributed system, this episode is your guide to building software that lasts.

    Description

    4 min
  • Designing Social Feeds at Scale

    In this episode, we break down the architecture behind large-scale social media feeds like Twitter and Facebook. Learn how timeline generation works using fan-out strategies, explore caching techniques for low latency, and understand database design choices that handle billions of posts efficiently. This case study ties together core system design concepts into a real-world, production-ready architecture.

    7 min
  • Large-Scale System Design

    What does it take to design systems like Instagram or YouTube that serve millions—or even billions—of users simultaneously?

    In this episode, we step into the world of large-scale system design, where performance, scalability, and reliability are pushed to their limits. We break down how platforms like Instagram and YouTube are architected—from content upload pipelines to feed generation and video delivery at global scale.

    You’ll explore how systems handle massive traffic, including load balancing, horizontal scaling, caching layers, and distributed databases that ensure smooth user experiences even under peak loads.

    9 min
  • Real-Time Systems

    In today’s always-on digital world, milliseconds matter. Whether it’s live streaming, chat applications, or financial transactions—real-time systems power experiences where delays are simply unacceptable.

    In this episode, we break down how modern systems are built to process and deliver data instantly. We start with Streaming Platforms, exploring how technologies like event streams enable continuous data flow instead of batch processing.

    5 min
  • Security in System Design

    In a world where cyber threats are constantly evolving, building a scalable system is not enough—it must also be secure by design.

    In this episode, we break down the foundational pillars of system security, starting with Authentication & Authorization—how systems verify identity and enforce access control at scale. You’ll understand the difference between who you are (authentication) and what you’re allowed to do (authorization), and why both are critical in modern architectures.

    We then dive into HTTPS and SSL/TLS, uncovering how data is encrypted in transit to prevent interception, tampering, and man-in-the-middle attacks. Learn how secure communication protocols form the backbone of trust on the internet.

    Finally, we explore Secure API Design, covering best practices like input validation, rate limiting, token-based authentication (JWT), and protecting against common vulnerabilities such as injection attacks and unauthorized access.

    7 min
  • Fault Tolerance & High Availability

    What happens when your system fails at 2 AM? Do users notice—or does your architecture quietly recover?

    In this episode, we dive deep into the engineering principles behind fault-tolerant and highly available systems—the backbone of modern scalable applications. You’ll explore how top-tier systems are designed not to avoid failure, but to expect and survive it.

    We break down critical resilience patterns including the Circuit Breaker Pattern, which prevents cascading failures by isolating unhealthy services; Retry Mechanisms, which intelligently handle transient errors without overwhelming the system; and Redundancy & Failover, ensuring that backup resources seamlessly take over when primary components go down.

    6 min

About Programmer Polyglot

From the publisher's feed

Programmer Polyglot is your passport to the diverse and dynamic world of programming languages. Whether you're a seasoned developer or just starting out, this podcast is your guide to mastering the languages that power the digital world.