apache / apache/arrow

[C++][FlightRPC] Optionally cache serialized ListFlights serverside

Open
#31,208 2 comments 0 reactions 0 assignees View on GitHub
Component: C++ Component: FlightRPC Type: enhancement
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

ListFlights serializes flights each time it is called. If we have many flights and ListFlights is called often this can produce a significant load on the server. We could have an optional cache server side to avoid this.

**Reporter**: [Rok Mihevc](https://issues.apache.org/jira/browse/ARROW-15764) / @rok
**Watchers**: [Rok Mihevc](https://issues.apache.org/jira/browse/ARROW-15764) / @rok

**Note**: *This issue was originally created as [ARROW-15764](https://issues.apache.org/jira/browse/ARROW-15764). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

Contributor guide

Open the contributing guide

Research direction

Start by locating the FlightRPC ListFlights entry point and tracing where flights are serialized on each call. Define the optional server-side cache behavior and its invalidation or refresh expectations before implementing it. Done means repeated ListFlights calls can avoid repeated serialization when caching is enabled, without changing the uncached behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.