Monday, May 4. 2009locating bottlenecks in PHP code with Pinba
Good news everyone! ©
I'm proud to announce Pinba - a statistics server for PHP. What is it? It's a daemon gathering information sent by PHP processes by UDP. In the same time Pinba acts as a read-only storage engine for MySQL, so you can use good ol' SQL to access the data. What is it useful for? We at Badoo.com have a lot of web-servers running PHP and want to know where are the most problematic places in our PHP code and which services are loaded the most. There is no need to store that information for further analysis, therefore Pinba doesn't actually store the data - it keeps it only for 15 minutes (you can change that, of course), which is more than enough to update graphs (we use RRDTool for that part) and to check things like "what's the slowest operation in script.php at server #5" or "which memcache server is the slowest" and alike. Complex queries can be also handled using raw data tables, which provide direct access to each request data, but in most cases reports do the job. More details you can find on the website: pinba.org I'd love to get some feedback, so don't hesitate to join Pinba development mailing list. Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
What do you mean what happened?
It lives just fine @ pinba.org |
QuicksearchArchivesCategoriesSyndicate This Blog |