Giter VIP home page Giter VIP logo

andygrunwald / your-connection-deserves-a-name Goto Github PK

View Code? Open in Web Editor NEW
28.0 4.0 3.0 6.49 MB

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

Home Page: https://andygrunwald.com/blog/your-database-connection-deserves-a-name/

License: MIT License

Go 63.64% PHP 14.36% Python 21.99%
redis rabbitmq connection best-practice postgresql mongodb mysql http nats go python oracle hacktoberfest

your-connection-deserves-a-name's Introduction

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.

your-connection-deserves-a-name's People

Contributors

andygrunwald avatar dependabot[bot] avatar wallyqs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

your-connection-deserves-a-name's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.