Daniel Lockyer

Daniel Lockyer

Performance and scaling consultant who analyzes the full stack - frontend, backend and infrastructure - to generate more revenue and cut costs for businesses.

Remote • Available for monthly retainer and bespoke projects.

Book a Call

Tech

A collection of 16 issues

Hiding your Linode server IP with Cloudflare

Over at Nomad List [https://nomadlist.com] and Remote OK [https://remoteok.io], we recently switched our server IP to protect against DDoS attacks. Whilst the main sites had been on Cloudflare for a couple of months, the server IP was easily findable on Google and we had experienced several

1 min read

Generating response time histograms for PHP

Whilst debugging an issue related to response times on Nomad List [https://nomadlist.com] and Remote OK [https://remoteok.io], I started to think about what kind of data we have available to analyse. We keep access logs for all requests coming through the PHP-FPM engine. I briefly wrote about

1 min read

How to generate PHP Flamegraphs

In my quest to optimise the PHP sites I work on, I found that the Flame Graph repository contains a script to convert XDebug traces. Flame graphs, created by Brendan Gregg, visualize the most frequently hit code from profiled software. The x-axis represents the profiled stack traces, ordered alphabetically, and

2 min read

How to find slow PHP scripts

It is important to keep a website fast so users have a good experience. Some pages on your website may be slower than others, possibly due to slow backend code. I use this super simple method to find the slowest loading PHP scripts and fix them. {: .center-image } Remember, you can&

1 min read

Fuzzing Rust

I spent some time fuzzing various Rust fuzzing tools against Rust libraries. This table is a list of all the issues I found and links to my bug report. DateProjectDescriptionLink2017-03-13ntp [https://github.com/JeffBelgum/ntp]Fix panic caused by a malformed inputPR [https://github.com/JeffBelgum/ntp/pull/1] 2017-03-23npy-rs

1 min read

How to profile your PHP apps

Part of my job at Nomad List [https://nomadlist.com], Remote OK [https://remoteok.io] et al. is to keep the sites fast and responsive, even from an influx of traffic to Pieter's [https://twitter.com/levelsio] latest app. Launches are usually kept controlled by exporting the pages

3 min read