[#issue-84] add interface to connection pool to persist objects to database
add a spec to benchmark persisting objects to db