Giter VIP home page Giter VIP logo

alexanyang / micro-demo Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 50 KB

this respository will build an demo of micro-service,which include as follow: 1) Microservice architecture (BFF, service, admin, job, task sub module) 2) API design (including API definition, error code specification and error usage) 3) The use of grpc 4) Go project engineering (project structure, Di, code hierarchy, ORM framework) 5) Concurrent use (errgroup's parallel link request) 6) The use of microservice middleware (elk, opentracing, Prometheus, Kafka) 7) Cache usage optimization (consistency processing, pipeline optimization)

Dockerfile 4.59% Makefile 20.83% Go 74.58%

micro-demo's Introduction

micro-demo

对当下自己项目中的业务,进行一个微服务改造,需要考虑如下技术点: 1)微服务架构(BFF、Service、Admin、Job、Task 分模块) 2)API 设计(包括 API 定义、错误码规范、Error 的使用) 3)gRPC 的使用 4)Go 项目工程化(项目结构、DI、代码分层、ORM 框架) 5)并发的使用(errgroup 的并行链路请求 6)微服务中间件的使用(ELK、Opentracing、Prometheus、Kafka) 7)缓存的使用优化(一致性处理、Pipeline 优化)

micro-demo's People

Contributors

alexanyang avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.