Some resource pool implementations...just for fun :)