walkor / walkor/GatewayWorker

Use of Multiple Business Worker in distributed system

Open
#83 25 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
1k
Forks
291
PR merge metrics
No merged PRs in 30d

Description

Hi Walkor,

Currently we are using workerman in our current project and now we want to scale our socket server using GatewayWorker. We are thinking to use multiple gateway and business worker but we are storing clients array and lots of dynamic array on worker start. So my question is if we run multiple business worker then both business worker can share the same arrays or both business workers has their own?

We are populating dynamic array on workerstart from database and it's taking atleast 5min to populate.

Thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with GatewayWorker documentation and the workerstart lifecycle, focusing on deployments with multiple gateway and business workers. Determine how the client and dynamic arrays populated from the database behave across worker processes, then document the supported initialization approach and its startup implications.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.