yiisoft / yiisoft/yii2-queue

Write down that redis driver can't handle parallel workers

Open
#451 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

status:to be verified type:docs
Dominant language
PHP
Stars
1.1k
Forks
285
Avg merge
5d 3h
Merged PRs (30d)
2

Description

I ask to Write it down that library can't handle parallel workers when redis driver used.

What steps will reproduce the problem?

Run few workers with redis driver

What's expected?

Few workers working in parallel

What do you get instead?

Few workers working as 1 worker - spreading payloads in one-thread-work

Additional info
Q A
Yii version latest
PHP version doesn't matter
Operating system RedHat

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the Redis driver behavior and the issue's parallel-worker reproduction, then inspect the project's existing documentation for the appropriate place to record the limitation. Done means the documentation clearly states how Redis behaves with parallel workers and what users should expect.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, redis
Domain
backend, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.