📜 ⬆️ ⬇️

The most expensive javascript code

Not so long ago, Opera Software was in dire need of new servers. Not just a few servers, we planned the development of Opera Mini, Opera Link and My Opera also grew very quickly. We foresaw the crazy server load and we were right.

It was clear that we had to make no small investments in server capacity (by buying these things )

Write a check for a tidy sum. I am sure sys.adminy then wrote boiling water from Happiness. Saliva dripped and people with large hardware companies. They immediately appeared in our office in Oslo with “probes” - test servers.
')
In spite of this, one of the world's largest suppliers of iron, with the name of which every reader is familiar with, whose hardware resources, in most cases, we use right now, did not complete our homework. When Opera sysadmins loaded the server for tests of web-based admins, they found one condition that drove everyone out, including the CTO.

This is the only condition, apparently, was written by some subcontractor, whom they gave to the development of the interface of the admin panel for outsourcing, which led to a million losses in Norwegian kroner.

if (is.opera)
{
  window.location.href="config/error.htm";
}


* This source code was highlighted with Source Code Highlighter.

Source: https://habr.com/ru/post/65024/


All Articles