Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Sep 28, 2012 1:16 am 
Offline
Newbie

Joined: Fri Sep 28, 2012 1:09 am
Posts: 2
NGINX + PHP-FPM running a Codeigniter app with mysql

Would this be at all possible on Linode setup? Load balanced?

I have been doing some reading and can see it would have to be a hefty solution.

Any thoughts would be great.


Top
   
PostPosted: Fri Sep 28, 2012 1:23 am 
Offline
Sysop

Joined: Sat Nov 27, 2010 3:32 am
Posts: 180
Website: https://blog.timheckman.net/
Location: San Francisco, CA
It's possible with Linode. The real factors here are your application(s) and how much of your system's resources they are using. As well as how you spread the load across different instances. The platform will not be a limitation.

Are these 200,000 concurrent connections or total over a specific amount of time?

-Tim

_________________
'If debugging is the process of removing bugs, then programming must be the process of putting them in.' //Edsger Dijkstra
'Nothing is withheld from us which we have conceived to do.' | 'Do things that have never been done.' //Russell Kirsch


Top
   
PostPosted: Fri Sep 28, 2012 1:26 am 
Offline
Newbie

Joined: Fri Sep 28, 2012 1:09 am
Posts: 2
It would be a spike, so a post on a social media platform would have a link to our app.

I noted that the Linode load balancers to 10,000 concurrent.


Top
   
PostPosted: Fri Sep 28, 2012 8:23 am 
Offline
Sysop

Joined: Sat Nov 27, 2010 3:32 am
Posts: 180
Website: https://blog.timheckman.net/
Location: San Francisco, CA
You are correct that the NodeBalancers support 10,000 concurrent connections. You could add multiple NodeBalancers to your account and then round-robin them. This would essentially distribute the load across multiple ones until you hit the 10k connection limit.

In addition to some sort of load balancing solution, you would also need quite a few backends to handle such a large number of requests.

-Tim

_________________
'If debugging is the process of removing bugs, then programming must be the process of putting them in.' //Edsger Dijkstra
'Nothing is withheld from us which we have conceived to do.' | 'Do things that have never been done.' //Russell Kirsch


Top
   
PostPosted: Fri Sep 28, 2012 3:17 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Linode as a platform can scale to meet your needs, but as your application grows more and more, the complexity (or at least emphasis on) the load balancing solution will also scale. That's not a Linode thing, just a fundamental factor of very large scale applications. Is your application already designed to scale to multiple machines? You would want to have multiple database backend servers, multiple application servers, multiple front-end HTTP servers (although you could mix this with the application servers), etc.

It's not the sort of thing that can be done without modification to the web service, because there are a bunch of factors on multi-server applications that don't happen when everything lives on one box (or one application box and one sql box). Stuff like which server has the client's session data, how you handle multiple database servers, the differences you face when your PHP script isn't running on the same box as what accepted the initial HTTP connection such as what remote IP you see, etc.


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


Who is online

Users browsing this forum: No registered users and 2 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