A shared library that loads only what each service needs
Services loaded a whole utility library to use a few parts of it. I designed a modular import structure so each service loads only the modules it needs. It was adopted company-wide and cut memory use by up to 20% across all backend services.
Swipe to see the full diagram
- Before
- entire library loaded
- After
- only needed modules
- Memory use
- up to 20% lower
- Adoption
- company-wide