I have web application build with php and mysql, and I except 5000 requests/sec in the first 6 months. and I register a dedicated server with CPU intel Xeon 4 cores 3.3GHz, 16G ram, Uplink 1000Mbps, bandwidth 25TB, and I tested the webserver using ab benchwork and the results is:  for txt file : ab -n 10000 -c 1000 http://mywebsite.com/file.txt results: 1500 requests/second for php file with only echo "test"; results: 130 requests/second   I just want to know where is the bottleneck?.
This is a  about  Related:      I have a question regarding capacity planning. Can the Server Fault community please help with the following:   What kind of server do I need to handle some number of users? How many users can a server with some specifications handle? Will some server configuration be fast enough for my use case? I'm building a social networking site: what kind of hardware do I need? How much bandwidth do I need for some project? How much bandwidth will some number of users use in some application?
2D random walk within a bounded area Given $a>b>2$ both positive integers, which of $a^b$ and $b^a$ is larger? Given $a&gt;b&gt;2$ both positive integers, which of $a^b$ and $b^a$ is larger?  I tried an induction approach. First I showed that if $b=3$ then any $a \geq4$ satisfied $a^b&lt;b^a$.  Then using that as my base case I tried to show that given any pair of positive integers $a,b$ satisfying $a&gt;b&gt;2$ and $a^b&lt;b^a$, then $(a+1)^{b+1}&lt;(b+1)^{a+1}$ - but that is where I got stuck.  Any help would be appreciated. How to partition for Windows/Ubuntu dual boot on same SSD I have a 500GB SSD in which i would like to have both Windows and Ubuntu. My plan is to have something similar to this: Windows 8.1 and ubuntu 14.04 Uefi boot   an efi partition (created by windows installer) which will have Grub as bootloader 150GB ntfs for Windows 15GB ext4 for Ubuntu (root) 35GB ext4 for Ubuntu (home) ~8-16GB swap for Ubuntu (I have 16GB RAM) ~284-292GB ntfs for Data shared for both Windows and Ubuntu   My current setup is   200GB ntfs Windows 300GB ntfs for Data   I plan to shrink both the Windows and the data partiton in order to achieve my desired plan.  My questions:   Does the order of partitions matter? Does it matter if the ubuntu partitions are not at the end/beggining of the drive? Does the swap partition behaves better if its the last/first partition? Can I use the shared NTFS Data partition between windows and ubuntu without encountering problems? Do I have enough space for my ubuntu /home partition (thinking that I'll have access to the ntfs shared partition)?   Edit: Laptop, Asus N56jr, i7, 16Gb Ram, SSD samsung 850 evo 500gb  Windows 8.1 and Ubuntu 14.04 Problems with fonts I'm an average user of LaTeX, but not proficiency. I'm trying to learn from book templates I've found on the web, but I get this error message:  Trying to make PK font ccicons at 1493 DPI... Running miktex-makemf.exe... miktex-makemf: The ccicons source file could not be found. Running ttf2pk.exe... miktex-makemf: PK font ccicons could not be created.  LaTeX Font Warning: Some font shapes were not available, defaults substituted.  !pdfTeX error: pdflatex.exe (file ccicons): Font ccicons at 1493 not found  ==&gt; Fatal error occurred, no output PDF file produced!   I'm using MiKTeX (over Windows 7), and according to the MiKTeX package manager the "ccicons" package is already installed.  Could you please help me solve this problem? I'm trying to remember a film I saw years ago (1980's?).  The only part I clearly remember is a man and girl being bricked up alive (in a tower?) and escaping by turning his (magically large) coat or cloak into a rudimentary hang glider.  The film had a medieval sword/sorcery setting. How to delete a file in Windows with a too long filename? My wife has several files and folders that somehow ended up having filenames that have caused them to be undeleteable (can't be deleted) by normal means or via the command line. I believe the filenames are too long due to the depth of the folder structures. Does anyone know of a good utility for cleaning up files like this? Database connection close Is there any method to close connection similar to  for  in WordPress?  Is it not necessary to close connection for global $wpdb? Find $\lim_{n\to\infty}2^n\underbrace{\sqrt{2-\sqrt{2+\sqrt{2+\dots+\sqrt2}}}}_{n \textrm{ square roots}}$. Find $\displaystyle \lim_{n\to\infty}2^n\underbrace{\sqrt{2-\sqrt{2+\sqrt{2+\dots+\sqrt2}}}}_{n \textrm{ square roots}}$.   By geometry method, I know that this is $\pi$. But is there algebraic method to find this ?   Thank you. Tensor product vs. Cartesian Product for composite quantum systems Algorithm for computing Hadamard product of two rational generating functions If I have two generating functions $A(x) = \sum_na_nx^n$ and $B(x) = \sum_n b_nx^n$   then the Hadamard product is $(A \star B)(x) = \sum_{n} a_nb_nx^n$.  Now when $A$ and $B$ are both rational functions ($P(x)/Q(x)$ with polynomials $P, Q$) I've seen non-constructive proofs that $A \star B$ is also rational.  Given two rational generating functions $A$, $B$, is there an algorithm that efficiently computes $A \star B$? Or at least a constructive proof you could use to write an algorithm? How can I prevent spam on sites which I control? This is a general, community wiki question to address all non-specific spam prevention questions.  If your question was closed as a duplicate of this question and you feel that the information provided here does not provide a sufficient answer, please open a discussion on .    For purposes of this question, spam will include:   Any automated post Manually-posted content which includes links to spammers' sites Manually-posted content which includes instructions to visit a spammer's site Show that $y_1$ and $y_2$ are not Linearly Independent Suppose that $y_1(x)$ and $y_2(x)$ are solutions of the differential equation $y''+py'+qy=0$ on $I$. How can I show that if $y_1$ and $y_2$ vanish at the same point then they are not linearly independent?   Here is my attempt to prove the problem. Since $y_1(x)$ and $y_2(x)$ are solutions of the differential equation $y''+py'+qy=0$ on $I$, it is enough for me to show that the Wronskian of $y_1$ and $y_2$ denoted by $W(y_1,y_2)$ is zero. Now since $y_1$ and $y_2$ vanish at the same point say $p$ we have $y_1(p)=0$ and also $y_2(p)=0$.   Solving for $W(y_1,y_2)(p)$ we have: $y_1(p)y_2'(p)-y_2(p)y_1'(p)=0$ since $y_1(p)=0$ and also $y_2(p)=0$.   Am I correct? Thanks I am trying to define a proof for  $A \cup B = B$ if and only if $A \subset B$  I started with:  $$A \cup B$$ $$x \in A \lor x \in B$$   but I am unsure on how to continue. Is it correct to use the word "birthday" for the deceased, or is there a better alternative? How does one refer to the birthdate of someone who is no more, we usually say  Today is my uncle's 80th birth anniversary (Common in Indian English, not sure if it's correct)  or  Today would have been my uncle's 80th birthday   Is it right to say  "Today is my uncle's 80th birthday" for an uncle who is dead? Windows 10 upgrade assistant stuck at 99% Installed Windows 7 Ultimate (64-bit) on a fresh PC and after installing service pack 1 started the upgrade to Windows 10. The assistant app downloads and verifies but gets stuck at 99% in the upgrading window phase. Even after hours it remains stuck there.  I've tried to reboot the machine and that doesn't help either. I've googled and found out that others have faced the exact problem but so far there isn't any solution that works.  Has anyone seen that situation and is there a fix for it? "He didn't know where New Jersey was" We're building a feature for a website and trying to think of a hypernym for clients, partners and members so that the feature remains generic enough for re-use later on other websites. How can I prove that $$\displaystyle x-\frac {x^2} 2 &lt; \ln(1+x)$$ for any $x&gt;0$  I think it's somehow related to Taylor expansion of natural logarithm, when:  $$\displaystyle \ln(1+x)=\color{red}{x-\frac {x^2}2}+\frac {x^3}3 -\cdots$$  Can you please show me how? Thanks. I am looking for a book that goes through the mathematical aspects of neural networks, from simple forward passage of multilayer perceptron in matrix form or differentiation of activation functions, to back propagation in CNN or RNN (to mention some of the topics).  Do you know any book that goes in depth into this theory? I've had a look at a couple (such as Pattern Recognition and Machine Learning by Bishop or Deep Learning by Goodfellow, Bengio and Courville) but still have not found a rigorous one (with exercises would be a plus). Do you have any suggestions? Where are all islands and discoverable locations? After taking off in Simpleplanes and flying around over the ocean for a while, I've found a lots of tiny islands all over the place, and a few really big ones that unlock new spawn locations once found.  Large islands appear to also have many discoverable 'locations' around them as well, like airports, carriers, or landmarks.  These locations automatically become available as start points once discovered.  Where can I find all of these major islands, and once there, where should I look to unlock all of the locations?