The world of crypto mining runs on hash power — the computational resource (power and hardware) it takes to run and solve different cryptocurrency hashing algorithms. NiceHash is the largest hash power broker marketplace, connecting sellers (or miners) with buyers of hash power.
While NiceHash itself does not own or rent out any mining infrastructure, it acts as a broker to connect sellers and buyers of hash power.
“We’re like the AirBnB or Uber of hash power,” Denis Tomasevic, Head of Infrastructure and Security explains. Having this unique "sharing economy" approach on the market, NiceHash serves as an important part of the nascent cryptocurrency industry and allows an easy off-ramp for everyone who would like to start mining and earn cryptocurrencies in the process.
The side-effect of the near-overnight explosion of interest in the cryptocurrency industry was that cryptocurrency platforms, such as NiceHash, became targets to DDoS attacks.
“As soon as we launched our platform, we started seeing near constant DDoS attacks,” Denis says.
NiceHash was already using Cloudflare to safeguard their website and web sockets, so their web assets successfully resisted DDoS attempts and had 100% uptime. The same could not be said about their mining service. Frequent volumetric DDoS attacks that followed the launch of their mining service led to NiceHash looking to extend DDoS mitigation to all their critical communication protocols.
“Our mining service that connects buyers and sellers of hash power runs on a custom TCP communication protocol. We had implemented best-practice mitigations on local infrastructure that resisted occasional DoS attempts. But we were not prepared for the frequent and high-volume DDoS attack that followed our launch,” explained Denis.
When a volumetric DDoS attack brought their service down for nearly 10 hours, it was time to act. Having their critical revenue-generating application go down for a significant amount of time led NiceHash to look for a solution to safeguard all their bases, not just their web assets.
Cloudflare Spectrum was just the answer to NiceHash’s needs. Spectrum extends Cloudflare’s industry-leading DDoS mitigation to all services that run over TCP/UDP. When NiceHash moved their mining services running over TCP behind Spectrum, they instantly observed drastically improved uptime of their service. Better yet, the performance of their application was not impaired.
With Cloudflare, NiceHash today protects and accelerates their web assets as well as their critical revenue-generating TCP protocol.
NiceHash is the largest hash power broker marketplace in the world
NiceHash struggled to safeguard its critical revenue generating TCP services from coordinated volumetric DDoS attacks
Moving mining services behind Spectrum immediately improved uptime for their users
「Our biggest consideration for a DDoS mitigation solution for our TCP protocol was to ensure the end-to-end latency was not impaired. With Spectrum, there is very minimal added latency, if at all, and that is really beneficial to us」
Head of Infrastructure and Security, Nicehash