May 25, 2012

Post: Configuring MySQL For High Number of Connections per Second

… that there were roughly 2,000 new connections to MySQL per second during peak times. This is a high number by any… and 2000 connections created per second it will take just 0.025 seconds to fill the queue completely if requests are not served, which…). Another important setting if you’re working with many connections per second is thread_cache which impacts cost of connections dramatically. You…

Post: Evaluating IO subsystem performance for MySQL Needs

… interested about writes which show us how many cached writes per second we can do – this is important for log writes, which… many outstanding requests. Running with more than one threads you may also take a look at another table SysBench displays: per-request statistics… –file-test-mode=rndwr run Now we get 827.94 Requests/sec requests per second, which is not bad considering this is RAID5 volume…

Post: Virtualization and IO Modes = Extra Complexity

… to do no more than a bit over 100 writes per second as even in case there is no disk seek we… as it times only writes not fsync() calls…. 22 fsync requests per second is pretty bad though I assume It can be realistic… events: 33900 total time taken by event execution: 37.5364 per-request statistics: min: 0.10ms avg: 1.11ms max: 259.69ms…

Post: The two even more fundamental performance metrics

… be a steady but variable “white noise” of incoming requests, and most requests will take about the same time to process and… the server handles 20k requests per second. A few of the requests will arrive in one second and complete in the next second, so at the… of requests that span the transition between seconds will be small. So if we count the arrivals and completions in each second, and…

Comment: Lighttpd as reverse proxy

seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 254900000 bytes HTML transferred: 224100000 bytes Requests per second: 9134.93 [#/sec] (mean) Time per request: 21.894 [ms] (mean) Time per request: 0.109 [ms] (mean, across all concurrent requests) Transfer…

Post: When would you use SAN with MySQL ?

requests per second. True the SAN can have much more hard drives than directly attached storage but usually also at much higher prices per… need to be serialized. Second, MySQL is often not able to submit a lot of outstanding IO requests which is needed to… usually it is not able to drive number of outstanding request significantly. For write intensive workload you will have problem with…

Post: Innodb Fuzzy checkpointing woes

… data – 100% “utiization” corresponds both to 1 or 20 outstanding requests which  are very different.  One however probably can combine… 1000 requests per second and the best would be to keep 16 outstanding requests at the time.   The number of outstanding requests is also very important -  if you do not submit enough concurrent requests IO subsystems will not…

Post: Reasons for MySQL Replication Lag

… could be one common example. Sometimes it is not fault per say but operating mode change may cause the problem. Many… case scenario you might be looking at some 100 pages per second which is 1.6MB/sec which may take 24+hours… time) while less work is being done in terms of requests per second. Should be easy to see on the graphs. If you…

Comment: Sharing an auto_increment value across multiple MySQL tables

Option 3: use Redis INCR mysql:id Returns the next ID to use, and can handle 100k of these requests per second on a laptop

Comment: When should you store serialized objects in the database?

… it into the database. Different strokes for different folks. 70 requests per second is not a lot in the most general terms, and…