Beuth-Erdelt/DBMS-Benchmarker

Global connections

Closed this issue · 4 comments

  • no reconnect per query (1 connection for complete benchmark)
  • store connection static at benchmark object (or globally)
  • keep parallel possible
  • respect differing numbers of parallel connections per query
  • make global connections of maximum number of parallel clients first, then benchmark

multiple processes cannot share global memory or objects unless they are pickable

JPickler und JUnpickler need newer version of jpype, which does not work:
baztian/jaydebeapi#99

Open question: When to discard connection?

Possibly connect() and disconnect() in runBenchmarksConnection()

Completed except for parallel connections. Test pickle again?

This is solved by -pp. We will not share a JVM between streams.