很多开发团队为了追求极致精简的 Docker 镜像,习惯把基础镜像一律换成仅有 5MB 的 Alpine Linux,然而这往往是生产环境神秘崩溃噩梦的开端。
代码在本地 Ubuntu 开发机上跑得稳如磐石,一旦打包成 Alpine 容器上线,高并发下服务就会频繁发生无预警的 SIGSEGV 段错误与直接退出。
很多人第一反应是内存泄漏,但真正的元凶是底层 C 运行时库的隐藏硬限制。标准的 Ubuntu/Debian 采用 glibc,通过 pthread_create 创建的每个新线程,默认会慷慨分配 8 MB 的栈空间(Stack Size)。
而 Alpine 出于极致轻量化的目标,采用了小巧的 musl libc,其线程默认栈空间被暴力砍到了只有区区 128 KB。
当业务代码调用了嵌套深层的 JSON 序列化库、执行了复杂的递归 AST 解析,或者在局部函数内声明了较大的缓冲区结构体时,128 KB 的内存栈瞬间发生溢出击穿保护页,操作系统内核毫无商量余地直接下发 SIGSEGV 强杀进程。在轻量化与工业容错之间,盲目削减基础镜像往往会付出沉重代价。
Alex Vasilyev retweeted
If you're ambitious but lazy, please stop overstimulating yourself. You can't spend hours scrolling, gaming, and consuming entertainment and expect difficult work to feel rewarding. The more you indulge in instant gratification, the less appealing delayed gratification becomes.
Alex Vasilyev retweeted
The No Slop [in software] Manifesto is fantastic.
slopmanifesto.com/
Alex Vasilyev retweeted
Rails Architecture in the Age of AI
my talk at @berlinrb_org from 2 days ago is already live!
My most recent thoughts and predictions where we are going with bigger Rails apps.
youtu.be/4xd7PalhrT8?is=x1J3…
Alex Vasilyev retweeted
The Agents on Rails Files, ep. 2 is out! 🛸
This time, we're digging deeper into our benchmarking tool, lemans, and discuss how it helps us to keep trials fair (and cheat-y agents under control).
evilmartians.com/chronicles/…
Meet lemans, the open source Ruby harness we built for the Agents on Rails benchmark. You’ll see how an eval task is composed, how we run and grade coding agents, and how cheaters shaped its guardrails (one even paid for its cheat sheet with our API key). evilmartians.com/chronicles/…
Alex Vasilyev retweeted
Measured a work-in-progress version of Kino (github.com/yaroslav/kino) with websockets vs. Falcon on @tobi's campfire-once-ruby-ractor (github.com/tobi/campfire-onc…) benchmark. Coming soon!
Alex Vasilyev retweeted
I've been reviewing a lot of code written by Opus 5.5, and it still seems to make a lot of bad software engineering decisions. The kind that will accumulate/calcify into unmaintainable software over time. IMO even the agents will struggle to maintain vibecoded software.
Alex Vasilyev retweeted
🔥 🔥🔥Whop reached $5B valuation. A Rails company that started after covid and switched from serverless JS stack to Ruby on Rails a few months in. Outpaced all competition because of how fast they can SHIP with Rails. Whop also leveraged Evil Martians multiple times to speed up dev experience and application performance.
Whop has raised $200M in Series D funding at a $5.1B valuation, backed by @sequoia and @shopify.
It really feels like we are barely touching the tip of the iceberg in a market larger than anyone can imagine.
We first launched Whop as a better way for us to sell sneaker bots, one of the most niche types of desktop software out there.
Total TAM? Probably $20,000 per day.
Who cares, tiny market.
But, what people discounted is the idea that there were actually 70,000 other markets exactly like that one.
Beyond the investment itself, I am especially excited to welcome legendary silicon valley investor @dougleone to our board of directors. Doug and the sequoia team are nothing but a brilliant, resourceful, and principled group of people.
My co-founder Cameron and I started building on Shopify when we were 13 years old. Shopify is one of the most impactful all-in-one cloud ecosystems ever created; @tobi has pioneered modern entrepreneurship the way we know it and we are thrilled to have him in our corner.
We have a tenet at Whop to be the dumbest in the room and I am very grateful that this has recently become a lot easier.
We are focused on markets, scale economies, and progressive media. If that is up your alley, please message me directly.
The $200M raised will support our expansion as we build economic infrastructure for the next century, continuing on our mission of delivering everyone an income.
Alex Vasilyev retweeted
Introducing "Agents on Rails Files": engineering-side insights, findings, stories—the dark side of rubyonrails.org/ai.
The first post in the series shares the tips and tricks on writing black-box (e2e) evals and... compares Rails with Rust!
evilmartians.com/chronicles/…
Alex Vasilyev retweeted
Your agent is burning tokens before it starts writing a single line. We measured this while working on Agents on Rails, our benchmark project for @rails.
Every time you start a new session, a coding agent meets your Rails app from scratch. It reads the Gemfile, greps routes.rb, trusts a possibly outdated db/schema.rb, and guesses the rest, which leads to bugs.
So we built the solution: Rails Hyperdrive. This is a development-only engine that lets any gem in your bundle ship agent knowledge. Here's everything you need to know about it: evilmartians.com/chronicles/…
Alex Vasilyev retweeted
The more AI can code, the more I believe in Rails.
Builders need the conventions, tooling, and ecosystem of a batteries-included framework. Building and evolving that framework takes a community collaborating through open source.
Engineers have a crucial role: researching and building new tools and platforms. I believe the Rails community is best positioned to do this.
I’m excited for the future of Rails and its ecosystem!
Alex Vasilyev retweeted
BTW, we are hiring at @arkency
✅ 10yrs of Rails exp
✅ production apps with DDD
✅ event sourcing
🇵🇱 (nice to have) Polish language
my DMs are open
THIS. Ruby is just the best way to express the meaning of a system
There's speculation that humans won't need to read/understand code in the future. Not sure I agree. Readability/elegance vs performance is a false dichotomy.
A stack like Ruby + Falcon + Roda + Sequel + Async + Roundhouse + Spinel may just offer the best of both.
1
37
Alex Vasilyev retweeted
Guess what? His benchmark client code is dog shit too.
You can’t trust the ports or the benchmark clients.
What a shit show 😂
Remember folks:
It has to be real ❌
It has be competent ❌
It has to be responsible ❌
All he did was 2025 like naive one shots+making YOU fix it
Alex Vasilyev retweeted
I'm still 100% convinced that Ruby can be the programming interface that people and agents can use in the AI age.
It's the perfect language to abstract away the obvious and only leave the human decided part.
And it's fast enough and can be as fast as lowlevel langs with Spinel.























