![Daniel Lockyer Profile](https://pbs.twimg.com/profile_images/1819764965282095104/KikPmNUE.jpg)
Daniel Lockyer
@DanielLockyer
Followers
10K
Following
6K
Media
273
Statuses
2K
long distance runner + generalist swe currently: - engineer @ghost - server guy @nomadlist @remoteok + https://t.co/eioKZWjrNt
Amsterdam
Joined December 2010
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.
91
134
2K
Update: server survived, no stress.
If the server can survive an @elonmusk tweet will we have proven the VPS simple stack thesis once and for all?.
24
5
472
Meanwhile, @Hetzner_Online doesn't even want my money 😅
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?
12
5
221
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
23
196
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.
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
5
14
169
⚙️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! 🔥
1
10
106
💀 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
103
I wrote about how I use ⚙️open source tools and 🔎custom scripts to monitor @levelsio's 🗺@NomadList and 💻@remote_ok 👉
1
7
103
Don't overthink what it takes to run your own servers.
6
4
98
Even the @official_php website is still running PHP 5.6, which reaches its end of life in 69 days ⚙️
5
34
95
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.
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.
4
4
99
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
95
@t3dotgg A fair point! But this is such a dangerous footgun for the average developer/team. Looking forward to the video :).
1
0
90
I rewrote a small part of a library I use all the time into @rustlang and I got a 3.5x speedup!.
2
8
81
I've just discovered by @zakirullin and it's fantastic. Strongly recommend reading it. I literally think about cognitive load every day - it's one of the most overlooked issues in software dev, and we only seem to make it worse every year. 🧵 examples
5
7
65
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
62
Just spent *literally* 1 minute with from @aidenybai and found a loose React onClick handler in @Ghost's settings UI which was causing the sidebar to re-render multiple times per click. Super cool tool 🤩
2
2
57
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
4
54
@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
By far one of the best hacks/solutions I've ever seen.
Upgraded 🌎 to PHP 8.2 with Opcache enabled which has reduced its page load from 1000 to 2000ms to ~250ms (so 4x to 8x faster). Opcache caches entire PHP files in-memory, and me and @daniellockyer hacked it in a funny way: to keep the entire Nomads data
7
1
47
Absolutely wild pricing, $120/mo for a 500MB Redis instance 😱.
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 😡.
5
1
44
@dhh Hetzner has unbelievable pricing, now if only I could actually get through their signup flow without being banned.
9
0
41
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!.
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.
4
1
36
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 👇
7
5
35
After years of trying, I finally redpilled Pieter into doing cardio.
🧪 Went for a cardiopulmonary exercise test (CPET) yesterday. VO2Max went up from 🟥 28 (very bad) to 🟩 42 (good). I did a Bruce test 2 years ago in Thailand and my cardio was pretty bad the cardiologist said cause I only lifted weights. Since then I've added ~15min cycling to
4
0
33
🎉 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
27
@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
29
Internships are by far the best way to figure out what you like/don't like doing whilst you're still studying. I did 3 internships whilst at uni and changed direction after each one!. Would recommend :).
For the first time since 2015, Gumroad will have a summer internship program in 2025!. Join us in NYC June-August for $16K/mo, and help us design, build, and sell Gumroad, Flexile, Iffy, Shortest, and more. Once school is over, we’d love to have you join.
1
1
30
⚙️ 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 👇.
The performance graph @DanielLockyer just made of looks eerily close to the ancient ⛩ temples in Myanmar 🤔
0
4
29
Laravel tooling is some of the best I've ever seen, the Node.js ecosystem doesn't even come close to having anything like this.
Nightwatch is application monitoring obsessively optimized for Laravel, and one of the most thoughtfully designed applications we've ever built at Laravel. I think you're going to be blown away. Early access will begin soon — we would love your help and feedback as we put on the
1
0
25
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.
@dhh Hetzner has unbelievable pricing, now if only I could actually get through their signup flow without being banned.
3
0
26
@mirkancal @AverageProMax @levelsio @bobbyiliev_ @lexfridman @elonmusk I can't even get past the signup step, I was insta-blocked.
6
0
25
@dvassallo @Hetzner_Online please take some points from this, you could easily increase revenue by making it easier to spend money 😀.
0
0
25
@SamarthJain29 Ah, you might benefit from pm.max_requests, default is infinite. We have it set to 1000 (arbitrary number).
0
0
23
~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.
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.
5
0
22
💻 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 ⚡️.
1
9
21
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.
@9gel @levelsio @lexfridman @elonmusk @DanielLockyer I've seen way more outages because of complexity and software failures than server being offline.
1
1
21
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.
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.
4
0
20