[
https://issues.apache.org/jira/browse/ARROW-15764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17496756#comment-17496756
]
David Li commented on ARROW-15764:
----------------------------------
We could cache the constructed Protobuf in the FlightInfo itself (which is
externally immutable, IIRC).
We could also cache the serialized Protobuf too but that'll require some
gymnastics server-side to make gRPC take an already-serialized Protobuf instead
of a Protobuf object.
> [C++][FlightRPC] Optionally cache serialized ListFlights serverside
> -------------------------------------------------------------------
>
> Key: ARROW-15764
> URL: https://issues.apache.org/jira/browse/ARROW-15764
> Project: Apache Arrow
> Issue Type: Improvement
> Reporter: Rok Mihevc
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)