Anton Tsitou
Anton Tsitou
Hey, RR has new KV plug-in and SDK for it. You can use it for caching. :)
FYI, we implemented this feature in RR 1 itself. Not via Viper.
This is possible and has been planned from the beginning (that's why worker pool has name StaticPool and interfaced for usage in Server). The only trick in this feature is...
I can only set it as default value for the pool.numWorkers option.
Currently this API is not exposed, but it is possible to configure pool with different configuration: https://github.com/spiral/roadrunner/blob/master/server.go#L113
Currently yes, Reconfigure is what used in http:reset which you call in runtime (without stopping the server). I guess I can add a flag to alter number of workers for...
After couple of intense internal discussions (thank you @ValeryPiashchynski, Andrew M, Alexei N, and @vvval ) we have come up with a plan of adding basic balancing mechanism based on...
Well, cost they both derivative :) Each metric depends on CPU load, number of connections, processing time and etc. * _allocation time_ = how long you have to wait to...
I believe we can also calculate 2nd derivative to build better prediction logic, but this is not type of rabbit hole I would like to jump into... yet.
https://books.google.by/books?id=OoX0BwAAQBAJ&pg=PA146&lpg=PA146&dq=realtime+balancing+algos&source=bl&ots=OSCB1TbdJt&sig=ACfU3U0T39kPXUUCvb-usC1nco7nwWSDZw&hl=en&sa=X&ved=2ahUKEwi07MX2jeDoAhVOUZoKHdiXBHkQ6AEwAnoECAsQLw#v=onepage&q&f=false