Navigation

    Colyseus
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. zgz682000
    zgz682000

    zgz682000

    @zgz682000

    Chat Follow Unfollow
    2
    Reputation
    9
    Posts
    927
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • Profile
    • More
      • Continue chat with zgz682000
      • Flag Profile
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    zgz682000 Follow

    Posts made by zgz682000

    RE: My Indie BoardGame <Archaeology Action> based on Colyseus is testing on Steam now

    Thanks to the shoulder of Colyseus

    posted in Showcase •
    RE: 基于Colyseus开发的桌游独立游戏《考古行动》在steam上开始测试

    @coco 服务器是自己的,目前只在中国区有服务器

    posted in 中文 •
    My Indie BoardGame <Archaeology Action> based on Colyseus is testing on Steam now

    Hava a try and give me some advices and issues

    0_1667956139361_e01f14f6-8f86-4f08-96c6-e9b9456c5e2f-image.png

    posted in Showcase •
    基于Colyseus开发的桌游独立游戏《考古行动》在steam上开始测试

    0_1667955866186_a80b36ea-cae2-4faf-bd88-53d24da74355-image.png

    posted in 中文 •
    A Node.js momery question which is not about colyseus, but MULTI-PLAYER online game

    My game has a unlimited size map, and every grid of the map is lazy initialized as soon as any player discover it. I cached the data of map grids in a Dictionary with keys such as "x,y". When the number of players comes to 200, as they discover more and more regions of the map, the memory of my game will increace to 1G in one hour, and be killed by system soon.
    I have tried to cache the map data into redis asyncly, but it will increace the cpu and I/O pressure obviously, and brings me many async logic bugs. So my question is, do I have any other choise to cache the map data?

    posted in Questions & Help •
    RE: How to use caching db (redis for example) to optimize performance of my battle server

    games are stateful. It's very useful conception. Thank you again!

    posted in Questions & Help •
    RE: How to use caching db (redis for example) to optimize performance of my battle server

    Thank you so much for replying. I have no use-case, I am just considering this for curiosity. As I know, first of all, the amount of Node.js usable memory is very limited, so storing room state into database would help one server hosting more rooms; secondly, network service programming prefers maintaining no state data in memory, for the risk of losing when service down. Did I understand them correctly? Thank you so much for teaching!

    posted in Questions & Help •
    How to use caching db (redis for example) to optimize performance of my battle server

    I am very new for websocket battle server. I just wonder to know the usage of caching db (redis for example) . From documents and examples on colyseus website, I have read that the battle data and battle state may be stored in the server memory by room.state, and patched to the client every fps by colyseus mechanism. Can I store them to caching db and still patch them by the colysues mechanism ? And Is it necessary? Thank you so much for teaching!

    posted in Questions & Help •