Every pen in the zoo is fed by the same routine; the pen only carries a name tag. Thirteen routines of an entity are written once in the library, and a service binds names and keys to them.
👋 Hi, I'm Anton - a software engineer. These days I work on a platform: contracts, generated code, data paths and the tooling around them. Running notes live on my GitHub: github.com/brilliant-almazov .
The thirteen routines are built into the shared library as one runtime; four services import it so far. Everything below describes the runtime and its shape; I did not count how much copied code it replaced.
This is part 6 of the series on what a shared platform does for every service, told as a zoo. Maybe you already do it better, maybe you'd do it another way - this is how it is going, and where it stops.
In real life
Nora carries a bag of rule books. One per pen.…