655 Commits (918a6ebe0c84e56963359c07322ba81d3a7c16f2)

Author SHA1 Message Date
Con Kolivas 918a6ebe0c Make the stratifier tell the generator precisely how many extra connections we need 10 years ago
Con Kolivas a6ac868cd3 Rework subproxy recruitment to allow requests to stack but abandon them if the subproxy is not alive 10 years ago
Con Kolivas daa478f1f5 Off by one on headroom 10 years ago
Con Kolivas cd342551a8 Count reconnecting clients as part of the headroom consumed 10 years ago
Con Kolivas ad5def42d2 Reassess headroom and recruit extra proxies upon receiving each new subscribe 10 years ago
Con Kolivas 565d253e3f Reassess on all notifies 10 years ago
Con Kolivas 6f08c301e9 Tweak reconnects 10 years ago
Con Kolivas 95102da854 Only set current proxy to a parent proxy 10 years ago
Con Kolivas 7a4cab1a88 Reset parent proxy as well in reap_proxies and add some sanity checks, removing now unused retired proxies list 10 years ago
Con Kolivas 0e70b8bf19 Reuse proxies that are still alive and no longer have any clients bound to them 10 years ago
Con Kolivas 2054f116d7 Only reconnect with the parent proxy notify 10 years ago
Con Kolivas 55d616817b Use the proxy id to determine if we should try reconnecting clients on notify 10 years ago
Con Kolivas 75b9a4f140 Reconnect clients on every notify from a subproxy 10 years ago
Con Kolivas 7009fb1077 Reconnect clients whenever we detect a new notify from a subproxy of the current proxy 10 years ago
Con Kolivas 73dab07652 Add proxy selection info 10 years ago
Con Kolivas 9234ced6f2 Give subproxy the lowid of the parent proxy 10 years ago
Con Kolivas 668d96710e Check lowids in selecting stratum data 10 years ago
Con Kolivas 2f2d454763 Create new instances of proxies on reconnect instead of trying to overwrite old ones on reconnect 10 years ago
Con Kolivas 14873b44b7 Convert proxy id to int64 10 years ago
Con Kolivas 922855b171 Fine tune proxy reconnects 10 years ago
Con Kolivas dd22d73145 Do not switch more clients than we have headroom 10 years ago
Con Kolivas fc75956823 Replace the parent of existing proxies with the new one 10 years ago
Con Kolivas 6b3cd82525 Revert "Use async send proc as a separate thread from workqueues" 10 years ago
Con Kolivas 8502036c5d Only dec worker if user is set 10 years ago
Con Kolivas 4a3907d4e1 Remove use of unreliable notify_id to determine if clients are on the current pool with the more extensive switching in place 10 years ago
Con Kolivas 7de43b1c6e Use async send proc as a separate thread from workqueues 10 years ago
Con Kolivas 08a997e190 Remove the unused msg_id field 10 years ago
Con Kolivas df7d17f3a9 Ensure we use int64 for internal jobid throughout and add the string to debug message from the upstream pool 10 years ago
Con Kolivas 7f04ba2e03 Transmit the actual workbase we want broadcast with stratum_broadcast_update and add more info the verbose logging 10 years ago
Con Kolivas 5123b2e0ec Only trigger connection recruitment if we're reconnecting clients 10 years ago
Con Kolivas 11cc87393a Reconnect instead of testing clients that have their reconnect flag set on a stratum broadcast 10 years ago
Con Kolivas 4e5401a991 Reconnect clients connected to the parent proxy when it's replaced 10 years ago
Con Kolivas 36b217a45d Count dropped workers in _dec_instance_ref 10 years ago
Con Kolivas f78f72dc4f Make a new proxy inherit the existing subproxies of the old one 10 years ago
Con Kolivas 2347097476 Move client culling and testing to the broadcast to avoid cycles of drop/test 10 years ago
Con Kolivas 2ff9d7f0f6 Drop clients bound to a subproxy even if the proxy no longer exists in dead_proxy 10 years ago
Con Kolivas fe7ea6ae89 Demote updated diff message 10 years ago
Con Kolivas c55cf08d6a Check for failure to decode proxy/subproxy in update_subscribe 10 years ago
Con Kolivas 4ff3972ef0 Look for other clients that should have been dropped in the stratifier and inform or query the connector about them 10 years ago
Con Kolivas 352c8a4eb7 Set client start time when the instance is added 10 years ago
Con Kolivas 6887f778e9 Send reconnect to all clients that have been asked to reconnect already and don't unset the bool to be able to trim them 10 years ago
Con Kolivas 8291489a5b Use async send proc in the stratifier 10 years ago
Con Kolivas 97e2b3179b Keep track of per process ckwqs in the ckpool structure 10 years ago
Con Kolivas 6c75760502 Use the generic workqueues for do_update 10 years ago
Con Kolivas e40d560f57 Create a pool of workqueue threads for use by the stratifier using them for share processing, stratum receiving and transaction processing 10 years ago
Con Kolivas 234f76f8e5 Force a reconnect send to clients that have been given the reconnect flag already and are requested to reconnect again 10 years ago
Con Kolivas 77e68e8db1 Revert "Send reconnect to clients immediately upon detecting they're sending to a dead proxy instead of flagging them" 10 years ago
Con Kolivas ac8bb3259d Send reconnect to clients immediately upon detecting they're sending to a dead proxy instead of flagging them 10 years ago
Con Kolivas 0a165bfc66 Revert to lazily reconnecting all clients to prevent floods 10 years ago
Con Kolivas a470ca6431 Only reconnect clients when there is room for them on the new proxy, tagging the rest and recruiting as needed 10 years ago