Daniel Lockyer Profile Banner
Daniel Lockyer Profile
Daniel Lockyer

@DanielLockyer

10,363
Followers
67
Following
224
Media
2,060
Statuses

long distance runner engineer @ghost server guy @nomadlist @remoteok +

Amsterdam
Joined December 2010
Don't wanna be here? Send us removal request.
Pinned Tweet
@DanielLockyer
Daniel Lockyer
2 months
For the last 10 years, I've managed servers for @levelsio (Nomad List, Remote OK + PhotoAI), Ghost and many others. I've learnt a lot, and met a bunch of helpful people, so I thought it'd be nice to have a community dedicated to server problems: ⚙️ Post
92
136
2K
@DanielLockyer
Daniel Lockyer
29 days
Vercel pricing is absolutely insane, it blows my mind Data transfer starts at $150/TB with 1TB included Hetzner gives 20TB free, and then it's €1.19/TB So 20TB on Vercel is $2850, on Hetzner it's free (included with VPS) And then you have to pay extra per request? Perhaps
101
106
3K
@DanielLockyer
Daniel Lockyer
1 month
In the Netherlands, the cucumbers are from Spain In Spain, the cucumbers are from the Netherlands How can this make sense? What's the underlying market force at play here?
36
13
482
@DanielLockyer
Daniel Lockyer
2 months
Update: server survived, no stress
@levelsio
@levelsio
2 months
If the server can survive an @elonmusk tweet will we have proven the VPS simple stack thesis once and for all?
123
53
2K
24
5
478
@DanielLockyer
Daniel Lockyer
2 months
My first ever internet moneys 🥲
Tweet media one
9
2
400
@DanielLockyer
Daniel Lockyer
2 months
My favorite thing about the PHP stack is it lends itself to simplicity. You run Nginx + PHP-FPM, and point it to some files. Website updates = replace the files. No application restarts, no container issues, no complex deployment strategies, no crazy stateful application logic
21
26
381
@DanielLockyer
Daniel Lockyer
2 months
working on side projects is like a video game you're on a difficult mission and you gotta find your way through the level sometimes you die and go back to start but you learn
18
41
316
@DanielLockyer
Daniel Lockyer
29 days
@luke_pighetti CFOs: *dying inside*
1
0
301
@DanielLockyer
Daniel Lockyer
2 months
If you currently use Docker Desktop, I can highly recommend switching to @OrbStack : It's faster, lighter and has other great features like: - automatic local HTTPS - full Linux machines w/ shared mounts - native K8s engine - not incredibly painful to use
9
25
204
@DanielLockyer
Daniel Lockyer
2 months
Most people are missing the point of having a simple setup. How much time has been saved by not having to deal with the ever-changing mess of "modern" development? Time better spent building features, marketing, making money or enjoying life
@levelsio
@levelsio
2 months
The CPU % on my VPS server even went down not up since @lexfridman podcast and @elonmusk tweet While traffic more than tripled and revenue doubled Not serverless, not edge, not kubernetes, not auto scaling Just 1 simple VPS for all my sites Thx to @DanielLockyer my DevOps guy
Tweet media one
Tweet media two
234
184
4K
5
14
173
@DanielLockyer
Daniel Lockyer
5 years
"Serverless: 15% slower and 8x more expensive"
4
49
174
@DanielLockyer
Daniel Lockyer
4 years
🎉 Today is my 25th birthday! As usual, I've written my year-in-review: To celebrate the day, I went out and ran 61km 🏃‍♂️
Tweet media one
11
2
159
@DanielLockyer
Daniel Lockyer
10 years
@elonmusk Build it into a flying aircraft carrier like in the Avengers
7
47
136
@DanielLockyer
Daniel Lockyer
6 years
🖥️ Need server help? 🔥 Performance optimization ⚙️ Server maintenance 🔐 Website security
1
7
115
@DanielLockyer
Daniel Lockyer
6 years
⚙️Today I was adding my upcoming trips to @NomadList but I realised how slow the user pages were so @levelsio and I spent a few hours speeding them up (using techniques from ) - making them 61% faster! 🔥
Tweet media one
1
10
111
@DanielLockyer
Daniel Lockyer
7 months
Decided to run a marathon on a running track a couple of days ago. Been wanting to do this for a while and it did not disappoint. Expected hard mental effort but 3.5 hours flew by. 10/10 would do again
Tweet media one
Tweet media two
10
0
112
@DanielLockyer
Daniel Lockyer
5 years
💀 The @linode server powering @NomadList and @remote_ok went down and then corrupted a couple of days ago. 👍 I managed to fix it and get it back up within 1 hour. ✍️ I wrote about what happened and how it was fixed.
6
13
105
@DanielLockyer
Daniel Lockyer
7 years
I wrote about how I use ⚙️open source tools and 🔎custom scripts to monitor @levelsio 's 🗺 @NomadList and 💻 @remote_ok 👉
Tweet media one
1
7
103
@DanielLockyer
Daniel Lockyer
1 month
So we've had AI for a while now - where are we at with AI automatic bug fixes? Receive error (Sentry whatever) -> come up with fix -> open PR -> maybe auto-merge if high confidence? Is this a thing yet?
34
4
104
@DanielLockyer
Daniel Lockyer
1 month
Don't overthink what it takes to run your own servers
@Zeko369
Fran Zekan
1 month
Most people: no, security is hard @dhh : "Just fucking lock the door" YES, it's easy #RailsWorld
Tweet media one
30
66
1K
6
4
101
@DanielLockyer
Daniel Lockyer
6 years
Even the @official_php website is still running PHP 5.6, which reaches its end of life in 69 days ⚙️
Tweet media one
5
36
99
@DanielLockyer
Daniel Lockyer
2 months
Remember, software development is just a means to an end For @levelsio , running a business and making an impact is more important. Refactoring code, updating to the latest version of xyz framework, or figuring out why his code isn't deploying is not a productive use of time
5
3
98
@DanielLockyer
Daniel Lockyer
1 month
Putting the Cloudflare free plan in front of your site (takes a matter of minutes, depending on DNS) is one of the quickest wins I can think of for increased speed and security
@dhh
DHH
1 month
This is why I love Cloudflare. Owning your own hardware doesn't mean you can't contract with a bodyguard. We do that and it saved our bacon a few months ago when we were attacked.
23
52
1K
4
4
100
@DanielLockyer
Daniel Lockyer
29 days
@t3dotgg A fair point! But this is such a dangerous footgun for the average developer/team. Looking forward to the video :)
1
0
89
@DanielLockyer
Daniel Lockyer
5 years
Don't place ads from a 3rd party on your site if you want to keep it fast. I'm looking at a 300ms loading time (7 requests) site that turned into 5.3 seconds (177 requests) with just 3 ads added to the page. + 23 more DNS lookups and 3 cancelled requests. 🤯
4
10
67
@DanielLockyer
Daniel Lockyer
7 years
I went to sleep for 8 hours and wake up to @levelsio telling me he's launched another site which is launching on @ProductHunt in 20 minutes
2
2
64
@DanielLockyer
Daniel Lockyer
5 years
"Billions were wasted on Hadoop startups, and the same will eventually be true of Docker"
2
13
60
@DanielLockyer
Daniel Lockyer
5 years
If you're using the Google Tag Manager or Google Analytics scripts just for tracking page views & stats (like most of us), you might be interested in switching to . It's a lightweight (just 2% of GTM+GA size) alternative that's been working great for me
3
9
61
@DanielLockyer
Daniel Lockyer
2 months
I can't stop thinking about this story about @elonmusk + @X Elon: we need to kill this extra datacenter Engineers: we need 6 months Elon: you can do it in 6 days Elon on Dec 24th: flies to datacenter and cuts cables to server rack
1
4
60
@DanielLockyer
Daniel Lockyer
2 months
Just found some old photos from my consultancy work 5yrs ago. This one was a PHP 5.6 to 7.2 upgrade - ~140% CPU to ~10%? It was one of those times where the graph is so unbelievable that you need to double-check the website is still running (it was) 🙈
Tweet media one
5
5
57
@DanielLockyer
Daniel Lockyer
16 days
I've recently been binge watching @awesomekling 's YT videos about building @ladybirdbrowser I'm not usually into programming videos but it's fun to see underneath the hood of a browser, and to follow debugging and feature dev outside of my usual areas
2
5
56
@DanielLockyer
Daniel Lockyer
2 months
Just added a new feature to my running pace calculator with 1 sentence in Cursor - the ability to input custom distances I could have done it myself, but I can guarantee it'd take more time than it takes to write a sentence
Tweet media one
7
1
52
@DanielLockyer
Daniel Lockyer
2 months
@levelsio @bchecketts @newrelic I tried to stop him but he had a weak moment and was starting to rewrite everything in Laravel
2
1
48
@DanielLockyer
Daniel Lockyer
4 years
I ran 100km for the first time last Saturday 🥳 Recovery is going well and I'm pretty eager to get back into doing some races 🎽
Tweet media one
5
1
47
@DanielLockyer
Daniel Lockyer
1 month
0
1
45
@DanielLockyer
Daniel Lockyer
29 days
@blogos47 Absolutely not
1
0
46
@DanielLockyer
Daniel Lockyer
1 month
If you use 1Password, one of my favorite local setup tips is to move all those secrets you store in bashrc/zshrc/config etc into it, and switch to the CLI to inject them into your commands/scripts Such a nice experience to use Touch ID to auth all access
4
3
45
@DanielLockyer
Daniel Lockyer
6 years
⚡️ now loads a lot faster, as we reduced the WAIT time to just 7% of the original by using techniques from ⚙️ Images below are before and after 👇
Tweet media one
Tweet media two
3
5
45
@DanielLockyer
Daniel Lockyer
2 months
@pbertrand_dev @levelsio no idea what you're referring to ;)
3
0
44
@DanielLockyer
Daniel Lockyer
29 days
Absolutely wild pricing, $120/mo for a 500MB Redis instance 😱
@kirplatonov
Kirill Platonov
1 month
Just upgraded one of my app's Heroku Redis plans to Premium 3 to handle the volume of background jobs for large customers. I have a strong feeling that paying $120/month for a managed Redis instance with only 500 MB of memory in 2024 is pure robbery 😡
18
0
41
6
1
44
@DanielLockyer
Daniel Lockyer
29 days
@robin_blix Idk just great pricing and simple services
1
0
44
@DanielLockyer
Daniel Lockyer
6 years
⌛️ It's finally time to upgrade your PHP installations. Both PHP 5.6 and 7.0 are being set to End-Of-Life status in ~2 months and will lose future security updates. I can help upgrade your server and code to the latest versions - DM me. Why is this a big deal? 👇
Tweet media one
3
22
42
@DanielLockyer
Daniel Lockyer
1 month
Uh oh, AWS found me now... I don't even use any of their services, I just signed up to check their UI once, and now I'm receiving invoices from them?
Tweet media one
15
1
42
@DanielLockyer
Daniel Lockyer
2 months
@dhh Hetzner has unbelievable pricing, now if only I could actually get through their signup flow without being banned
9
0
41
@DanielLockyer
Daniel Lockyer
6 years
⚙️ Having server problems? I run a free Telegram group called Server Help where we help each other with issues. Feel free to join us! 👇
0
7
40
@DanielLockyer
Daniel Lockyer
1 month
And it's worth pointing out it's not just for Rails apps, but anything that can be containerized Seeing a lot of friends using Kamal these days, and it looks like a great offering, so go run your apps on your own VPS!
@dhh
DHH
1 month
Kamal 2.0 has been released! Now with a own bespoke Kamal Proxy, which brings auto SSL certificates and multiple-apps-on-a-single-box, with virtually no configuration. It's never been easy to avoid PaaS, embrace your own server, and deploy to prod.
28
80
837
4
1
37
@DanielLockyer
Daniel Lockyer
5 years
Controversial opinion but I think AWS is massively overrated and overpriced. You can get much better alternatives for cheaper. For example, @backblaze B2 vs Amazon S3 vs others 👇
Tweet media one
7
5
36
@DanielLockyer
Daniel Lockyer
2 months
Recently switched from an 14" M1 Max MacBook Pro to a 13" M3 MacBook Air and I think it was a good move. Battery life is insane and it's so incredibly thin/light. Never heard the fans for my workload on M1 so not concerned about them not on M3. Downsides: no HDMI, speakers not
12
1
33
@DanielLockyer
Daniel Lockyer
8 days
Hetzner Object Storage pricing has been announced (starting November 1st) 👀
Tweet media one
7
1
32
@DanielLockyer
Daniel Lockyer
4 years
@levelsio good luck refactoring this
Tweet media one
4
1
32
@DanielLockyer
Daniel Lockyer
2 months
@levelsio @ashishlogmaster @newrelic Yeah not sure. I don't think we've got auto-upgrades on for this package. It's possible our application code started to hit some bug in the agent. There's no single repro from their GitHub issues
2
0
30
@DanielLockyer
Daniel Lockyer
2 months
5
0
30
@DanielLockyer
Daniel Lockyer
5 years
I'm not a big fan of Docker, but this tool looks really cool. I wonder if TUI programs could help manage other aspects of a server
1
6
30
@DanielLockyer
Daniel Lockyer
5 years
🎉 It looks like support is being added to 💎 @rubygems for building 🦀 @rustlang native extensions. This is great news and will mean it's easier to write fast + safe code modules (like @Deliveroo did - )
0
10
30
@DanielLockyer
Daniel Lockyer
5 years
🤔 Are you developing a site and it's a little slow? 👉 Throw it into and send me the report. For a quick consultation, I'll tell you exactly what you need to do to speed it up. 🐌 Don't be stuck with a slow site
2
2
29
@DanielLockyer
Daniel Lockyer
29 days
@t3dotgg Yes 100%, merchants of complexity
2
1
28
@DanielLockyer
Daniel Lockyer
6 years
📊 I made a PHP script to generate pretty histograms of real world response times from PHP web apps 👇
1
1
28
@DanielLockyer
Daniel Lockyer
6 years
⚙️ I made this using @brendangregg 's Flame Graph visualizer and XDebug trace output. Combining it with is how we've made huge performance gains recently ⚡️ I wrote about it on my blog 👇
@levelsio
@levelsio
6 years
The performance graph @DanielLockyer just made of looks eerily close to the ancient ⛩ temples in Myanmar 🤔
Tweet media one
Tweet media two
3
1
63
0
4
29
@DanielLockyer
Daniel Lockyer
1 month
Tweet media one
3
0
27
@DanielLockyer
Daniel Lockyer
5 years
Recently worked on optimizing the loading speed of a Shopify e-commerce store. Just my changes alone (which included a 40% drop in load time) increased their conversion rate by 26% from 1.8% to 2.3% 🤑
Tweet media one
2
0
26
@DanielLockyer
Daniel Lockyer
2 months
Update: @Hetzner_Online helped me figure out why I was failing verification, and now I have an account! 🎉 Pro tip: read thoroughly before signing up
@DanielLockyer
Daniel Lockyer
2 months
@dhh Hetzner has unbelievable pricing, now if only I could actually get through their signup flow without being banned
9
0
41
3
0
26
@DanielLockyer
Daniel Lockyer
2 months
@mirkancal @AverageProMax @levelsio @bobbyiliev_ @lexfridman @elonmusk I can't even get past the signup step, I was insta-blocked
7
0
26
@DanielLockyer
Daniel Lockyer
5 years
📢 RUBY DEVELOPERS 🎉 I recently released v0.3.6 of rbspy - which supports newer versions - so if you've got some slow code, give it a whirl!
0
8
25
@DanielLockyer
Daniel Lockyer
5 years
✅ Chiang Mai Marathon completed! That's around a 35 minute PB from my last official time, so I'm pretty happy with that. It was pretty weird to start running @ 3am, and then finish before sunrise but the experience was worth it.
Tweet media one
5
0
24
@DanielLockyer
Daniel Lockyer
6 years
Currently downloading 2400 days worth of images from the Mars Curiosity rover for a side project 📷
Tweet media one
Tweet media two
2
2
25
@DanielLockyer
Daniel Lockyer
2 months
Today's running thought - treat your body like a business: - invest in long-term growth and success (cardio, strength, nutrition, sleep, recovery, massages) - cut the risks that could derail progress (alcohol, stress) - don't be afraid to pivot; it's never too late to start
3
0
24
@DanielLockyer
Daniel Lockyer
29 days
@dvassallo @Hetzner_Online please take some points from this, you could easily increase revenue by making it easier to spend money 😀
0
0
25
@DanielLockyer
Daniel Lockyer
2 months
@SamarthJain29 Ah, you might benefit from pm.max_requests, default is infinite. We have it set to 1000 (arbitrary number)
0
0
25
@DanielLockyer
Daniel Lockyer
1 month
@pbertrand_dev I swear I see Spanish cucumbers in summer tho
1
0
23
@DanielLockyer
Daniel Lockyer
2 months
~160 people in the community now. Already loads of great questions about tooling, hosting platforms + specific setups. Going to be working on a deep dive into the server setup for @levelsio this weekend to join
@DanielLockyer
Daniel Lockyer
2 months
For the last 10 years, I've managed servers for @levelsio (Nomad List, Remote OK + PhotoAI), Ghost and many others. I've learnt a lot, and met a bunch of helpful people, so I thought it'd be nice to have a community dedicated to server problems: ⚙️ Post
92
136
2K
7
0
23
@DanielLockyer
Daniel Lockyer
1 month
People live in wishful delusion if they think this doesn't happen at their hosting provider. It does, and they lie to you on the support tickets
@AndreyAzimov
Andrey Azimov
1 month
Switch to Hetzner they say
Tweet media one
302
345
8K
2
0
22
@DanielLockyer
Daniel Lockyer
2 months
I love these high-density info sites, comparing products against each other. No flashy design, just hard numbers This one is I wonder what else you could build one for?
Tweet media one
3
1
22
@DanielLockyer
Daniel Lockyer
5 years
💻 The @googlechrome team are looking into shaming sites that load slowly, directly within the browser. Even more of a reason to ensure your site is loading fast ⚡️
Tweet media one
1
9
21
@DanielLockyer
Daniel Lockyer
2 months
Literally this, 99.9% of the time And you can often get the server back within minutes Some bug deep in a dependency somewhere? Debugging for days
@kineyDE
Jannik
2 months
@9gel @levelsio @lexfridman @elonmusk @DanielLockyer I've seen way more outages because of complexity and software failures than server being offline.
1
0
6
1
1
21
@DanielLockyer
Daniel Lockyer
29 days
Seeing my therapist 🏃‍♂️
Tweet media one
3
0
21
@DanielLockyer
Daniel Lockyer
2 months
Traction is going great (hi all new members! ❤️), but I've since discovered that Stripe's processing fees are WILD for such small payments. Going to be upping the subscription fee soon to cover all the costs. It's worth it though, promise.
@DanielLockyer
Daniel Lockyer
2 months
For the last 10 years, I've managed servers for @levelsio (Nomad List, Remote OK + PhotoAI), Ghost and many others. I've learnt a lot, and met a bunch of helpful people, so I thought it'd be nice to have a community dedicated to server problems: ⚙️ Post
92
136
2K
4
0
20
@DanielLockyer
Daniel Lockyer
1 month
My answer on for the post: "Thoughts on Becoming a Cracked DevOps Engineer" TLDR: learn the translatable concepts and become a pro debugger
Tweet media one
3
2
19
@DanielLockyer
Daniel Lockyer
2 months
How do people handle DB migrations in their application? (particularly rollbacks) Is there not a period of time where the DB is inconsistent with the running application code? Aside from blue/green deployment, how else are others managing it?
28
0
19
@DanielLockyer
Daniel Lockyer
2 months
I think someone can get really far with tutorials like . Keep it simple, learn along the way, and spend more time solving customer/user problems than preoptimizing for problems that are years away
@Itsdawuma
Dawuma
2 months
@DanielLockyer Thanks for sharing these last few days. For a beginner developer, do you have any recommendations for books and advice? I'm a taker.
0
0
0
2
1
18
@DanielLockyer
Daniel Lockyer
2 months
@imrat I don't even think you can tell, the CPU usage graph shows we dropped in the last few days. Servers + simple code go hard these days
Tweet media one
4
1
19
@DanielLockyer
Daniel Lockyer
22 days
Slow software is a curse for fast hardware
3
2
19
@DanielLockyer
Daniel Lockyer
1 month
@Shpigford "Kiddy"
2
0
19
@DanielLockyer
Daniel Lockyer
6 years
I'm in Bangkok! 🇹🇭
Tweet media one
1
1
17
@DanielLockyer
Daniel Lockyer
2 months
Wild
@karolyidav
Dave
2 months
$35818/mo 💸 This is how much @levelsio would pay if he'd migrate to Vercel today. I even excluded: - Some extra shit Vercel is charging for () - A serverless SQL database - A serverless Redis - Object storage ☝️This or a $120/mo VPS on Hetzner.
Tweet media one
47
46
966
3
2
18
@DanielLockyer
Daniel Lockyer
2 months
@levelsio Hopefully everything goes smoothly for the sign up! If not, send me a DM and we'll get it sorted 🤙🏻
1
0
18
@DanielLockyer
Daniel Lockyer
6 months
It's #Koningsdag here in the Netherlands. 24km easy along the Amstel. Fell over on a mossy bridge - just a small bruise, I'll live.
Tweet media one
Tweet media two
1
0
18
@DanielLockyer
Daniel Lockyer
2 months
Just added an annual plan by popular demand! Now, ~130 people in the community 🕺
Tweet media one
@DanielLockyer
Daniel Lockyer
2 months
For the last 10 years, I've managed servers for @levelsio (Nomad List, Remote OK + PhotoAI), Ghost and many others. I've learnt a lot, and met a bunch of helpful people, so I thought it'd be nice to have a community dedicated to server problems: ⚙️ Post
92
136
2K
4
0
17
@DanielLockyer
Daniel Lockyer
6 years
I recently upgraded from PHP 5.6 to 7.2. 📉 CPU usage down 60% ⚡ Time to first byte decreased from 651ms to 251ms (-61%)
Tweet media one
1
2
17
@DanielLockyer
Daniel Lockyer
28 days
Where you at? I thought we had a Q5 sales review here
Tweet media one
@levelsio
@levelsio
1 month
Broodje rookworst met mayo
Tweet media one
96
1
420
2
0
18
@DanielLockyer
Daniel Lockyer
5 years
Back in the UK after 12 months in Asia! 🏃 Training hard and making sites faster 🤓
Tweet media one
1
0
18
@DanielLockyer
Daniel Lockyer
29 days
@t3dotgg Please also cover the pricing page
@DanielLockyer
Daniel Lockyer
29 days
That's the other thing; these pricing pages are so complex and unparseable I cannot even figure out what my expected costs would be. Merchants of complexity?
0
0
9
1
0
18
@DanielLockyer
Daniel Lockyer
5 years
A few more days in Thailand and then I’m flying back to the UK ✈️
Tweet media one
1
0
17
@DanielLockyer
Daniel Lockyer
6 years
⚡ Another successful site optimization with a 78% reduction in the time-to-first-byte and a 66% reduction in total page load time. 👋 Get in contact if you'd like your site to be faster!
Tweet media one
1
0
17
@DanielLockyer
Daniel Lockyer
2 months
Staying consistent has been the key to improving my cardio fitness in the last few months. I'm currently training to run a PB at Amsterdam Marathon. Throughout August, I ran all but 4 days, and hit new weekly distance PBs twice and running 426km in total. There were certainly
Tweet media one
5
0
17
@DanielLockyer
Daniel Lockyer
5 years
I've added @Calendly to all my consulting pages, so you can instantly book a call with me to discuss how I can make your website faster Example:
Tweet media one
3
1
16
@DanielLockyer
Daniel Lockyer
2 years
One of my favorite things about working at Ghost is how much we ship. 31 posts in the last year, and that's just a highlight of the many other features, bug fixes and performance improvements that we ship weekly to users 🚀
@Ghost
Ghost
2 years
💬 Just shipped: Native Comments for Ghost This has been one of our most requested features of all time, and it's available to everyone! Now you can build your own community, right inside Ghost. All the details & story of how/why we built this, here:
28
38
224
1
1
16