yiisoft / yiisoft/yii2-queue

MongoDB Driver Support

Open
#537 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
1.1k
Forks
285
Avg merge
5d 3h
Merged PRs (30d)
2

Description

The queue extension sounds awesome, but it lacks MongoDB driver support.
I believe changes would be needed in the below mentioned lines and around the whole mutex concept.

I would be really happy to see MongoDB driver support in the official Queue extension.
Thanks in advance.

https://github.com/yiisoft/yii2-queue/blob/98ea96a4b0c66453cfbe385b91126fc271cef892/src/drivers/db/Queue.php#L32-L43
https://github.com/yiisoft/yii2-queue/blob/98ea96a4b0c66453cfbe385b91126fc271cef892/src/drivers/db/Queue.php#L58-L67
https://github.com/yiisoft/yii2-queue/blob/98ea96a4b0c66453cfbe385b91126fc271cef892/src/drivers/db/Queue.php#L167-L168

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

Start with src/drivers/db/Queue.php, especially lines 32-43, 58-67, and 167-168, and compare how the existing database queue handles its mutex concept. Determine the MongoDB driver and locking behavior needed for official support; done means the queue extension supports MongoDB without breaking the existing database drivers.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb, php
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.