Good example plugin re: sponge database pooling system

Does anyone know of or have a good plugin example that makes use of the internal sponge mysql pooling system and deals with potential time-outs on the connections (bonus stuff) to showcase effective use of it for learning/borrowing-to-modify