-
-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(plugin): new jobs
plugin
#726
Conversation
Signed-off-by: Valery Piashchynski <[email protected]>
This pull request introduces 1 alert when merging d4c92e4 into 9dc98d4 - view on LGTM.com new alerts:
|
Codecov Report
@@ Coverage Diff @@
## master #726 +/- ##
==========================================
- Coverage 67.64% 66.26% -1.38%
==========================================
Files 94 126 +32
Lines 4846 10337 +5491
==========================================
+ Hits 3278 6850 +3572
- Misses 1154 2881 +1727
- Partials 414 606 +192
Continue to review full report at Codecov.
|
- Update Arch diagramm Signed-off-by: Valery Piashchynski <[email protected]>
This pull request introduces 1 alert when merging cee4bc4 into 9dc98d4 - view on LGTM.com new alerts:
|
# Conflicts: # plugins/websockets/plugin.go
This pull request introduces 1 alert when merging bdcfdd2 into 87d023d - view on LGTM.com new alerts:
|
Create a config sample with RR2 support. Progress on root JOBS plugin. Signed-off-by: Valery Piashchynski <[email protected]>
This pull request introduces 1 alert when merging 41bb9fa into 87d023d - view on LGTM.com new alerts:
|
- Remove old PHP tests Signed-off-by: Valery Piashchynski <[email protected]>
This pull request introduces 1 alert when merging 260d69c into 87d023d - view on LGTM.com new alerts:
|
Signed-off-by: Valery Piashchynski <[email protected]>
- Update tests Signed-off-by: Valery Piashchynski <[email protected]>
- Initial ephemeral broker commit - Initial RPC Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
value changed. Signed-off-by: Valery Piashchynski <[email protected]>
- Add binary heap mock - Connect first sub-plugin (ephemeral) with root jobs plugin Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
branch to handle dead workers inside the channel. Update docker-compose.yaml used for the tests. Update rabbitmq to 3.9.1. Replace third-party amqp091 with the official implementation. Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
spawned goroutine might stuck on the channel send operation and leak memory. Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
sqs drivers Signed-off-by: Valery Piashchynski <[email protected]>
other small bugs. Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
logger. Fix bugs discovered during testing. Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
jobs_ok.php/jobs_err.php workers. Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
jobs
plugin jobs
plugin
Reason for This PR
closes: #403
Description of Changes
v2
Link.max_queue_len
option. In the future will be replaced with the: https://arxiv.org/pdf/1407.3377.pdfecho
worker and Batch endpoint (5950x, 64Gb RAM, nvme 980PRO, Linux (5.12.15), 64 pollers (configuration), and 10 workers):350k
JPS45k
JPS, Consume (directly from RabbitMQ): approx.100k
JPS (RabbitMQ in docker), Push (1000 concurrent connections) + Consume:80k
JPS. Push operation also included delayed jobs.1-2k
JPS. Haven't tested on the real amazon SQS instance.~10k
JPS.License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the MIT license.
PR Checklist
[Author TODO: Meet these criteria.]
[Reviewer TODO: Verify that these criteria are met. Request changes if not]
Implementation progress:
jobs
event to be compatible with RR2v1beta
)pq_prefetch
(priority queue prefetch). So at every moment of time, each driver would have no more thanpq_prefethc
number of jobs in the priority queue.pause
,reset
,resume
.amqp
,sqs
,beanstalk
,memory
)amqp
,beanstalk
,ephemeral (memory)
,sqs
in initial implementation.nast
,nsq
, etc - laterStat()
RPC method to provide internal jobs statistic. [RR2, JOBS, METRICS] ExposeStats
RPC call #761Proto
Dynamic pipeline declaration request sample:
git commit -s
).CHANGELOG.md
.