Tag: performance
File Descriptors & ulimit
PHP 5.0+
File descriptors are integer handles for open files, sockets, and pipes — each process has a limit (ulimit -n), and exhausting them causes 'too many open files' errors.
3mo ago
linux intermediate
Flame Graphs for PHP Profiling
PHP 5.0+
A visualisation of sampled call stacks showing where CPU time is spent — the fastest way to identify hot paths in a PHP application.
3mo ago
performance intermediate
Flyweight Pattern
A structural pattern that shares common state between many objects rather than storing it in each instance — dramatically reducing memory for large numbers of similar objects.
3mo ago
quality advanced
Full-Text Search
PHP 5.0+
1
Efficient natural-language search across text fields using inverted indexes — far faster than LIKE '%query%' for large datasets.
3mo ago
performance intermediate