Blog

Articles about NATS, real-time messaging, and building with Spy NATS.

  • When NOT to Reach for NATS: A Simple Image-Sharing Feature

    6 min read

    A worked non-use-case: sharing a newly uploaded photo between two browser tabs is better solved with a plain Node.js upload endpoint and Server-Sent Events than by adding NATS as a message broker.

    • nats
    • anti-pattern
    • sse
    • architecture
    • tutorial
  • Secure Document Workflow Audit Trails with NATS KV and Object Store

    4 min read

    A legal/government use case: routing a document through a multi-step approval workflow, storing the document bytes in the Object Store and the current workflow state (with full history) in a KV bucket for compliance audits.

    • nats
    • legal
    • government
    • key-value-store
    • object-store
    • tutorial
  • Restaurant Kitchen Order Routing with NATS Queue Groups

    4 min read

    A hospitality use case: routing incoming orders to the right kitchen station (grill, salad, dessert) using subject-based routing combined with queue groups so each station's cooks share the load evenly.

    • nats
    • hospitality
    • queue-groups
    • routing
    • tutorial
  • Connected Vehicle Telemetry and Remote Commands with NATS

    4 min read

    An automotive use case combining core pub/sub telemetry streaming from a connected car with request/reply for remote commands (like remote-lock) that need a guaranteed acknowledgement.

    • nats
    • automotive
    • iot
    • request-reply
    • tutorial
  • Live In-Store Inventory Dashboards over NATS WebSocket

    5 min read

    A retail use case: pushing point-of-sale inventory-decrement events straight into a manager's browser dashboard over NATS WebSocket, with no polling and no backend relay service in between.

    • nats
    • retail
    • websocket
    • browser
    • tutorial
  • Orchestrating a Flight Booking Saga with JetStream

    4 min read

    A travel/airline use case: coordinating seat-hold, payment, and ticket-issuance as a multi-step saga over JetStream, with compensating events when a step fails partway through.

    • nats
    • jetstream
    • travel
    • saga
    • tutorial
  • Live Classroom Q&A and Presence with NATS

    4 min read

    An education use case: a virtual classroom chat/Q&A subject per session, plus a lightweight presence pattern (who's currently online) built from core pub/sub and a KV heartbeat bucket.

    • nats
    • education
    • chat
    • presence
    • tutorial
  • Observing a Smart Grid with NATS Monitoring and Prometheus

    4 min read

    An energy/utilities use case: monitoring a NATS deployment carrying smart-meter telemetry using the built-in HTTP monitoring endpoints, the Prometheus exporter, and nats-surveyor, so operators trust the messaging layer itself is healthy.

    • nats
    • energy
    • monitoring
    • observability
    • prometheus
    • tutorial
  • Building a Claims Processing Microservice with NATS Micro

    5 min read

    An insurance use case: structuring a claims-intake service as a discoverable, monitorable microservice using the NATS Micro framework, instead of hand-rolled request/reply subjects with no built-in discovery.

    • nats
    • insurance
    • micro-services
    • request-reply
    • tutorial
  • Traceable Production Audit Trails with JetStream Sourcing

    4 min read

    A manufacturing use case: every production-line event captured immutably in JetStream for compliance audits, plus stream sourcing/mirroring to combine multiple lines into one traceability view without republishing anything.

    • nats
    • jetstream
    • manufacturing
    • compliance
    • tutorial
  • Multi-Region Telecom Messaging with NATS Clusters and Leaf Nodes

    5 min read

    A telecom use case: a NATS cluster per region for local resiliency, bridged together with leaf nodes so a subscriber in one region can still see events published in another, without a single global point of failure.

    • nats
    • telecom
    • clustering
    • leaf-nodes
    • tutorial
  • Monitoring Thousands of Farm Sensors with Subject Wildcards

    4 min read

    An agriculture use case for NATS: soil-moisture and weather sensors across many farms and fields, using subject hierarchy and wildcards to slice the data any way an agronomist needs.

    • nats
    • agriculture
    • iot
    • wildcards
    • tutorial

SpyNATS is an independent tool and is not affiliated with, sponsored by, or endorsed by Synadia Communications or the NATS.io project.