influxdata / influxdata/kapacitor

Could Kapacitor query InfluxDB in parallel when creating a recording?

Open
#542 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

I've been watching the InfluxDB logs to see the queries Kapacitor makes while creating a recording and it looks like queries are made sequentially for each batch. In our simple use case, each batch is independent. Is it possible or would it even make sense to parallelize some of this querying in order to speed up backtesting?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by tracing recording creation and how queries are scheduled for each batch, then determine whether independent batches can run concurrently without changing results. Done should include a justified concurrency design, preserved recording correctness, and evidence that backtesting is faster.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.