All Projects → hwholiday → Microservice_learning

hwholiday / Microservice_learning

Licence: mit
从零开始微服务框架使用

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Microservice learning

Go Project Sample
Introduce the best practice experience of Go project with a complete project example.通过一个完整的项目示例介绍Go语言项目的最佳实践经验.
Stars: ✭ 344 (+1009.68%)
Mutual labels:  microservice, gin, micro, prometheus
Learning tools
Go 学习、Go 进阶、Go 实用工具类、Go-kit ,Go-Micro 微服务实践、Go 推送
Stars: ✭ 605 (+1851.61%)
Mutual labels:  gin, micro, prometheus
laracom
laracom driven by go micro services
Stars: ✭ 37 (+19.35%)
Mutual labels:  microservice, prometheus
druid-prometheus-exporter
Service to collect Apache Druid metrics and export them to Prometheus
Stars: ✭ 14 (-54.84%)
Mutual labels:  prometheus, gin
Getty
a netty like asynchronous network I/O library based on tcp/udp/websocket; a bidirectional RPC framework based on JSON/Protobuf; a microservice framework based on zookeeper/etcd
Stars: ✭ 532 (+1616.13%)
Mutual labels:  microservice, micro
Nxplorerjs Microservice Starter
Node JS , Typescript , Express based reactive microservice starter project for REST and GraphQL APIs
Stars: ✭ 193 (+522.58%)
Mutual labels:  microservice, prometheus
ginprom
Gin Prometheus metrics exporter inspired by https://github.com/zsais/go-gin-prometheus
Stars: ✭ 97 (+212.9%)
Mutual labels:  prometheus, gin
Stack Rpc Tutorials
Stack-RPC 中文示例、教程、资料,源码解读
Stars: ✭ 1,736 (+5500%)
Mutual labels:  microservice, micro
Avatar
💎 Beautiful avatars as a microservice
Stars: ✭ 623 (+1909.68%)
Mutual labels:  microservice, micro
Go Gin Api
基于 Gin 进行模块化设计的 API 框架,封装了常用功能,使用简单,致力于进行快速的业务研发。比如,支持 cors 跨域、jwt 签名验证、zap 日志收集、panic 异常捕获、trace 链路追踪、prometheus 监控指标、swagger 文档生成、viper 配置文件解析、gorm 数据库组件、gormgen 代码生成工具、graphql 查询语言、errno 统一定义错误码、gRPC 的使用 等等。
Stars: ✭ 730 (+2254.84%)
Mutual labels:  gin, prometheus
Micro Analytics Cli
Public analytics as a Node.js microservice. No sysadmin experience required! 📈
Stars: ✭ 743 (+2296.77%)
Mutual labels:  microservice, micro
Unfurl
Scraper for oEmbed, Twitter Cards and Open Graph metadata - fast and Promise-based ⚡️
Stars: ✭ 193 (+522.58%)
Mutual labels:  microservice, micro
Go Os
Stars: ✭ 185 (+496.77%)
Mutual labels:  microservice, micro
ginprom
📡 Prometheus metrics exporter for Gin.
Stars: ✭ 110 (+254.84%)
Mutual labels:  prometheus, gin
Micro Cluster
Run multiple micro servers and a front proxy at a time
Stars: ✭ 173 (+458.06%)
Mutual labels:  microservice, micro
Quarkus Microservices Poc
Very simplified shop sales system made in a microservices architecture using quarkus
Stars: ✭ 16 (-48.39%)
Mutual labels:  microservice, prometheus
Cinema
使用 go-micro 微服务框架开发的电影院订票系统
Stars: ✭ 140 (+351.61%)
Mutual labels:  microservice, gin
Micro Starter
[Deprecated] 🔷 Basic (opinionated) starter kit for a micro app with webpack build
Stars: ✭ 144 (+364.52%)
Mutual labels:  microservice, micro
Micro Router
🚉 A tiny and functional router for Zeit's Micro
Stars: ✭ 621 (+1903.23%)
Mutual labels:  microservice, micro
Hemera
🔬 Writing reliable & fault-tolerant microservices in Node.js https://hemerajs.github.io/hemera/
Stars: ✭ 773 (+2393.55%)
Mutual labels:  microservice, micro

microservice_learning

 只有一个gateway服务器,api节点,db节点,log节点都可以自由添加
 log节点采用nsq,其他节点采用grpc,网关服务对外默认http
 #TODO 添加令牌服务器,链路追踪等功能,prometheus
 

演示图

启动命令

etcd

nsqlookupd

nsqd --lookupd-tcp-address=127.0.0.1:4160

nsqadmin --lookupd-http-address=127.0.0.1:4161

micro --registry=etcdv3   --broker=nsq   api  --handler=http

执行conf中的文件将配置信息读取到etcd中

启动api_agent,log_agent,db_agent

curl http://127.0.0.1:8080/api/v1/test 查看整个程序的运行情况

log_agent

演示图

db_agent

演示图

api_agent

演示图

关于 Micro

  • Micro 是一个微服务工具集。它被用来实现它的特性和接口,同时提供强大的可插拔的架构来保证基础组件可以被替换掉。
  • Micro 专注于解决构建微服务系统的基础需求。它采用了深思熟虑地富有预见性的方式来实现它的设计。
  • 如果你想深入研究 Micro 工具集请点击这里

联系

QQ: 3355168235
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].