Closed Lagovas closed 2 years ago
One thing that came to my mind is that we may want to store PostgreSQL's data (which by default lives in /var/lib/postgres/data
or somewhere there) in tmpfs
to ensure that the time needed to write/read all the columns data (directly, or through AcraServer) will be equal
Here added new
run_transparent.sh
script inbenchmarks/
folder that runs simple commands that generate data in simple table and then read from database directly and through acra-server. That helps compare gap between DB and DB + Acra. It is simplified existingbenchmark/run.sh
script, with calling same logic as for direct database, but through acra-server in transparent mode too. Additionally added fetching profiling data from http debug server to analyze it withgo tool pprof
after that.For now it's only for postgresql because used existing code that worked only with this db.
Checklist