MongoDB Driver Support
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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