We'll Live Until Monday or How to Survive Black Friday

Tomorrow is "Black Friday" - for Internet projects, this means that there will be peak loads on the site. Even giants cannot withstand them, for example, It happened with Amazon on Prime Day in 2017. 

We'll Live Until Monday or How to Survive Black Friday

We decided to give some simple examples of working with a virtual server in order to avoid errors and not meet people with a 503 page or, even worse, About:blank and ERR_CONNECTION_TIMED_OUT. There is one day left to prepare.

Resource scaling

The site usually consists of different modules - a database, a web server, a caching system. Each of these modules requires different types and amounts of resources. It is necessary to analyze in advance the volume of consumed resources using stress tests and evaluate the speed of disk input / output, processor time, memory, Internet bandwidth of your site.

Stress tests can help you identify bottlenecks in your system and scale them up early. So, for example, you can improve the capacity of your server by increasing the hard disk space for the duration of the promotion, expand the website bandwidth or increase the RAM of the virtual server. After the action, you can return everything as it was, this is done in your personal account without contacting technical support and takes a couple of minutes, but it is better to do this in advance and during hours of minimal customer activity on the site.

Protect yourself from DDoS attacks early

Sites on sales days fall not only due to an increase in the influx of customers, but also due to DDoS attacks. They can be organized by attackers who want to redirect your traffic to their phishing resources. 

DDoS attacks are becoming more sophisticated every day. Hackers use different approaches, resorting to both DDoS attacks and attacks on application vulnerabilities. In most cases, attacks are accompanied by attempts to hack the site.

Here it is also important to prepare in advance and connect an attack-protected IP address to your server. In UltraVDS, we protect servers not upon the fact of an attack, but around the clock and stably withstand attacks up to 1.5 Tbps! To protect servers from DDoS attacks, a series of filters connected to an Internet channel with a sufficiently large bandwidth is used. Filters sequentially analyze passing traffic, identifying anomalies and non-standard network activity. The analyzed patterns of non-standard traffic include all currently known attack methods, including those implemented using distributed botnets.

To connect a secure address to a virtual server, you must send a request to the provider's support service in advance.

Speed ​​up website loading

During the periods of promotions, the load on the servers increases, photos and product cards begin to load for a long time on the sites. Also, loading pages is made heavier by various frameworks, JS libraries, CSS modules, and so on. A potential client can leave the page without receiving a response from the site, even in the case of a better offer than competitors. We suggest using Google DevTools to check page loading speed.

A Content Delivery Network (CDN) can help speed up page loading. CDN is a geographically distributed network that consists of caching nodes - points of presence, they can be located all over the world. When visiting the site, the client will receive static content not from your server, but from the one that is part of the CDN network and is closer to it. Due to the shortening of the route between the server and the client, the data on the site is loaded faster.

You can set up a CDN network yourself, if you have a VDS on Windows Server Core 2019, to do this, use the tools built into the operating system such as: Active Directory, DFS, IIS, WinAcme, RSAT. You can also use ready-made solutions, for example, Cloudflare's CDN could solve the problem much faster and cheaper. Plus, this system has additional features: DNS, HTML, CSS, JS compression, many points of presence.

Good luck with your sales.

Black Friday at UltraVDS

We also did not pass by traditional discounts on this day and offer users of Habr a promotional code BlackFr with a 15% discount on all our virtual servers from November 28 to December 2 inclusive.

For example, the VDS a server at the UltraLight tariff with 1 CPU core, 500MB of RAM and 10GB of disk space running Windows Server Core 2019 can be purchased with a promo code BlackFr with an additional 30% discount for a year for only 55 rubles per month, so the total discount will be 45% of the current price.

UltraVDS is a modern cloud provider, hundreds of large organizations work with us, including well-known banks, stock brokers, construction and pharmaceutical companies. 

We'll Live Until Monday or How to Survive Black Friday

Source: habr.com

Add a comment