measure successfull http posts
put the main func in the main pkg
serve reads from the read database