War Room

Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Featured Warrior Special Offer...
"Members Of The *War Room* Discover Secrets To Immediate Success!"
Reply
 
LinkBack Thread Tools
Old 07-28-2009, 05:19 AM   #1
ForexSignalMentor.com
War Room Member
 
askloz's Avatar
 
Join Date: Mar 2008
Location: United Kingdom.
Posts: 2,088
Blog Entries: 3
Thanks: 36
Thanked 153 Times in 117 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Yahoo to askloz Send a message via Skype™ to askloz
Default What's the best Servers / MYSQL types to hold as many concurrent connections

Hey techno guru's.

Does anyone know what would be the best set up / equipment that can hold as many concurrent connections as possible?

User base will be around 10,000 users simultaneously. One query per connection.

And anyone know the prices for such setup hardware / software configurations.

Cheers

askloz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-28-2009, 03:19 PM   #2
Warrior Member
 
Join Date: Jun 2008
Location: , , USA.
Posts: 22
Thanks: 2
Thanked 5 Times in 5 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Default Re: What's the best Servers / MYSQL types to hold as many concurrent connections

I would imagine you would need a dedicated or at the very least high level VPS that has a lot of memory and processing power. Don't have specifics though but I would start with a stronger, bigger server.

L Chandler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-29-2009, 11:32 AM   #3
ForexSignalMentor.com
War Room Member
 
askloz's Avatar
 
Join Date: Mar 2008
Location: United Kingdom.
Posts: 2,088
Blog Entries: 3
Thanks: 36
Thanked 153 Times in 117 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Yahoo to askloz Send a message via Skype™ to askloz
Default Re: What's the best Servers / MYSQL types to hold as many concurrent connections

Thx, but was looking for more technical specs really that will handle 10,000+ concurrent connections.

askloz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-29-2009, 03:29 PM   #4
Warrior Member
 
Join Date: Jun 2008
Location: , , USA.
Posts: 22
Thanks: 2
Thanked 5 Times in 5 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Default Re: What's the best Servers / MYSQL types to hold as many concurrent connections

Maybe what would work better is if you posted the specs of what you have or have in mind. This is an wide open question and very difficult to answer without a starting point know what I mean?

L Chandler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-29-2009, 08:33 PM   #5
Active Warrior
 
Join Date: Jul 2009
Location: Pennsylvania, US
Posts: 30
Thanks: 2
Thanked 10 Times in 9 Posts
Default Re: What's the best Servers / MYSQL types to hold as many concurrent connections

Number of concurrent connections isn't as important as:
1) the resource cost of the connection
2) the length of time that connection is in use from a given application.
3) amount of reading versus writing over the connections (ie - you may want separate, replicated databases where you have master write server and slave read servers for less locking)

If you employ caching mechanisms (content level, data level, connection level) and have a proper distribution of indexes for your queries, you're not going to need 10k concurrent connections unless you've sorted out a lot of other factors and have craaaazy traffic. You'll most likely be disk bound due to your data access strategies long before you hit 10,000 concurrent connections.

Then again, I'm speculating completely because you've not shared any info about the system architecture at all.

This is similar to asking which car should you buy to get the most horsepower? Is this question relevant if you're planning on driving on a super curvy road that's going to be wet, muddy and uneven? Definitely not.

To growth and success,

Max Leadford

Hit the Thanks in the lower right if you found this post useful. Thanks! ;-)
How To Get Leads, Conversion & Cashflow Using Passive (FREE!) Promotion - 8 Part eCourse Spills the Beans
Serial Ramblings of an Entrepreneur
Kiva.org - Help aspiring entrepreneurs by giving low sum loans.
maxleadford is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-29-2009, 10:18 PM   #6
PHP Programmer Deluxe!
War Room Member
 
ryanstreet's Avatar
 
Join Date: Nov 2007
Location: Dayton, OH, USA
Posts: 149
Thanks: 22
Thanked 5 Times in 5 Posts
Social Networking View Member's Myspace Profile  View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via AIM to ryanstreet Send a message via MSN to ryanstreet Send a message via Yahoo to ryanstreet Send a message via Skype™ to ryanstreet
Default Re: What's the best Servers / MYSQL types to hold as many concurrent connections

Most shared hosting servers will only allow a max of up to 50 simultaneous connections, so you will absolutely need a dedicated.

With as many connections as you are speaking of, you should consider a Database exclusive Box. Have one setup for your hosting and use a dedicated server to host your database. That way, you can have an entire box devoted to maintaining your database and connections.

As your need rises, you can get a write server and a box to send cache copies to other boxes with a load handler to top it all off.

Honestly, you can talk to your hosting providers and they can set a lot of this stuff up for you.

I hope this helps.

ryanstreet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2009, 05:03 AM   #7
ForexSignalMentor.com
War Room Member
 
askloz's Avatar
 
Join Date: Mar 2008
Location: United Kingdom.
Posts: 2,088
Blog Entries: 3
Thanks: 36
Thanked 153 Times in 117 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Yahoo to askloz Send a message via Skype™ to askloz
Default Re: What's the best Servers / MYSQL types to hold as many concurrent connections

