Simple buffer pool implementation