How to configure apache web server to server more than 2000 TPS I'm on Cent OS 7 and I have installed fresh apache(httpd) server. There is 16 GB memory installed in the server. I created a simple API in PHP at /var/www/html called testAPI.php. PHP code is as bolow. Note that it has 5 second delay in it. &lt;?php        $age = '{&quot;Peter&quot;:&quot;Good&quot;, &quot;Ben&quot;:37, &quot;Joe&quot;:43}';        header('Content-Type: application/json');         sleep(5);         echo $age; return; ?&gt;  I did a simple load test with Apache jmeter and I couldn't go beyond 100 TPS. How can I configure the webserver to serve 2000 TPS with reasonable delay profile?
How do you do load testing and capacity planning for web sites? This is a  about capacity planning for web sites. Related:      What are some recommended tools and methods of capacity planning for web sites and web-applications? Please feel free to describe different tools and techniques for different web-servers, frameworks, etc., as well as best-practices that apply to web servers in general.
Most incarnations of The Hulk I've seen or read about state that he is as strong as he needs, basically meaning that there is no limit to how strong he can get.  Is there any canon regarding this? Have we seen the upper limit of the Hulk's strength? Mark a comment as the answer to a question How to check if a string contains a substring in Bash I have a string in Bash: string=&quot;My string&quot;  How can I test if it contains another string? if [ $string ?? 'foo' ]; then   echo &quot;It's there!&quot; fi  Where ?? is my unknown operator. Do I use echo and grep? if echo &quot;$string&quot; | grep 'foo'; then   echo &quot;It's there!&quot; fi  That looks a bit clumsy. Reverse polarity protection How do you create a daemon in Python? reveals x2 code snippets. The first result is to  which has a lot of documentation and explanation, along with some useful discussion underneath.   However, , whilst not containing so much documentation, includes sample code for passing commands such as start, stop and restart. It also creates a PID file which can be handy for checking if the daemon is already running etc.  These samples both explain how to create the daemon. Are there any additional things that need to be considered? Is one sample better than the other, and why? Old Budrys(?) end-of-world/alien invasion of NYC story This one, from the late 1950s or early 60s (I think), features the last girl in NYC, who drives her jeep up the stairs of the main library (with the lions). She feels bad about breaking the lock, but what's a girl to do, if she wants something to read? In summertime, she drives topless and, the author writes, her bosom dances enchantingly on the steps. She lives in the boathouse on the lake in Central Park. Mysterious insect-like aliens are eating the buildings in the City.... I didn't recognize a title in Budrys or Bester's isfdb bibliogs, so I may be wrong about the author. But not about the story details: it's a memorable one. Thanks in advance for helping ID this one! How to remove the WordPress version from some .css/.js files I know that I can use the following function to remove the version from all .css and .js files:  add_filter( 'style_loader_src', 'sdt_remove_ver_css_js', 9999 ); add_filter( 'script_loader_src', 'sdt_remove_ver_css_js', 9999 ); function sdt_remove_ver_css_js( $src ) {     if ( strpos( $src, 'ver=' ) )         $src = remove_query_arg( 'ver', $src );     return $src; }   But I have some files, for instance style.css, in the case of which I want to add a version in the following way:  function css_versioning() {     wp_enqueue_style( 'style',         get_stylesheet_directory_uri() . '/style.css' ,         false,         filemtime( get_stylesheet_directory() . '/style.css' ),         'all' ); }   But the previous function removes also this version. So the question is how to make the two work together? If I have a Xaml Window, how does one open it as a child window, and then have the parent window wait for the child to close before the parent window continues executing? The legacy tray (see the screenshot below) will be removed in GNOME 3.26. I want to wean myself off it before the change arrives in Ubuntu (17.10 or 18.04).    Can I disable the legacy tray in Ubuntu GNOME 17.04? Making adult decisions "is" or "are" really not fun: Which is correct? Say I have two Chrome windows open like this:   It seems that the most recently used window always appears on top. In other words, the &quot;Apply Digital Signatures&quot; was the window I had open last. If I were to switch to the window showing the new tab, then the order in which the windows are displayed in the task bar suddenly changes. Is there a way to keep them from shuffling around? I'd like to be able to order them however I want, like tabs in a web browser. (I'd also like to put them across different workspaces.) Why Session object destruction failed Why do RAW images in Darktable have a lot of noise? I'm working on a map in Bedrock Edition, and I need to have a command block at the end that says "Congratulations [player], you win!" Because it's a map, I cant just have it say a specific player's name, and I've seen maps that do exactly what I want mine to do. How do I format the command to allow this? I have just upgraded to Ubuntu 17.10 and found out there is no option to have 2 by 2 workspaces. I was able to configure 4 "static" workspaces using , but I would like to have them in 2 rows by 2. Any ideas? Would time speed up near a large body of negative mass relative to observers in micro gravity? Time tends to slow down near objects with large amounts of positive mass relative to observers in micro gravity.  Considering that negative mass is the opposite of normal mass and would time tend to speed up near a body of negative mass relative to observers in micro gravity? Should smilies be turned into images in questions and answers? A lot of mention has been made of the seriousness of Stack Overflow (and presumably Server Fault). Would it be a good idea to turn  :-) into actual images as per  in questions and answers? when calling SCP in PuTTY on my Win7 box, it doesn't let me use C:/, but I also have no idea where on my local machine it will look for files by default. None of program directory or user directory worked. For example, I saved file.txt next to PuTTY.exe, and also in C:\Users\Me but calling SCP file.txt file.txt in PuTTY failed both times with      cp: cannot stat 'file.txt'   So, how do I transfer a file to my server using PuTTY?  EDIT: Also, calling SCP file.txt myserver:file.txt gives a similar error: file.txt: No such file or directory Which external Javascript libraries work with Lightning Locker Service? Components often seem to work with external libraries until the Locker Service is enabled. What libraries work with locker service enabled and where can I go to find out? Is there a comma needed before quotation?