Git Product home page Git Product logo

memory's Introduction

memory

  1. 20190720
  2. thousand years gone, we may revive with memory, to mark !

we need following parts

  1. web/login
  2. gate
  3. game
  4. hub
  5. mq
  6. log
  7. consul
  8. redis/mysql/mongo

what should i do for my mind

an open world for our memory to be continued
服务太多不好维护,能整合到一起的服务决不拆成两个。
核心服务自己维护,非核心的丢给第三方。
所有服务在计划之中创建,需要扩展的不必留框架来解决,直接编码。
一切以运行效率性能为主,假定服务是有限的,提升现有业务的逻辑和玩法的质量。
不为未知的未来做过度设计。不为非专业(不擅长学习)的小白做设计。

我们还需要解决以下问题

  1. golang的channel并发与eventQueue式的并发哪个更好.
  2. 底层消息对象池,消息数据队列的使用.
  3. cache怎么优雅的编写对接redis和mysql的接口.

// 网关、登录,广播,网络IO密集
web/login<-client
gate<-client
gate->game

// 游戏服务,计算密集.
game<-gate
game->mysql
game->redis

// 服务中心
hub<-gate
hub<-game

// 服务发现,单机多进程,
consul

开始进业务逻辑

  1. 20190807

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.