Code Monkey home page Code Monkey logo

Comments (2)

demon0925 avatar demon0925 commented on June 18, 2024

基于现在pomelo的架构,建议你可以预先在server.json中配置好几台副本服务器,当玩家进入副本时,就将其之后的请求转发到相应的副本服务器中。在副本服务器中可以实现副本管理的功能,动态的生成和回收副本。

这种做法的缺点是需要预先判断需要的资源,无法进行动态扩展,当副本太多的时候可能会撑不住。。。 。。。

Pomelo会在将来加入服务器动态扩展功能,即支持在运行时对服务器的扩展。我们的demo会利用这一特性来实现副本功能,来供大家参考。

from pomelo.

gongxinheng avatar gongxinheng commented on June 18, 2024

好的,谢谢

from pomelo.

Related Issues (20)

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.