@ashxhart That's the problem. Any smart quantization that keep most of the quality? I can use something like 11-12gb max I think. We can work together to see if it's possible if you like.
41 K8s nodes at 3% CPU. Monthly bill: $61.5K. One team right-sized to 17 nodes in 22 hours. Monthly bill: $13.5K. The fix was kubectl top + smaller instances + same labels.
#Kubernetes
A JS framework compiles your route handlers at startup using eval(). Sounds terrifying—until you see 2.4M req/s vs Express's 113K. The bottleneck was never your runtime.
#JavaScript
2026 benchmarks: Bun won 8/14 tests, Deno 5, Node 1. But Express on Bun ≈ Express on Node. Elysia on Bun: 2.4M req/s. Your framework is the bottleneck, not your runtime.
#JavaScript
SSE uses 60% less memory than WebSockets.
95% of "real-time" apps only need server→client updates. SSE does that in 3 lines with auto-reconnect built in.
OpenAI chose SSE for ChatGPT streaming. So should you.
#WebDev
Our Docker image: 1.2GB → 120MB. Build: 8 min → 45s.
Multi-stage builds: use Alpine for production, keep build tools in a separate stage. One Dockerfile change, 90% smaller.
#Docker
I deleted 12 npm packages. Zero functionality lost.
structuredClone() replaces lodash.cloneDeep
crypto.randomUUID() replaces uuid
Intl.DateTimeFormat replaces moment
Your browser already has it.
#JavaScript
TypeScript's compiler is being rewritten in Go.
10x faster type-checking. A 40s build drops to 1.3s warm.
Your slowest CI step is about to disappear.
#TypeScript
We replaced MongoDB with PostgreSQL JSONB. Same queries, 40% lower infra cost.
GIN-indexed containment queries on 2M rows: 3-8ms.
One database instead of two.
#PostgreSQL
I removed 47 console.log calls from our API. Response time dropped 22ms.
console.log serializes objects synchronously and blocks when stdout is piped.
Switch to Pino: 5x faster.
#NodeJS
Docker layer order = build speed.
Wrong:
COPY . .
RUN npm install ← re-downloads all
Right:
COPY package*.json .
RUN npm ci ← cached unless deps change
COPY . .
One layer changes → all after it rebuild.
Order by change frequency.
React 19's use() API is stable now.
const user = use(userPromise);
It's not a hook — it works in conditionals.
✓ Unwrap promises in render
✓ Read context anywhere
✓ No useState/useEffect
Requires Suspense. Ships with React 19.
Module augmentation: extend types you don't own.
declare module 'express-serve-static-core' {
interface Request {
user?: { id: string };
}
}
Full type safety. No forking. No `any`.
Official TS feature since v2.
Blue-green deployment:
Two environments: Blue (current), Green (new)
1. Blue = production
2. Deploy to Green
3. Test
4. Switch traffic
5. Rollback if needed
✅ Zero downtime
✅ Instant rollback
Cost: 2x infrastructure during deploy.
0.1 + 0.2 = 0.30000000000000004
Floating point precision issue.
Solutions:
✅ Store cents, not dollars
✅ Math.round((n * 100) / 100)
✅ Use decimal.js library
✅ Compare with epsilon
Never === with floats.
For money, use integers.