Tech
Co-locating Data and Application Code for a 4.5x Performance Gain
Modern web application architectures typically run each layer in its own process, like a NodeJS server and database both running in their own processes. They communicate via a network connection or localhost socket. This separation introduces protocol overheads, TCP stack latency, and data serialization/deserialization costs on every single query.
Planck is designed around the concept of Zero-Distance Architecture that co-locates data and application code. It combines the database engine and ...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to