Global connections
Closed this issue · 4 comments
perdelt commented
- 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
perdelt commented
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
perdelt commented
Open question: When to discard connection?
Possibly connect()
and disconnect()
in runBenchmarksConnection()
perdelt commented
Completed except for parallel connections. Test pickle again?
perdelt commented
This is solved by -pp
. We will not share a JVM between streams.