-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
bugSomething isn't workingSomething isn't workinginvalidThis doesn't seem rightThis doesn't seem right
Milestone
Description
The current implementation of the InfluxDbSinks has several architectural issues that causes a huge performance drop when executing queries on the database. Especially in a concurrent environment with several thousand write calls the existing implementation is not usable at all. Furthermore, the current implementation prevents tuning performance relevant parameters.
Hence some major refactoring is required incl. changing method signatures.
- adapt
InfluxDbConnectorto hold only one session per connector and not creating a new session for each call ongetSession() - provide constructors for
InfluxDbConnectorthat allows for passing in InfluxDb session tuning parameters (especiallyBatchOptions) - remove
nullforscenarioName inInfluxDbConnector` constructor (relates to InfluxDbSink throws NPE #247) - shutdown session in
InfluxDbConnector#shutdown()
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinginvalidThis doesn't seem rightThis doesn't seem right