GithubHelp home page GithubHelp logo

go-game-server's Introduction

  • 👋 Hi, I’m @liangmanlin
  • 👀 I’m interested in erlang,golang,lua
  • 🌱 I’m currently learning golang
  • 📫 How to reach me at [email protected]

go-game-server's People

Contributors

liangmanlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

go-game-server's Issues

热更新问题探讨

我觉得代码不需要适配热更新,在入口做限制就行了.
比如nginx 中有2个upsteam[a,b] 先停掉a去更新a ,a启动成功后再启用a,停掉b,再更新b. 再启用b
用了k8s后 就不用改nginx了, 直接自带无感知更新了.
我是做web的 没做过游戏的,上面是我们无感知中断方案. 但我们有im系统也是长链接 跟游戏应该差不多, 我是一次给客户端发2个服务地址一个主a一个备b
要更新主a的时候发个消息给客户端 让客户端切换到备b,同时a不断,b连接成功后断开a.这样消息都不会丢.
给3秒超时 如果主a的连接还有没断的 直接让客户端自己做断线重连. 大概是这个逻辑

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.