Changes to WAMP to improve performance

News updates about the Prohashing pool
Forum rules
The News forum is only for updates about the Prohashing pool.

Replies to posts in this forum should be related to the news being announced. If you need support on another issue, please post in the forum related to that topic or seek one of the official support options listed in the top right corner of the forums page or on prohashing.com/about.

For the full list of PROHASHING forums rules, please visit https://prohashing.com/help/prohashing- ... rms-forums.
Locked
User avatar
Steve Sokolowski
Posts: 4585
Joined: Wed Aug 27, 2014 3:27 pm
Location: State College, PA

Changes to WAMP to improve performance

Post by Steve Sokolowski » Wed Jun 21, 2017 8:31 pm

Chris made some changes to WAMP to improve performance today.

The WAMP performance issue had escaped our notice because bandwidth was less expensive before the DoS protections were implemented. Almost 60Mbps of WAMP data was being sent, but most of it was to a few IP addresses. We didn't think it was fair for a few people to degrade the performance of everyone else so significantly, so we are making a few changes that we estimate will reduce data transmission by about 95%.
  • We will send out "diffs" instead of repeating all the data in some cases. This change won't affect API implementations, but will cut out repetitive data that doesn't change very often.
  • We limited the maximum number of connections to the WAMP server from each IP address. Remember, pressing F5 20 times causes the system to respond slower, not faster.
  • We limited the bandwidth available to the WAMP server from each IP address, to account for malfunctioning bots that make too many subscriptions and calls.
We've already been able to reduce WAMP bandwidth usage significantly and performance should improve as Chris makes the final adjustments later tonight. Normal users will not be affected by these changes. If your bot requires exemptions, please contact us - we can either accommodate you or help fix the bug.
mjgraham
Posts: 16
Joined: Mon Oct 31, 2016 4:24 pm

Re: Changes to WAMP to improve performance

Post by mjgraham » Wed Jun 21, 2017 9:36 pm

Thanks for all the hard work!
I will admit I was more than likely one of the WAMP thugs, at the start I just made every little program open a new connection then after all the down time I had some time to re-work things just one call and write it to a file and just load that into whatever else might be something others can look into as well.

Thanks Again!
Locked