Taming Memory Pressure with LMDB
- Maryanne Normann

- Aug 20
- 1 min read

Pinterest’s NGAPI switched to LMDB to ease memory pressure from its gevent-based multi-process setup. The change cut memory use by 4.5% (~4.5 GB per host), letting them raise processes per host from 64→66, handle more requests with better CPU utilization, and ultimately reduce fleet size—improving efficiency and reliability for Pinners.
For the full story, click here.
