V
V
VerniteAccount2018-03-30 13:13:18
linux
VerniteAccount, 2018-03-30 13:13:18

Which OC to choose for a highload project? (Ubuntu/Debian/FreeBSD)?

Greetings.
I need a system that is easier for Junior to learn, but at the same time it can be optimized for high traffic flow (high load) with optimal resource consumption.
You have chosen distros: Ubuntu, Debian, FreeBSD.
I liked the latter in that it allows you to flexibly optimize the tcp / ip stack, so you can achieve the expansion of the channel as much as possible. Of course, I like Debian more, but I have not seen a good working config for a high load, including stack tuning. Since the project is non-commercial, and as an indie developer, I am interested in minimizing infrastructure costs. Therefore, I ask you to give a detailed answer, and of course the publication of a good config will greatly save my time and energy for more creative and interesting things for me.
Case:
1. Non-commercial project with a small budget but big ambitions.
2. Expected attendance, about 15-100t. users per month.
3. Indie development with rare involvement of freelancers (as the budget increases and the project grows).
4. Minimum infrastructure costs with maximum performance.
Thanks for answers.

Answer the question

In order to leave comments, you need to log in

8 answer(s)
M
Max Kostikov, 2018-03-30
@mxms

What you can support.
FreeBSD is the most flexible, logical and well documented. So even if you do not know how to cook it properly, you will master it pretty quickly.
It is not difficult to build your own kernel and, moreover, software with the necessary options from source codes. And for highload this is a useful thing.
Well, in terms of freshness and the size of the base of packages / ports, FreeBSD is in the lead .

R
Reversaidx, 2018-03-30
@Reversaidx

Anything, but not a fryaha, no packages, no updates.
Further I would choose between Centos7 and Ubuntu16.
First, if you need the usual stability and there are no perverse requirements (there is more documentation compared to Ubuntu and it is easier to configure), Ubuntu in case of active use of the latest technologies and packages (they come out on Centos longer)

A
AVKor, 2018-03-30
@AVKor

I don't know what FreeBCD is.
Debian is universal. Stable. The largest number of packages in the official repos. Take and try.

S
Sergey, 2018-03-30
@feanor7

Anything will do, but get the architecture right and be prepared for market reactions to your product.
Many years ago, I had a simple LAMP configuration on Centos 5.5 with a light kernel tuning that was 200 requests per second. The developer was just with his head).
Now, take what you know yourself, you can easily master it yourself.

B
Boris Syomov, 2018-03-30
@kotomyava

The claimed attendance is not even close to a highload, and will not require any special tuning of the network stack. And for sure it will not be a bottleneck.
Choose any of the three, but Debian and Ubuntu are preferred, corny, due to orders of magnitude greater prevalence, and accordingly, it will be easier for you to find a solution to a problem, or a specialist, if necessary ...
And of this pair, Ubuntu in general is more fresh software, and this can be both a plus and a minus in your case. Here you, as a developer, know better.

N
neol, 2018-03-30
@neol

  1. OS does not matter, only the admin skill in the selected OS is important. stackoverflow generally works on Windows and does not buzz
  2. You don’t even smell like a highload in your plans
  3. You do not have money for such a channel that any of the listed operating systems cannot be utilized even with default settings
  4. It is necessary to bother with performance only when there are potential problems with this performance.
  5. There is no magic config that fits everywhere and always.

S
Stanislav Bodrov, 2018-03-30
@jenki

Here, most likely, the approach that psychologists advise is more applicable when a person has to make a serious choice: write out on a piece of paper all the pros and cons of a particular decision. Then weigh them - many pluses can turn out to be minuses and vice versa. For example:
FreeBSD
+ fast networking stack
+ less likely to be hacked due to sparse distribution
+ most applications are built from source, so fine-tuning can be done
+ ...
- some VDS owners prohibit or restrict use in their rules (consequences of a fast networking stack)
- due to the low prevalence, there are few specialists and documentation
- possible problems with updating applications built from source
- ...
Ubuntu
+ a lot of fresh stuff
+ big hype
- who tested, debugged and fixed this fresh stuff
- hype will not make the system faster and more reliable
Debian
+ stability reliability and time-tested
- a lot of things are updated only in case of emergency - so it works stably and reliably, why touch it?

C
criminalist, 2019-02-10
@criminalist

I don’t know about my skill, it’s very low, but I’ll say one thing I worked with all the distros listed above, I deleted it all along with the ispmanager panel, and returned to freebsd, there’s nothing more stable than it, and by the way, Bitrix just began to fly and gives out parrots of the order 70, unlike the same sentos, which the ceiling gave out 25.
If the case is completely freebsd has established itself over the years as a very stable distribution, and there are a lot of articles on the network on optimizing the system for highload.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question