Fueling innovative software
July 15-18, 2019
Portland, OR

Simple, Secure & Reliable: Building Cloud Native Applications with NATS

Waldemar Quevedo (Synadia Communications, Inc)
5:05pm5:45pm Wednesday, July 17, 2019
Secondary topics:  Cloud Native

Who is this presentation for?

Developers, Architects, Service Operators

Level

Beginner

Prerequisite knowledge

A laptop with latest Go, docker, minikube and kubectl is required. Previous knowledge on developing in Go is also suggested.

What you'll learn

- Understand about the benefits gained by using the lightweight messaging features from NATS in comparison to http, gRPC, or complex service mesh approaches. - Learn latest best practices of using NATS in production.

Description

NATS is a mature, high performance Publish/Subscribe messaging system that is part of the Cloud Native Computing Foundation (CNCF). NATS has a goal of connecting services in the simplest, most secure and reliable way possible. Cloud native applications built using NATS inherit much of that simplicity and become easier to operate, benefiting as well from the performance and resiliency characteristics from the server.

In this workshop, attendees will be walk through how to build an application using NATS as well as how to set up, deploy and operate a NATS cluster on top of Kubernetes.

Outline of topics to be covered in the workshop:

- Core NATS Features

  • Publish
  • Subscribe
  • Load Balanced Queue Subscribers
  • Request/Response
  • Handing connection events

- High Availability

  • NATS cluster setup and client application failover
  • Graceful NATS server shutdown and NATS server configuration reload
  • Graceful client shutdown with NATS Drain mode.

- Security

  • Securing a NATS cluster with TLS
  • Securing streams and services with permissions
  • Accounts isolation and NKEYS (ed25519 based)
  • Decentralized permissions via JWTs

- NATS on Kubernetes

  • Using the NATS operator to quickly setup a secure cluster
  • Setup Prometheus monitoring to monitor NATS and NATS applications

- Global NATS

  • NATS gateways and superclusters
  • Deploying a NATS super cluster on top of Kubernetes

- Troubleshooting NATS

  • Handling Slow consumers
  • NATS Application debugging basics
  • Remotely introspecting message streams and services
Photo of Waldemar Quevedo

Waldemar Quevedo

Synadia Communications, Inc

Waldemar, aka Wally, is a core maintainer of NATS and the author of “Practical NATS”. Before joining Synadia, he worked on a container orchestration system that used NATS for its control plane at Apcera and formed part of the PaaS team at Rakuten in Tokyo.

Leave a Comment or Question

Help us make this conference the best it can be for you. Have questions you'd like this speaker to address? Suggestions for issues that deserve extra attention? Feedback that you'd like to share with the speaker and other attendees?

Join the conversation here (requires login)