Tag: PHP

6 posts • View all posts

An Internet of PHP

Statistics and anecdotes about PHP at scale.

Profiling PHP in production at scale

At Wikipedia, we built an efficient sampling profiler for PHP, and use it to instrument live requests. The trace logs and flame graphs are powered by a simple setup that involves only free open-source software, and runs at low infrastructure cost.

Many dots, do not a query make

How a long sequence of dots allowed a regex to reach its internal stack limit.

To throw or not to throw, that is the question

Why does software accept invalid data? And, at what software layer should we reject it? Also, what are “namespaces” and “special pages” on Wikipedia?

Tomorrow, may be sooner than you think

These are short stories from bug hunts and incident investigations at Wikipedia.

Missing partitions, disappearing audio players, and extreme packet loss

These are short stories from bug hunts and incident investigations at Wikipedia.