I dont know, that's why I am asking, if I was a server techno geezer, I wouldn't of asked some help from the "guru's" here.

Quote:
Originally Posted by L Chandler View Post
Maybe what would work better is if you posted the specs of what you have or have in mind. This is an wide open question and very difficult to answer without a starting point know what I mean?

askloz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2009, 05:06 AM   #8
ForexSignalMentor.com
War Room Member
 
askloz's Avatar
 
Join Date: Mar 2008
Location: United Kingdom.
Posts: 2,088
Blog Entries: 3
Thanks: 36
Thanked 153 Times in 117 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Yahoo to askloz Send a message via Skype™ to askloz
Default Re: What's the best Servers / MYSQL types to hold as many concurrent connections

Quote:
Originally Posted by maxleadford View Post
Number of concurrent connections isn't as important as:
1) the resource cost of the connection
2) the length of time that connection is in use from a given application.
3) amount of reading versus writing over the connections (ie - you may want separate, replicated databases where you have master write server and slave read servers for less locking)
Trust me, it is, cost is not an factor here.

Quote:
Originally Posted by maxleadford View Post
If you employ caching mechanisms (content level, data level, connection level) and have a proper distribution of indexes for your queries, you're not going to need 10k concurrent connections unless you've sorted out a lot of other factors and have craaaazy traffic. You'll most likely be disk bound due to your data access strategies long before you hit 10,000 concurrent connections.

Well I do need more than 10000 connections, i wouldn't of asked otherwise.

Come on please guys,as much as I appreciate the replies, not one of you have come out with any specs, if you're not 110% familiar with servers and their capability and can not recommend a certain type, spec, where to get it, etc, please dont post.

With respect.

askloz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-30-2009, 04:15 PM   #9
Active Warrior
 
Join Date: Jul 2009
Location: Pennsylvania, US
Posts: 30
Thanks: 2
Thanked 10 Times in 9 Posts
Default Re: What's the best Servers / MYSQL types to hold as many concurrent connections

askloz,

You ever find your answer?

Without any more information on your project, the best I have to offer beyond what I mentioned above...

#1 - Set up a Master "write" box that takes all incoming data and shares that across multiple "read" Slave systems through batched / delayed INSERTs.

#2 - Add a memcache session handling box that caches the "write" data so that the "reads" come through for the client doing the writes until the new data is propagated to the Slave systems.

#3 - This should hold for a while with some horizontal scaling of memcache & read/Slave systems.

#4 - Once the writes become excessive, adding a full write-caching layer will allow additional throughput.

This sort of scaling solution will allow you to grow beyond 10,000 connections and makes some room for incremental upgrades of your hardware as newer / faster resources become available. Trying to set up a single machine to run 10,000 connections is a big deal when you have it working and then the system dies for some unknown reason. Scaling through an array of hardware raises your chance of system failure, but it also increases resilience.

If you haven't, you might also consider looking into something like Hadoop.

To growth and success,

Max Leadford

Hit the Thanks in the lower right if you found this post useful. Thanks! ;-)
How To Get Leads, Conversion & Cashflow Using Passive (FREE!) Promotion - 8 Part eCourse Spills the Beans
Serial Ramblings of an Entrepreneur
Kiva.org - Help aspiring entrepreneurs by giving low sum loans.
maxleadford is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-30-2009, 06:59 PM   #10
HyperActive Warrior
War Room Member
 
HomeComputerGames's Avatar
 
Join Date: Jun 2009
Location: Chesterton, IN
Posts: 289
Thanks: 6
Thanked 40 Times in 36 Posts
Default Re: What's the best Servers / MYSQL types to hold as many concurrent connections

Systems engineering is not a free service in most instances and no one is going to freely spec out a system design for you.
If cost is not a factor then hiring a consultant would be wise.

With that many hits concurrently you will want to cluster servers, have failover servers, and have a systems administrator to run it all.
Then what about a mail server? Do you plan on sending mass email?

How about security? A firewall needs to be set up, preferably on it's own box if security is a major issue.

Will you be co-locating your servers or renting them? Your security is only as secure as the people that have access to it.

There are other factors that need considered also, so there really is no one answer.
How DB intensive is the site?
Do you plan on running a banner management system?
Is the site world wide or just open to specific countries?
What about a development server? You don't want to develop on your live servers I wouldn't think.

Is there any Credit card processing?
You have issues when dealing with the Credit Card companies. There are conditions that you must follow including security specs that need to be filed quarterly with your merchant services provider. Or face up to $20,000,000 in fines from Visa. You must have PCI security measures in place along with disaster procedures. All of your servers and equipment must be PCI compliant also. Including any routers and software used.

And that is just scratching the surface. For such a system planning needs to be done. Not just a single system purchased.

Good luck

HomeComputerGames is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
concurrent, connections, hold, mysql, servers, types

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 04:46 PM.