Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jul 30, 2015 4:40 am 
Offline
Senior Newbie

Joined: Mon Jul 06, 2015 7:30 am
Posts: 6
Hey, I have been playing around with Linode and a LAMP setup now for the past few weeks. I am considering moving my iOS backend from Parse.com to a Linode setup. I would like to know how a 1GB setup will perform.

My app will execute a single PHP script, and most the functions performed will be simple MySQL queries. Either INSERT or SELECT. If for example an average user executes the script on my Linode 10 times a day how much traffic could the 1GB Linode handle? I've noticed in the recommended setup the apache2.conf is like so:

Code:
KeepAlive Off

<IfModule mpm_prefork_module>
StartServers 2
MinSpareServers 6
MaxSpareServers 12
MaxClients 30
MaxRequestsPerChild 3000
</IfModule>


I'm extremely new to server management, but with MaxClients set to 30 does that mean only 30 people can execute a query at the same time? Any pointers on all this would be greatly appreciated. Thanks!


Top
   
PostPosted: Thu Jul 30, 2015 6:14 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
MaxClients 30 means that your server will process up to 30 requests simultaneously. If 40 people are trying to access your server, 10 of them will have to wait a fraction of a second. In most cases, nobody will even notice because the wait will be very brief.

How much traffic your server can handle is directly proportional to how efficient your MySQL queries are. Depending on exactly what those queries are, how much data is involved, and how well you optimize the database, the answer can be anywhere between 10,000 and 10,000,000 requests per day.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group