Linked Questions

124 votes
5 answers
76k views

How do you do load testing and capacity planning for web sites?

This is a canonical question about capacity planning for web sites. Related: Can you help me with my capacity planning? How do you do load testing and capacity planning for databases? What are some ...
gWaldo's user avatar
  • 12k
36 votes
2 answers
11k views

How do you do load testing and capacity planning for databases?

This is a canonical question about capacity planning for databases. Related: Can you help me with my capacity planning? How do you do load testing and capacity planning for web sites? I'm looking to ...
gWaldo's user avatar
  • 12k
21 votes
2 answers
1k views

Sanity check on 40TB server configuration

I've got 40 years in computing, but I've never had to build a server quite like this one, so this might be a n00b question. I have a client that is going to offer ultra-high def music files for ...
Peter Rowell's user avatar
12 votes
2 answers
6k views

10/20/40Gbps nginx large files caching webserver [20Gbps reached]

I would like to find out the best possible configuration/hardware to deliver 40Gbps from a single server in this question. Situation We have a video share proxy server that offloads peaks from slow ...
Yarik Dot's user avatar
  • 1,583
9 votes
2 answers
1k views

How much data does Linux read on average boot?

I wonder how much data in total does a freshly installed vanilla Linux system (like 32-bit CentOS 5.10) read in order to get to a virtual console shell prompt? You know, reading all the configuration ...
Armen Michaeli's user avatar
9 votes
1 answer
20k views

How much free memory should I have on my webserver? [duplicate]

I have a webserver that's currently hosting two Wordpress sites and some java-based collaboration software. The server has 2G of memory and is currently using about 1.8G of the available memory. ...
neanderslob's user avatar
8 votes
3 answers
5k views

Tmpfs vs NVME SSDs from performance POV [duplicate]

I have a script that creates large temporary files. I'm inclined to use tmpfs for this, however I did a quick search for tmpfs performance and found this which reports speed as about 2GiB/s. Modern ...
Peeyush Kushwaha's user avatar
7 votes
2 answers
437 views

Are there any features in Linux that are essential for hosting Ruby on Rails?

I'm on a project where we're going to be hosting a Ruby on Rails app on a Linux server we own. Are all flavors of Linux equally capable of hosting Rails apps? If not, what features are present in some ...
Kevin's user avatar
  • 224
7 votes
1 answer
13k views

How to handle 1M websocket connections (Nginx/HAProxy/Amazon/Google) [duplicate]

What nginx or haproxy setup is suggested for target 100K concurrent websocket connections? What I think, a single nginx will not be able to take such traffic as well as concurrent connections. How ...
Ravi Kumar's user avatar
6 votes
7 answers
1k views

When to Add another server(s) [duplicate]

When is the right time to start adding(or thinking about adding) servers to your Web Application? What are the difficulties involved in going from a single server(DB and Web) to multiple? For example:...
cgreeno's user avatar
  • 203
6 votes
2 answers
2k views

How do I understand my CPU usage on a DNS server?

I have read and understood Can you help me with my capacity planning?, but I'm not sure I understand what my next steps are in a DNS server scenario. I think my CPU loads are high or that I might be ...
Andrew B's user avatar
  • 33.1k
6 votes
1 answer
8k views

Maximum php-fpm threads per one core

I would like to ask how to get the best (maximum) number of php-fpm threads per one core? How to benchmark it (on linux/debian)? And how to recognize that this count is already too much? Thank you.
thorewi's user avatar
  • 63
6 votes
1 answer
11k views

How much memory is required for base lamp setup? [duplicate]

I am planning on renting a VPS. How much memory is required for a base setup of Debian, Apache, Mysql, PHP? By base, I mean not considering traffic (which will be below 1k hits a day). No ...
user606723's user avatar
5 votes
1 answer
465 views

Complete High Availability System [duplicate]

I'm in the process of configuring a LAMP server but want to make sure it'll be ready for expansion for the future. Here's my current setup.. Two physical windows servers clustered with Hyper-V Two ...
royjr's user avatar
  • 153
5 votes
1 answer
22k views

terminating connection because of crash of another server process

I have a java scraper that spawns around 1,500-2,100 threads, each of which connects to the same database via jdbc and makes inserts. These threads insert quite frequently. It seems like the db ...
jeebface's user avatar
  • 265

15 30 50 per page
1
2 3 4 5
30