summaryrefslogtreecommitdiff
path: root/pkg/pool
AgeCommit message (Collapse)Author
2021-08-09Update goridge to v3.2.0, update all frames operations.Valery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-08-03In a rare cases, when user set small timeout to allocate a worker,Valery Piashchynski
spawned goroutine might stuck on the channel send operation and leak memory. Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22LintersValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Benchmark tests commentsValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Update Echo benchValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Update static_pool_batched testValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22BC for the Pool, worker interfaces, pass/return payload by pointerValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-19Worker watcher interface update.Valery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-14Merge masterValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-14Merge remote-tracking branch 'origin/master' into feature/jobs_pluginValery Piashchynski
# Conflicts: # pkg/worker_watcher/interface.go
2021-07-14Fix TTL issue, added explanation comments.Valery Piashchynski
The worker after it executed the request, may overwrite the TTL state. This inconsistency leads to the +1 worker in the FIFO channel. In this state, the Push operation was blocked. Add RR_BROADCAST_PATH. Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-11Update JOBS interface, Renamed Consume -> Run.Valery Piashchynski
Add DYNAMIC declaration of the pipelines. Update Jobs constructor interface, add FromPipeline method to construct jobs driver (unique) via the `Declare` RPC call. Add `Stop` method to gracefully stop all consumers. Binary heaps `GetMax` to canonical `ExtractMin`. Other small improvements. Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-10Move interfaces to its consumersValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-06-26- Merge master branchValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-06-26Merge remote-tracking branch 'origin/master' into feature/jobs_pluginValery Piashchynski
2021-06-26- Add more testsValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-06-25- Fix bug with an exec_ttl reallocation issueValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-06-23- Swithc from value to pointer to the pool configuration. InterfaceValery Piashchynski
value changed. Signed-off-by: Valery Piashchynski <[email protected]>
2021-06-21- Rework dispatcher, pipeline, job (not completely)Valery Piashchynski
Create a config sample with RR2 support. Progress on root JOBS plugin. Signed-off-by: Valery Piashchynski <[email protected]>
2021-06-13- Optimize sync_worker payload execValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-06-03- Do not write an error into the responseWriter if this is internalValery Piashchynski
error - Handle SoftJob error Signed-off-by: Valery Piashchynski <[email protected]>
2021-05-27- Update MakefileValery Piashchynski
- Update arch diagram Signed-off-by: Valery Piashchynski <[email protected]>
2021-05-27- Update all main abstractionsValery Piashchynski
- Desighn a new interfaces responsible for the whole PubSub - New plugin - websockets Signed-off-by: Valery Piashchynski <[email protected]>
2021-05-20- Update lintersValery Piashchynski
- Implement base interfaces - Implement BST search algo for the in-memory storage Signed-off-by: Valery Piashchynski <[email protected]>
2021-05-13- Remove unsafe casting (replace with a less unsafe)Valery Piashchynski
- Make the static plugin great again (separate plugin) - Revert new behavior Signed-off-by: Valery Piashchynski <[email protected]>
2021-05-06- Fix bug with exec_ttlValery Piashchynski
- Update CHANGELOG Signed-off-by: Valery Piashchynski <[email protected]>
2021-04-30- Make development log coloredValery Piashchynski
- Remove old TODOs Signed-off-by: Valery Piashchynski <[email protected]>
2021-04-19- Add tests, update Informer implementationValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-03-28- Remove debug codeValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-03-28- Fix bug with the worker reallocating during the responseValery Piashchynski
- Update .golangci and fix new warnings Signed-off-by: Valery Piashchynski <[email protected]>
2021-02-24Fix pool behavior, update testsValery Piashchynski
2021-02-16Add support for parsing env variables in the `.rr.yaml` configValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-02-16On some test envs with limited resources, goroutine in theValery Piashchynski
Test_Static_Pool_Destroy_And_Close_While_Wait test might be executed after test ends. Add a little bit more time to wait this gorotutine Signed-off-by: Valery Piashchynski <[email protected]>
2021-02-16Add support for flag overwritingValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-02-10Rewrite container for the workersValery Piashchynski
Update tests
2021-02-08BaseProcess interface as a return type in the worker_watcher,pool andValery Piashchynski
worker interface
2021-02-08Push worker to the stack typoValery Piashchynski
2021-02-06Correct memcached Plugin RPC methods (remove redundant checks, userValery Piashchynski
errors.E)
2021-02-05Faster toString convertation (only for the english)Valery Piashchynski
2021-02-05handle worker state before sending to the execValery Piashchynski
2021-02-04pre-rc stabilization of the interfaces and internal codeValery Piashchynski
2021-02-03Increase channel cap for the testsValery Piashchynski
2021-02-03Fix memory leak in the Worker.goValery Piashchynski
2021-02-02Move worker states out of internalValery Piashchynski
2021-01-25Add new Supervisor test in the http pluginValery Piashchynski
Uniform supervisor config keys to use same notation as pool (10s, 10h not just 10)
2021-01-24Fix TestSupervisedPool_MaxMemoryReached testValery Piashchynski
2021-01-24TestSupervisedPool_MaxMemoryReached increase time for the GHA toValery Piashchynski
reconstruct a worker
2021-01-24Update Pool and WorkerWatcher interfacesValery Piashchynski
2021-01-23interfaces folder deprecatedValery Piashchynski
2021-01-23Stabilization PRValery Piashchynski