GithubHelp home page GithubHelp logo

mark-hd / dubbo-go-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mengyangren/dubbo-go-demo

0.0 0.0 0.0 16.93 MB

在使用dubbo-go的过程中也发现它的易用性的问题,它的入门成本较高,把很多对它感兴趣团队挡在了门外,另外团队内部推广也成了很大的问题,为此编写该demo是为了能快速让团队内部能正确与快速熟悉dubbo-go

Go 100.00%

dubbo-go-demo's Introduction

dubbo-go-demo

简介

dubbo-go-demo 解决团队快速了解与使用的问题
当初所在团队需要解决Go团队与Java团队dubbo服务互通的问题,那么dubbo-go成为团队首选。

环境需求

  • >= go 1.14
  • >= dubbo-go v1.5.4
  • >= dubbo-go-hessian2 v1.7.0
  • >= gin v1.6.3
  • nacos/nacos-server

分支说明

 分支: gin-dubbo-go-consumer(消费端) 
 分支: dubbo-go-producer     (生产端)

组成说明

  • 1.docker-compose搭建nacos-server
  • 2.dubbo-go消费端与Gin框架进行整合与代码分层架构设计(适合中型业务型服务)
  • 3.dubbo-go生产端代码分层架构设计
  • 4.dubbo-go-demo提供用户模块Demo(消费端至生产端完整的CURD)
  • 5.dubbo-go-demo提供分布式事务Demo

消费端代码架构流程

example-1

生产端代码架构流程

example-2

其他/思考

以上代码架构流程图(排除注册中心)
对于刚入Golang坑普通微服务开发者
熟悉dubbo-go的过程中也发现它的易用性的问题,它的入门成本较高,把很多对它感兴趣团队挡在了门外
另外团队内部推广也成了很大的问题,主要为资料少,成熟案例较少
为此编写dubbo-go-demo 能快速让开发团队正确使用与熟悉

基础调试环境配置

dubbo-go-demo's People

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.