Talk in English - US at PHP TEK 2025
Track Name:
Wrigley Field
View Slides: https://dotbox.org/slides/Processing-One-Billion-Rows-in-PHP/index.html
Short URL: https://joind.in/talk/b9d49
(QR-Code (opens in new window))
The 1brc is "a fun exploration of how quickly 1B rows from a text file can be aggregated with Java", but let's face it, we should be able to do this in PHP too, right?
Join me and let's see how fast we can actually aggregate 1B rows in PHP and learn about optimising the performance of PHP software along the way.
Comments
Please login to leave a comment
Great concept to take a coding challenge to show off how fast you can make PHP, not relying on frameworks but just using the core language itself. The profiler screenshots were helpful too in demonstrating how small function calls and code flows could make a huge difference.
Love the real world examples & code.
Very interesting talk. Amazing reduction in processing time!
Thank you for the talk. This was a fun way to get a better understanding of how to deal with this type of problem (which is a problem we have at a much smaller scope) and there are at least a couple of things I'm going to bring back to my team.
My only suggestion is to make the screenshots bigger my poor eyesight had trouble reading them.
Kudos, it was very interesting to see how Florian approached the 1BRC in PHP. Also prompted me to look into improving access/ergonomics of profiling tools in development and prod tracing for projects I work in.
This was a cool deep dive into optimizing php. There were so many tips that I could apply that were both unobvious but simple to solve. The cumulative effect was quite incredible. Great work Florian!!
Fun talk with some useful takeaways to consider for our slower running scripts.
Ended up here after so.e technical troubles in another room. I thought they did a super job of showing how useful php is for general tasks and how much h you can optimize if need be.