Coder Social home page Coder Social logo

Comments (4)

smallnest avatar smallnest commented on June 2, 2024

Go的net.Conn是并发安全的,看官方文档。你保证你发送的数据一次调用发送就行。

from rpcx.

blueskydata avatar blueskydata commented on June 2, 2024

非常感谢作者及时耐心解答,祝您万事顺心!

from rpcx.

chaoedu avatar chaoedu commented on June 2, 2024

游戏业务中有类似请求保序的场景,需要针对请求中同一个 player_id 的数据做顺序串行处理,相当于一个玩家一个队列,对于这样的场景大佬有什么建议吗,当前框架的 WorkerPool 好像不太好做这样的扩展(没法指定 key)。 @smallnest

from rpcx.

dickens7 avatar dickens7 commented on June 2, 2024

@chaoedu 我加了一个支持传递 req message 的 WorkerPool, 你可以参考一下

#853

from rpcx.

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.