Two apps one process
Summary
The article argues for running multiple apps inside a single process to reduce overhead and thread contention, enabling higher scalability on modest hardware. It compares separate processes with a shared runtime (JVM, HTTP server, and framework engines), provides pragmatic deployment tips (uberjar, bundling apps, and TLS management with Clave), and includes code examples in Clojure to illustrate the approach. A practical, opinionated guide to micro-architecture choices and deployment workflows.