WebSockets in Go: Building Real-Time Bidirectional Communication

    Backend Communication Current: WebSockets Server-Sent Events All Posts gRPC Streaming What are WebSockets? WebSockets provide full-duplex, bidirectional communication channels over a single TCP connection. Unlike HTTP’s request-response model, WebSockets enable both client and server to send messages independently at any time, making them ideal for real-time applications. ...

    January 29, 2025 · 18 min · Rafiul Alam

    Building a Real-Time Note Sharing App: WebSocket + Go + Vue.js (Simplified)

    If you’re new to real-time web applications and want to understand the fundamentals before diving into event-driven microservices, this tutorial is for you. We’ll build a simple but fully functional note-sharing app using WebSockets, Go, and Vue.js-perfect for learning the basics. Why Start Simple? Before jumping into NATS, Kafka, or complex event-driven architectures, it’s crucial to understand: How WebSocket connections work Real-time bi-directional communication Broadcasting messages to multiple clients State management in real-time apps This tutorial gives you that foundation with minimal dependencies and straightforward code. ...

    January 28, 2025 · 18 min · Rafiul Alam