Git Product home page Git Product logo

go-distributed-system's Introduction

All-purpose backend distributed systems

Idea for this system is to achieve a fault-tolerant, fast, scalable and secure system.

Proposed stack

  • Chi: A lightweight, idiomatic, and composable router for building Go HTTP services. Chi offers similar functionality to Gorilla Mux, such as URL parameters, middleware, and route grouping.
  • Go Kit: A programming toolkit for building microservices in Go. Go Kit provides a set of packages and best practices, allowing your service to be more robust, scalable, and maintainable.
  • Envoy: A high-performance, programmable L7 proxy and communication bus designed for large modern service-oriented architectures. Envoy is used to manage and route traffic between microservices, enabling load balancing, service discovery, and observability.
  • gRPC: A high-performance, open-source universal RPC framework developed by Google. gRPC allows you to define service contracts using Protocol Buffers, which can then be used to generate client and server stubs in Go.
  • etcd: A distributed, reliable key-value store for distributed key locking, storing configuration data, and service discovery. etcd is used for coordinating distributed systems, providing a simple and secure method for service discovery and configuration management.
  • GORM: An ORM library for Go that supports a variety of databases. GORM can be used to perform CRUD operations, run migrations, and interact with the database in a more intuitive way.
  • Viper: A complete configuration solution for Go applications. Viper allows you to manage your microservice's configuration using a variety of sources such as environment variables, configuration files, and remote key-value stores.
  • Prometheus: A monitoring system and time-series database that can be used to track the performance of your microservices. Prometheus provides Go client libraries to instrument your code for monitoring purposes.
  • Docker: A platform for developing, shipping, and running applications in containers. Docker allows you to package your Go microservice and its dependencies into a container that can be deployed and managed easily.
               +---------+
               |         |
               |  Client |
               |         |
               +----+----+ 
                    |
                    v
               +---------+
               |         |
               |  Envoy  |
               |         |
               +----+----+ 
                    |
                    v
               +---------+
               |         |
               +  Broker +
               |         |
               +----+----+
                    |
                    v
        +-----------+-----------+
        |           |           |
   +----+----+ +----+----+ +----+----+
   |         | |         | |         |
   | Worker1 | | Worker2 | | WorkerN |
   |         | |         | |         |
   +----+----+ +----+----+ +----+----+
        |           |           |
        +-----------+-----------+
                    |
                    v
             +------+------+
             |             |
             | Microservice|
             |             |
             +------+------+
                    |
                    v
              +-----+-----+
              |           |
              | Database  |
              |           |
              +-----------+

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.