Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: felixbrucker on March 04, 2017, 05:22:53 PM



Title: websocket for stratum connections
Post by: felixbrucker on March 04, 2017, 05:22:53 PM
Hi all,

i have written a small proxy nodejs script which will proxy standard tcp socket (stratum) connections to another proxy B which sends the data to a destination tcp socket (stratum) server.

i have done that to avoid same ip banning from nicehash for large ip ranges and i only have a metered internet connection at home so i just deployed it to openshift, thus relying on websockets instead of regular sockets.

is there any project using websockets already for stratum implementations, or is it just too much overhead ? i suppose it adds some overhead, but not that much

cheers

edit: im monitoring my reject rate with this setup, and so far it is zero (as it was without the proxy overhead)