A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: mysql real-world limitations...

Threaded View

  1. #1
    Senior Member joshstrike's Avatar
    Join Date
    Jan 2001
    Location
    Alhama de Granada, España
    Posts
    1,136

    mysql real-world limitations...

    Hey y'all, I was wondering if any seriously hardcore mysql hands could toss out an opinion here...

    I've got this app in beta which is gonna scale in a cellular way across lots of different servers -- not federated, not slaved, just basically different servers handling different regions and backing everything up every few minutes to the core. I'm trying to figure out how to maximize the number of users on each server when it launches while minimizing launch costs and keeping it cheaply scalable.

    What I want to know is, given the stats listed below, (1). how many users do you think this app will manage to accommodate on the Dual Pentium 4 3.2 Ghz box it's currently running on, before it runs into delays and trouble, and (2). what multiple of that number could be accommodated on a single Xeon box?

    I can't seem to find any docs on what the real-world capacities are for a mysql server based on differing processor speeds. Assume for the exercise that the server is in the same room as all the other servers and transfer is done over fiber; I'm guessing the bottleneck will be the SELECTs...

    Here are the test averages, for 10 concurrent beta users pushing the system fairly hard:

    PHP Code:
    (STAT             MIN MAXAVG
    QUERIES/SEC 82avg24 (including inserts updates
    INSERTS/SEC 4avg
    UPDATES
    /SEC 24avg
    TRAFFIC 
    Up to 116,500AVG48,900

    CPU Usage
    u16.9 s10.81 cu642.61 cs0 .00244CPU load
       .141 requests
    /sec 2646 B/second 18.3 kB/request
       14 requests currently being processed
    8 idle workers
    (this includes the httpd making the mysql calls). 
    So if that's 10 users, can I cram 10,000 on there as the CPU load would suggest? Or what do you think the upward limit is on this box, and how many more could I get on a faster one?

    Thanks to anyone with the knowledge who responds to this...

    (edit) I should have noted too that the query cache hit ratio on those selects is averaging around 45%...
    Last edited by joshstrike; 10-27-2009 at 11:37 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center