import chaos

The edge cases of software engineering.

Modern JavaScript Concurrency

•
javascript
typescript

When most developers think of JavaScript, the word single-threaded often comes to mind. But modern JS runtimes are far more sophisticated than the old 'one thread, one call stack' stereotype. From the event loop and async/await to Web Workers, async iterators, and SharedArrayBuffers, today's JavaScript offers a rich (although muddled) concurrency landscape: one that spans browsers, Node.js / Bun / Deno, and edge environments.

Ffetch v4.1.0 Is Out!

•
announcements
javascript
typescript

Ffetch v4.1.0 is out. No breaking changes, but major improvements and revamped docs.

Node.js vs Go in Practice: Performance Comparison of chaos-proxy and chaos-proxy-go

•
testing
javascript
typescript
golang

The original chaos-proxy was developed in Node.js, primarily to support testing of TypeScript and JavaScript applications. Node's event-driven model and npm ecosystem made it a natural fit for rapid development and for supporting custom middleware written in JS/TS - features that are especially valuable for frontend and full-stack teams.

Chaos-Driven Testing for Full Stack Apps: Integration Tests That Break (and Heal)

•
testing
javascript
typescript

Testing is a tricky business. Testing full stack apps is even trickier. You have to deal with frontend, backend, database, network, and more. First, of course, you unit test your components, functions, and modules in isolation. Then you write integration tests to ensure they play nicely together. You might even add a few end-to-end tests for the entire application to simulate real user interactions.