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.

Contact me
Daniel Lockyer

Daniel Lockyer

📍 Amsterdam, Netherlands https://daniellockyer.com

Posts by

Twenty-nine

Following on from my previous posts for my twenty-third, twenty-fourth, twenty-fifth, twenty-sixth, twenty-seventh and twenty-eighth birthdays, here is my recap of my twenty-ninth year on Earth. In the last year, I have: * come 2nd place in the Sri Chinmoy Self-Transcendence 50km * visited Vuurtoreneiland for Sanne's birthday * been to

1 min read

How to capture a CPU profile in Node.js

# Find the process ID of the Node program ps -H aux # Enter the Node inspector node inspect -p <pid> # Start profiling: profile # Wait until you've captured enough of a timeframe # Stop profiling: profileEnd # Save the profile: profiles[0].save(filepath = 'node.cpuprofile') # Exit the

How to resend all failed Stripe webhooks

If you've had issues with your webhook endpoint, and Stripe failed to send webhooks to you, it'll automatically retry with an exponential backoff. However, you might want to manually trigger the events to be resent before the automatic attempt. Stripe allows you to do this via

1 min read

Running goals for 2024

* 5km: 17:00 (3:24 min/km) * 10km: 36:00 (3:36 min/km) ✅ * Half marathon: 1:20:00 (3:47 min/km) * Marathon: 2:45:00 (3:55 min/km)

Twenty-eight

Following on from my previous posts for my twenty-third, twenty-fourth, twenty-fifth, twenty-sixth and twenty-seventh birthdays, here is my recap of my twenty-eighth year on Earth. In the last year, I have: * spent Christmas + New Year in the Netherlands * been to Spain * received a Netherlands residency permit * moved to an apartment

Running goals for 2023

* 5km: 18:30 (3:42 min/km) → ✅ 17:44 (3:33 min/km) * 10km: 39:00 (3:54 min/km) → ✅ 36:55 (3:42 min/km) * Half marathon: 1:25:00 (4:02 min/km) → ✅ 1:21:30 (3:52 min/km) * Marathon: 2:59:59 (4:16 min/km)

Twenty-seven

Following on from my previous posts for my twenty-third, twenty-fourth, twenty-fifth and twenty-sixth birthdays, here is my recap of my twenty-seventh year on Earth. In the last year, I have: * lived in numerous countries and apartments * ran Ashby 20 (miles) in March * ran 31km for Sanne's birthday in

Running targets for 2022

A clone of my targets for 2020 because I haven't achieved them yet. * 5km: 18:30 (3:42 min/km) * 10km: 39:00 (3:54 min/km) * Half marathon: 1:25:00 (4:02 min/km) * Marathon: 2:59:59 (4:16 min/km)

Twenty-six

Following on from my previous posts for my twenty-third [https://daniellockyer.com/twenty-three/], twenty-fourth [https://daniellockyer.com/twenty-four/] and twenty-fifth [https://daniellockyer.com/twenty-five/] birthdays, here is my recap of my twenty-sixth year on Earth. In the last year, I have: * lived in York, UK for 1 year * ran a

My first 100km run

It's been long since I did this run and I originally wrote the bulk of this post in the week after, but recovery was tough and I lost the drive to continue writing after a couple of weeks. Having looked at this draft every time I log in,

6 min read