Platformatic

1.1K posts

Platformatic banner
Platformatic

Platformatic

@platformatic

The platform bridging the gap between Node.js developers, operators, and wider business. So you can focus on building 🚀

Katılım Nisan 2022
111 Takip Edilen3.2K Takipçiler
Platformatic
Platformatic@platformatic·
Node.js powers many AI products. Its maintainers can't access the security models needed to protect it. → 20-30% Node.js perf gains with Fable... → Long-running server agents vs laptop agents → Who pays the compute bill? Wed 8 am PT / 5 pm CEST → streamyard.com/watch/YJ7W3scG…
English
0
1
2
122
Platformatic
Platformatic@platformatic·
"𝐈𝐭 𝐜𝐚𝐧 𝐛𝐞𝐜𝐨𝐦𝐞 𝐭𝐡𝐞 𝐝𝐞 𝐟𝐚𝐜𝐭𝐨 𝐫𝐮𝐧𝐭𝐢𝐦𝐞 𝐟𝐨𝐫 𝐉𝐚𝐯𝐚𝐒𝐜𝐫𝐢𝐩𝐭 𝐀𝐈 𝐰𝐨𝐫𝐤𝐥𝐨𝐚𝐝𝐬." @lucamaraschi The core primitive enables AI agents to build, run, observe, and retain operational knowledge...
English
0
1
2
324
Platformatic
Platformatic@platformatic·
Caching protects future requests. Dedup protects while the first response is being generated. 2 different problems. This Wed with @p_insogna (Node.js TSC): → Thundering herd gap caching leaves open → Leader/waiter model at the gateway and more... ⬇️
Luca Maraschi@lucamaraschi

The thing most teams get wrong about thundering herd: they think caching solves it. Caching protects future requests, the ones that arrive after the first response is stored. But the window between cache miss and cached response is completely unprotected. During a launch or a viral moment, hundreds of requests hit the same cold endpoint simultaneously. Everyone goes upstream independently. That window is what deduplication closes. Next Wednesday, @matteocollina and I are joined by @p_insogna (Platformatic Principal Engineer + Node.js TSC member) to break down how gateway deduplication works, leader/waiter model, memory vs Valkey, and the production metrics. Without touching a single line of your app code. Wednesday 8:00 am PT / 5:00 pm CEST → streamyard.com/watch/S5FYVgnV…

English
0
0
2
379
Platformatic
Platformatic@platformatic·
Caching doesn't protect the window between a cache miss and the first response. 10,000 concurrent req to the same uncached endpoint: ❌ Without dedup: 10,000 upstream calls ✅ With dedup: 100 upstream calls blog.platformatic.dev/gateway-reques…
English
0
1
3
408
Platformatic retweetledi
Luca Maraschi
Luca Maraschi@lucamaraschi·
"Zero downtime deployment" means your server never went offline. It says nothing about the users already on your site when you shipped. They're running old JS bundles, old React state, against a server that's already moved on. Next API call hits an endpoint that no longer exists. Checkout fails. Form resets. Zero downtime. Broken session. Version skew isn't a bug. It's structural. It happens on every deploy. The fix isn't preventing it; it's building systems that let multiple versions run together. Cookies, ingress routing, replica set management, and a control plane that handles the rest. Building this with @matteocollina on Wednesday. 8am PT / 5pm CEST → streamyard.com/watch/RnVyfVTn…
Luca Maraschi tweet media
English
0
2
4
241
Platformatic
Platformatic@platformatic·
Cold start problem in agent infrastructure? The harness and agent are new processes on an already running pod. Pod capacity is managed by the scaler; it's already there. Startup time: instant. The restore time depends on the state size. @matteocollina 's honest about that...
English
0
1
3
391
Platformatic
Platformatic@platformatic·
@medusajs on K8s doesn't need four repos and four pipelines. One Watt monorepo: backend, storefront, admin, image optimization. One build. One deployment. Server-side calls stay inside the process. No network hop.
Luca Maraschi@lucamaraschi

