peter_marklund retweeted
Microservices is the software industry’s most successful confidence scam. It convinces small teams that they are “thinking big” while systematically destroying their ability to move at all. It flatters ambition by weaponizing insecurity: if you’re not running a constellation of services, are you even a real company? Never mind that this architecture was invented to cope with organizational dysfunction at planetary scale. Now it’s being prescribed to teams that still share a Slack channel and a lunch table.
Small teams run on shared context. That is their superpower. Everyone can reason end-to-end. Everyone can change anything. Microservices vaporize that advantage on contact. They replace shared understanding with distributed ignorance. No one owns the whole anymore. Everyone owns a shard. The system becomes something that merely happens to the team, rather than something the team actively understands. This isn’t sophistication. It’s abdication.
Then comes the operational farce. Each service demands its own pipeline, secrets, alerts, metrics, dashboards, permissions, backups, and rituals of appeasement. You don’t “deploy” anymore—you synchronize a fleet. One bug now requires a multi-service autopsy. A feature release becomes a coordination exercise across artificial borders you invented for no reason. You didn’t simplify your system. You shattered it and called the debris “architecture.”
Microservices also lock incompetence in amber. You are forced to define APIs before you understand your own business. Guesses become contracts. Bad ideas become permanent dependencies. Every early mistake metastasizes through the network. In a monolith, wrong thinking is corrected with a refactor. In microservices, wrong thinking becomes infrastructure. You don’t just regret it—you host it, version it, and monitor it.
The claim that monoliths don’t scale is one of the dumbest lies in modern engineering folklore. What doesn’t scale is chaos. What doesn’t scale is process cosplay. What doesn’t scale is pretending you’re Netflix while shipping a glorified CRUD app. Monoliths scale just fine when teams have discipline, tests, and restraint. But restraint isn’t fashionable, and boring doesn’t make conference talks.
Microservices for small teams is not a technical mistake—it is a philosophical failure. It announces, loudly, that the team does not trust itself to understand its own system. It replaces accountability with protocol and momentum with middleware. You don’t get “future proofing.” You get permanent drag. And by the time you finally earn the scale that might justify this circus, your speed, your clarity, and your product instincts will already be gone.
peter_marklund retweeted
When we came up with RAG five years ago, we weren't creating a workaround for small context windows—we were designing a principled approach to augment models with external knowledge.
The core challenges RAG addresses remain unsolved with just larger context windows:
• Accessing private/extraneous data and knowledge
• Overcoming outdated knowledge
• Reducing hallucinations and providing strong attributions
peter_marklund retweeted
Europeans, as US tariffs force them to rely exclusively on German cars, French wine and Italian fashion
peter_marklund retweeted
The country is 100% behind the president on fixing a global system of tariffs that has disadvantaged the country. But, business is a confidence game and confidence depends on trust.
President @realDonaldTrump has elevated the tariff issue to the most important geopolitical issue in the world, and he has gotten everyone’s attention. So far, so good.
And yes, other nations have taken advantage of the U.S. by protecting their home industries at the expense of millions of our jobs and economic growth in our country.
But, by placing massive and disproportionate tariffs on our friends and our enemies alike and thereby launching a global economic war against the whole world at once, we are in the process of destroying confidence in our country as a trading partner, as a place to do business, and as a market to invest capital.
The president has an opportunity to call a 90-day time out, negotiate and resolve unfair asymmetric tariff deals, and induce trillions of dollars of new investment in our country.
If, on the other hand, on April 9th we launch economic nuclear war on every country in the world, business investment will grind to a halt, consumers will close their wallets and pocket books, and we will severely damage our reputation with the rest of the world that will take years and potentially decades to rehabilitate.
What CEO and what board of directors will be comfortable making large,
long-term, economic commitments in our country in the middle of an economic nuclear war?
I don’t know of one who will do so.
When markets crash, new investment stops, consumers stop spending money, and businesses have no choice but to curtail investment and fire workers.
And it is not just the big companies that will suffer. Small and medium size businesses and entrepreneurs will experience much greater pain. Almost no business can pass through an overnight massive increase in costs to their customers. And that’s true even if they have no debt, and, unfortunately, there is a massive amount of leverage in the system.
Business is a confidence game. The president is losing the confidence of business leaders around the globe. The consequences for our country and the millions of our citizens who have supported the president — in particular low-income consumers who are already under a huge amount of economic stress — are going to be severely negative. This is not what we voted for.
The President has an opportunity on Monday to call a time out and have the time to execute on fixing an unfair tariff system.
Alternatively, we are heading for a self-induced, economic nuclear winter, and we should start hunkering down.
May cooler heads prevail.
peter_marklund retweeted
Andrej is right, but this is also the same as it ever was. The Rails origin story is a rebellion against this piecemeal mess. Rails 8 has never been more fullstack. Fully integrated from backend, to frontend, to deployment, to prod. Without a vendor choking it for cloud cash.
The reality of building web apps in 2025 is that it's a bit like assembling IKEA furniture. There's no "full-stack" product with batteries included, you have to piece together and configure many individual services:
- frontend / backend (e.g. React, Next.js, APIs)
- hosting (cdn, https, domains, autoscaling)
- database
- authentication (custom, social logins)
- blob storage (file uploads, urls, cdn-backed)
- email
- payments
- background jobs
- analytics
- monitoring
- dev tools (CI/CD, staging)
- secrets
- ...
I'm relatively new to modern web dev and find the above a bit overwhelming, e.g. I'm embarrassed to share it took me ~3 hours the other day to create and configure a supabase with a vercel app and resolve a few errors. The second you stray just slightly from the "getting started" tutorial in the docs you're suddenly in the wilderness. It's not even code, it's... configurations, plumbing, orchestration, workflows, best practices. A lot of glory will go to whoever figures out how to make it accessible and "just work" out of the box, for both humans and, increasingly and especially, AIs.
peter_marklund retweeted
No, we are not even close. AGI would require systems that
👉essentially never hallucinate
👉reliably reason over abstractions
👉can form long term plans
👉understand causality
👉reliably maintain models of the world
👉reliably handle outliers
We currently have none of that.
This quoted post is unavailable.
peter_marklund retweeted
New YouTube video: 1hr general-audience introduction to Large Language Models
youtube.com/watch?v=zjkBMFhN…
Based on a 30min talk I gave recently; It tries to be non-technical intro, covers mental models for LLM inference, training, finetuning, the emerging LLM OS and LLM Security.
peter_marklund retweeted
In April, '17, @jsomers of @NewYorker reached out & said he wanted to do a small profile of me & my longtime colleague Sanjay Ghemawat, watch us work for a few hours, maybe dinner, etc.
It came out today. I think it captures our working style really well. newyorker.com/magazine/2018/…
peter_marklund retweeted
my typical day at Google:
9am - reverse a linked list
11am - count unique ways to climb a staircase with dp
12pm - lunch
3pm - help animal escape NxM matrix efficiently
4pm - invert a binary tree
5pm - commute home using Dijkstra's
peter_marklund retweeted
It’s pretty crazy how inefficient most CI setups are. We’re spending 99% of the time reinstalling 99% the same dependencies as last time and recompiling the same code as last time etc. How did we end up in this situation?
peter_marklund retweeted
By “free speech”, I simply mean that which matches the law.
I am against censorship that goes far beyond the law.
If people want less free speech, they will ask government to pass laws to that effect.
Therefore, going beyond the law is contrary to the will of the people.
peter_marklund retweeted
Dag efter dag försöker Alex Schulman boka tid för sin första coronaspruta. ”Jag är med om något diffust, otäckt – det är som att jag är fast i ett system vars naturlagar jag inte känner till”, skriver han i sin premiärkrönika i DN. dn.se/sverige/alex-schulman-…
peter_marklund retweeted
Det är fredag och Ola skulle vilja ta #endrygminut och prata om ’Littles Lag’! m.youtube.com/watch?v=W4YdGs…
peter_marklund retweeted
80% of bugs are issues with the spec or failure to implement the spec. Design review and spec review can fix many of them before you write the first line of code. Check out the bug breakdown in "The TypeScript Tax" medium.com/javascript-scene/…
peter_marklund retweeted
The biggest web UX improvement right now would be to let browsers take care of this “can we track you via cookies?” issue – similar to how they already handle privacy-sensitive features such as location data and notifications.
peter_marklund retweeted
Som invånare i Cyklopland borde det vara obligatoriskt att läsa den här texten minst en gång per år.
dn.se/kultur-noje/kulturdeba…

























