catalog

module
v0.0.0-...-86dbffa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2022 License: MIT

README

Catalog Microservices Sample Application

对当下自己项目中的业务,进行一个微服务改造,需要考虑如下技术点:

  • 微服务架构(BFF、Service、Admin、Job、Task 分模块)
  • API 设计(包括 API 定义、错误码规范、Error 的使用)
  • gRPC 的使用
  • Go 项目工程化(项目结构、DI、代码分层、ORM 框架)
  • 并发的使用(errgroup 的并行链路请求)
  • 微服务中间件的使用(ELK、Opentracing、Prometheus、Kafka)
  • 缓存的使用优化(一致性处理、Pipeline 优化)

Architecture Diagram

alt text

Questions
  • 要如何实现预热加载?Get List of games from Cache and DB。 如何知道数据库和缓存是一致。

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL