dynamically adding gRPC services to already running gRPC server - C++

37 views
Skip to first unread message

Pete Jones

unread,
Jun 27, 2025, 12:20:21 PM6/27/25
to grp...@googlegroups.com
Hello

We have an application that is used to expose multiple gRPC services from a single back end process. A core, non-negotiable requirement is the ability to dynamically publish new gRPC APIs and update existing ones at runtime, without any restarts of the backend process or interruption to active client connections (including streaming RPCs).

Our plan is to create a new shared library (.so) with all symbols related to a new gRPC service (Which is created by using gRPC tools to generate code and then compiling and linking) and dynamically load it in the backend service. however main issue we are facing is on how to add the new service to an already running gRPC server. I understand from Gemini that this is not supported.

I wish to get some recommendations from the community for possible solutions/workarounds.

Thank you
Peter
Reply all
Reply to author
Forward
0 new messages