Register中的text服务,和Gateway中的text服务有什么区别嘛?

levi

我开启一个text协议的应用,当我启动服务的时候 php start.php start

① 我发现会同时存在两条text服务,他们有什么区别嘛?
② 我连是连Gateway中的text,请问两个服务的进程数是否要保持一致才对?

[attach]1026[/attach]

2431 1 0
1个回答

maq

Register 监听的端口是等待 Gateway 和 BusinessWorker 连接的,用于 GatewayWorker 内部的管理维护。应用层的客户端应该只连接 Gateway 监听的那个端口。

  • levi 2018-05-07

    Gateway中的text进程数,和Register中的text进程数,是否要保持一致呢,如果不一致会不会出现丢包这样的情况呢

  • maq 2018-05-07

    Gateway 的进程数是你指定的。Register 进程应该只有一个。

年代过于久远,无法发表回答
🔝