Skip to content

Examples and code to assign a name to your MongoDB, MySQL, NATS, Oracle, PostgreSQL, RabbitMQ, and redis connection.

License

Notifications You must be signed in to change notification settings

andygrunwald/your-connection-deserves-a-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

your connection deserves a name

👀 When your app interacts with an external system, assign a name to the connection. An external system in this context can be things like a database, a cache, a message queue or an HTTP endpoint.

🎯 The goal should be: the external system can identify their clients.

🔥 During an incident, it will reduce the time to debug by multiple hours and often save other applications from failing.

➡️ Read more about this at your database connection deserves a name @ andygrunwald.com.

How to do it (with examples)

This repository provides you example code for various systems in different programming languages:

Missing a system or a programming language?

If you

  • know a system that supports connection naming, and it is not listed here
  • miss a programing language example in your favorite language

let us know in either of two ways:

  1. Create an Issue with all the details you have in mind
  2. or create a Pull Request with the implementation.

We are happy to extend this project.