
making servers less @cloudflare, previously @ValDotTown, @voltusinc, @recursecenter, he/him
- Tweets661
- Following633
- Followers1.2K
- Likes8.4K

ALT Everything’s better with lockfiles You’ll see improvements on three fronts from lockfiles: stability, security and performance. Stability: Libraries would change over time and vals would break. Now, if you build something and it is working, it should generally keep working. Security: If there is a malicious dependency, it is easy for the vulnerability to proliferate rapidly without dependency pinning. Lockfiles will slow things down, and prevent certain types of attacks from being very effective. Additionally we do integrity checking on the contents of dependencies. If the contents of a module have changed unexpectedly, we won’t run your code. Performance: Lockfiles cache the whole dependency tree, so we make fewer requests, all in parallel. Module fetches to Val Town fell by 80%. Worker initialization latency (P50) dropped 50%.











