Pinba
Encyclopedia
Pinba is the free high-performance real-time statistic and monitoring server for PHP
PHP
PHP is a general-purpose server-side scripting language originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document...

 with MySQL
MySQL
MySQL officially, but also commonly "My Sequel") is a relational database management system that runs as a server providing multi-user access to a number of databases. It is named after developer Michael Widenius' daughter, My...

 read-only interface developed for highloaded websites by Badoo
Badoo
Badoo is a multi-lingual social networking website, managed out of its Soho, London headquarters, but owned by a company in Cyprus and ultimately by Russian entrepreneur Andrey Andreev...

 Development. Available for download under GNU GPL license.

Pinba receives statistical data from numerous PHP threads through UDP
UDP
- Politics :* People's Democratic Union , a left-wing political party in Portugal* Ulster Democratic Party, a political party in Northern Ireland* United Democratic Party , a political party in Belize...

 protocol. It allows not to affect overall performance of PHP scripts on high loaded production servers. Pinba developers states that it is not a debugging tool, since in general it's a bad idea to debug on productions servers, but a tool to discover bottlenecks in the code of real running product with ability to count errors, warnings, overall execution time and other important data.

Reports generated by Pinba server can be further processed to output human-readable reports for developers or even be collected by charts tools like RRD
RRD
RRD may refer to* Reduced Resolution Dataset* Regional rural development* Rejimen Renjer DiRaja, the Malaysian Army Royal Ranger Regiment* Removable rigid dressing* Reti Radiotelevisive Digitali* Roberto Ricci Designs Windsurf and Kiteboard Manufacturer...

 or Munin. It produces to types of reports: common data like execution time of every script, CPU and memory consumption, transferred data size, etc.; users counters data, which can be places anywhere in the code of PHP product.

The gathered data is been rotated and truncated - statistics should be used as soon as possible to generate fresh reports.

Developers

  • Andrei Nigmatulin - initial design, first implementation
  • Alexey Rybak - design and ideas
  • Antony Dovgal - current implementation

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK