# I Added Every Index, but My Telemetry Pipeline Was Still Quadratic

DevFeed: [I Added Every Index, but My Telemetry Pipeline Was Still Quadratic](<https://devfeed.tech/articles/i-added-every-index-but-my-telemetry-pipeline-was-still-quadratic-65592.md>)

Original publisher: [Read original article](<https://hackernoon.com/i-added-every-index-but-my-telemetry-pipeline-was-still-quadratic?source=rss>)

Author: Bohdan Bozhenko

Published: 2026-10-06T14:20:53Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Analytics Pipeline](<https://devfeed.tech/topics/analytics-pipeline.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [database](<https://devfeed.tech/tags/database.md>), [database-performance](<https://devfeed.tech/tags/database-performance.md>), [hackernoon-top-story](<https://devfeed.tech/tags/hackernoon-top-story.md>), [index](<https://devfeed.tech/tags/index.md>), [postgis](<https://devfeed.tech/tags/postgis.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [postgresql-query-performance](<https://devfeed.tech/tags/postgresql-query-performance.md>), [postgresql-query-planner](<https://devfeed.tech/tags/postgresql-query-planner.md>), [telemetry-ingestion](<https://devfeed.tech/tags/telemetry-ingestion.md>), [time-series-data-optimization](<https://devfeed.tech/tags/time-series-data-optimization.md>)

## AI overview

FLYON's live drone telemetry pipeline recalculated flight statistics after every incoming point, making total processing work quadratic. Benchmarks showed that incremental aggregation flattened per-point latency; indexes could not eliminate repeated distance calculations. The article also examines accumulator recovery, batch-insert parameter limits, ineffective index migrations, and testing at realistic telemetry rates.

## Source excerpt

A 15-minute drone flight is 9,000 GPS points. My telemetry ingest ran 40 million distance calculations to track one number. No index could fix it.