Answer the question
In order to leave comments, you need to log in
What kind of server(s) do you need for a millionaire site?
In general, I am not strong in the data center and servers, I read a lot in order to find the answer, but it didn’t work out, so don’t scold the dunno. Answer in terms of if you can. In general, what characteristics (CPU, RAM, Internet channel speed and other basic) do you need a server (servers) in order to withstand a load of 1-5 million per day and take into account 1 million simultaneous connections somewhere ??? Not a word about the budget
Answer the question
In order to leave comments, you need to log in
It highly depends on the application.
What are they doing there? Downloading static? Is this a site? What is on the server?
Briefly describe your situation normally.
if just a "picture" site
with a user base,
the site itself was written from scratch in a notepad, then it will not be significant and load the server heavily when accessing it. if this is not a torrent tracker, it is under a capital load when processing data, I won’t talk about it, now it’s banned.
I’ll tell you about a banal site base, it includes authorization + base for adding a text answer + maximum graphic by tag, and only from the Internet. That in principle it is possible to manage with one server. If you already need to download an image from a computer, there must be a server, although it can be on one, but with such a load you need two, but in general you will need at least two pieces of iron, the very minimum is a router that will lead the client to the server, you don’t you will start up clients on a straight line on the server. I worked with an open one, the static was on a server under Windows, i.e. clients immediately go to the server, it will be difficult for you, I understand that you don’t understand where you got this data from.
you need to protect the server. if there is a conversation about this that "with a heavy load" the site goes down, then this is a banal attack, read how to get rid of it, not everything is so simple. You can put a piece of iron in front of the server that will prevent uploading, recognize traffic, you will need one like that, called a firewall, you choose with flood protection (DDoS) attacks.
it’s ideal for you, I’ll say to take a server on the side, but no, they are not responsible for this, it’s probably better to install it at home and do the analysis.
Look, there is where to enter data, at least one line, then the server can be forced to penetrate the server, this will have to strain you. You did not describe what you will have on the site.
For example, I can say put 64 GB of RAM - this is in your case, because. in the first load goes during a flood attack on RAM, and there it is already strained as an attack, if powerful stones, then it will be harder to load them with a large RAM. minimum fee for 2 stones.
about the speed, let's estimate how much your page weighs - 1 megabyte, this is the maximum - I don’t advise you to do it anymore, you compress the pictures, if you display something on a new page in full, the page opens, plus these are additional views.
for a house of more than 40 megabits it’s unlikely to get it based on this + the provider sets the speed to 35 divide / by 8 = 4.375 you will get an outgoing channel at home in MB (megabytes)
if for work, they can give you optics, for example, you have enough money for 100 megabits, which is the same when taking into account after passing through the firewall hardware, if there is not much money, it will be 50 megabits, well, let’s say the company has money with such volumes and they bought you a cisco or normal delink after passing it, you will get a speed of 85 megabits divided / by 8 = 10.625 MB (output megabytes) - we always start from this which page we write by weight. and here the question already arises of how much the page should weigh for viewing for simultaneous viewing based on good ping, the idea has come, we buy a mother with optics inside, consider yourself, the losses will be less.
I will calculate according to the budget option, because for such a site, a single-processor server and 16 GB of RAM, even 8 GB, with proper configuration, may be enough.
I divide 10.625 by a million, but I don’t immediately divide it into it, I have + well, for example, a person would not bother much (make the first page easy, contacts, etc.
) won't understand 10 either. we take the average 5 + 10 = 15 / 2 = 7 with kopecks, this is the average waiting time for a person when opening a new page or opening a site. I will give an example with this time, you can calculate weighty pages up to 25 seconds, provided that the person has already entered the site, if uploading data can be done up to several minutes, set the animation to the main thing that something is happening.
multiplying 10.625 megabytes by 7.5 seconds of waiting that we calculated above, we get the traffic weight can be 79.6875 megabytes per second.
now the fun part is we convert this amount to KB to calculate the page.
To do this, we do 79.6875 megabytes * by 1024 (as we know that there are 1024 KB in one megabyte) = 81600 kilobytes
81600 kilobytes - this is a one-time session value for the millionth entry
, now we translate into bytes for such a group of people it will be easier to count in bytes
81600 kilobytes * 1024 = 83558400 bytes per hit
finally we came to the division getting 1 page for the site that you need to stick to
83558400 bytes we divide by 1,000,000 people = this is how we get the page should be 83.5584 bytes
here are the calculations for you my friend
, look at which channel you need optics, for example, 100 megabits costs 7 - 10,000 rubles per month
look what we have come that even 1 gigabit will be a small speed if such a load falls,
you need to install a 10 gigabit channel, then for 1 million a site can be done, therefore it’s not lower than a
million people :) I said this once, on the site the average number per day was 500 people on the day for 2008 it was very good the site was in first place for the top single-word query, then scored on the site.
for 1.5 million people for a day you can safely write pages up to 10 megabytes in size, provided that your Internet speed is 10 GB
of tailwinds
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question