Giter Site home page Giter Site logo

Comments (6)

Terry-Mao avatar Terry-Mao commented on August 16, 2024 4

我们目前新做的架构是全IDC 同步路由信息,这个版本改动比较多,等稳定测试了才会上线;

离线 建议使用微信的sync 协议,就是版本号下拉这种做法

from goim.

Terry-Mao avatar Terry-Mao commented on August 16, 2024

当时的想法是做一次全量拉取,或者是router 本身做多副本,目前我们自己线上都是单点的,后面考虑直接使用 redis,来做主从避免类似的问题,你的意见呢?

from goim.

kirk91 avatar kirk91 commented on August 16, 2024

直接使用redis,router逻辑会有很大的变更吧, 而且多idc的情况下router数据的同步也会是一个比较疼的问题

from goim.

tonybase avatar tonybase commented on August 16, 2024

微信的好像每个用户只属于一个主idc,然后cdn做加速和心跳优化。

from goim.

kirk91 avatar kirk91 commented on August 16, 2024

用户和主idc的对应关系是在cdn层面完成的还是client做的? 如果是在cdn层面调度的话,向客户端推送数据的时候,还是需要知道userid:idc的路由关系.

from goim.

kirk91 avatar kirk91 commented on August 16, 2024

当前貌似是不支持对离线用户进行推送的,有比较推荐的玩法么?

from goim.

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.