Catalogue
/
Microservices
/
NATS for High Performance Microservice Messaging

NATS for High Performance Microservice Messaging

A beginner friendly course on building fast, simple messaging with NATS. Participants learn subjects, publish or subscribe, request or reply, queue groups, and when to use JetStream for durability and at least once delivery.

What will you learn?

You will understand NATS core concepts, connect clients reliably, pick the right messaging pattern, and make safe choices for performance and durability. You will also learn lightweight security, basic observability, and a small set of operational practices. After this training you will be confident in:

  • Explaining subjects, subscriptions, wildcards, and how routing works
  • Using pub or sub, request or reply, and queue groups for work distribution
  • Choosing between core NATS and JetStream for durability and replay
  • Applying client options for timeouts, reconnect, and backpressure
  • Reading basic metrics and fixing common connectivity issues

Requirements:

  • Comfortable with a programming language and the command line
  • Basic understanding of microservices and HTTP
  • Access to a non production environment is helpful

Course Outline*:

*We know each team has their own needs and specifications. That is why we can modify the training outline per need.

Module 1: NATS essentials

  • The NATS model compared to traditional brokers
  • Subjects, tokens, wildcards, and subscription matching
  • Clients, connections, and the nats CLI for quick checks

Module 2: Pub or sub and request or reply

  • Publish or subscribe flow and fan out behavior
  • Request or reply for service style interactions and timeouts
  • When to use queue groups to spread work across workers

Module 3: Designing subjects and contracts

  • Subject naming guidelines for domains and resources
  • Message shape, headers, and idempotency basics
  • Versioning strategies that keep producers and consumers stable

Module 4: Reliability and flow control without JetStream

  • Reconnect and retry options and sensible timeouts
  • Backpressure with queue groups and max in flight on the client
  • Ordering expectations and small payload best practices

Module 5: JetStream basics for durability

  • Streams, subjects, and retention options
  • Consumers, ack policies, and delivery semantics
  • Simple replay and at least once processing patterns

Module 6: Security and multi tenancy

  • Authentication options including user or pass and nkey
  • Accounts, imports, exports, and scoped access to subjects
  • TLS basics and secret handling in a team environment

Module 7: Observability and troubleshooting

  • Useful metrics such as pending, delivered, and consumer lag
  • CLI tools for listing streams, consumers, and connections
  • Common issues such as subject mismatches and permission errors

Module 8: Operating for performance

  • Clustering at a glance and when to scale out
  • Connection pooling and resource limits on clients
  • A lightweight change and rollout checklist

Hands-on learning with expert instructors at your location for organizations.

4.122€*
Graph Icon - Education X Webflow Template
Level:
advanced
Clock Icon - Education X Webflow Template
Duration:
14
Hours (days:
2
)
Camera Icon - Education X Webflow Template
Training customized to your needs
Star Icon - Education X Webflow Template
Immersive hands-on experience in a dedicated setting
*Price can range depending on number of participants, change of outline, location etc.

Master new skills guided by experienced instructors from anywhere.

3.087€*
Graph Icon - Education X Webflow Template
Level:
advanced
Clock Icon - Education X Webflow Template
Duration:
14
Hours (days:
2
)
Camera Icon - Education X Webflow Template
Training customized to your needs
Star Icon - Education X Webflow Template
Reduced training costs
*Price can range depending on number of participants, change of outline, location etc.