This is the default for most Medusa teams: backend, storefront, admin, and image optimizer split across separate repos. Four Docker builds. Four pipelines. Every internal API call burns time and resources crossing the network. 𝐁𝐮𝐭 𝐡𝐞𝐫𝐞’𝐬 𝐭𝐡𝐞 𝐫𝐞𝐚𝐥𝐢𝐭𝐲: 𝐧𝐨𝐧𝐞 𝐨𝐟 𝐭𝐡𝐚𝐭 𝐢𝐬 𝐚𝐜𝐭𝐮𝐚𝐥𝐥𝐲 𝐧𝐞𝐜𝐞𝐬𝐬𝐚𝐫𝐲. @platformatic flipped the script. The entire stack runs as a Watt monorepo on Kubernetes: one workspace, one build, one deployment artifact. Server-side requests from Next.js to Medusa stay internal, using thread communication. No network hops. No gateways. Just speed. React is pinned once at the root. The image optimizer reuses the storefront codebase with a config swap. Internal and public URLs live side by side, all in one place. Misconfiguration? Now it’s much harder to get wrong. The multi-repo e-commerce stack is just a default, not a requirement. There’s a better way. How many deployment pipelines are you running right now? And what if you could cut that number in half? blog.platformatic.dev/run-medusa-kub…

English
0
0
3
193
Platformatic
Platformatic@platformatic·
Old bundle in the browser. New server. One click away from a broken session. Version skew is already happening. Next Wed → Version skew vs API versioning → Faster deploys increase exposure → Skew protection lets you ship all day Wed 8am PT / 5pm CEST streamyard.com/watch/VG7m2CbS…
English
0
0
2
235
Platformatic retweetledi
Yagiz Nizipli
Yagiz Nizipli@yagiznizipli·
I’ve deployed @platformatic Watt for our new loggedout page, excellent multithreading performance with observability. Have you tried multithreaded @nodejs yet?
English
3
5
59
7.4K
Platformatic
Platformatic@platformatic·
gVisor: one policy per container. Platformatic: one policy per agent process. "Agent 1 has these policies. Agent X instance of type A has these." That's the difference between container-level and agent-process-level granularity. Episode: youtube.com/live/i0VuBKeLX…
YouTube video
YouTube
English
0
0
2
280
Platformatic
Platformatic@platformatic·
Median latency flatters every SSR framework. Only tail latency reveals the real story under production pressure. Back in March, we benchmarked @tan_stack, React Router, and Next.js across Node, PM2, and Watt at 1,000 req/s on AWS EKS. TanStack and React Router handle it cleanly.
Luca Maraschi@lucamaraschi

Most SSR benchmarks measure average latency. Average latency hides what matters in production. In March @platformatic ran @tan_stack, React Router, and Next.js across Node, PM2, and Watt at 1,000 req/s. Real findings: → TanStack + React Router: 100% success on all runtimes. Watt's edge is tail latency. p(99) 83ms vs Node's 298ms. Median is nearly identical. → PM2 + Nitro (TanStack/Nuxt): 81% success, 2.5s average. Same PM2 works perfectly with Express. Match your cluster mode to your server library. → Next.js: 55% success across all three runtimes. The runtime isn't the problem. The SSR pipeline is. Median looks fine. p(99) tells the real story. blog.platformatic.dev/ssr-framework-…

English
1
1
13
4.3K
Platformatic
Platformatic@platformatic·
A default set in 2015 silently cost Node.js up to 26% throughput. Fixed in Node.js 26.3.0. → Why the fix helps some workloads 26% → How @matteocollina traced it to the OS level → What it takes to prove a change like this is safe streamyard.com/watch/9y9Q4GVG…
Platformatic tweet media
English
0
1
5
667
Platformatic
Platformatic@platformatic·
Kata Containers and gVisor draw the boundary at container level. We draw it at the process. Set isolation unit at agent process, not the whole machine. You get fine-grained control with Linux primitives K8s understands. cgroups. No extra tooling. youtube.com/live/i0VuBKeLX…
YouTube video
YouTube
English
0
2
4
212
Platformatic
Platformatic@platformatic·
Most ECS autoscaling is wrong for Node.js. Not the setup. The metric. → CPU-based: reacts to the symptom → ELU-based: reacts to the cause → Predictive ELU: acts before saturation 20ms vs 929ms. Under the same load. blog.platformatic.dev/aws-ecs-autosc…
English
0
0
2
129
Platformatic
Platformatic@platformatic·
AWS ECS autoscaling reacts after the problem starts. We benchmarked AWS ECS Target Tracking & Step Scaling against our ICC's predictive scaling. Results: Up to 97.8% lower p95 latency Up to 95.4% fewer scaling actions Better handling of traffic spikes blog.platformatic.dev/aws-ecs-autosc…
Platformatic tweet media
English
0
1
3
126