Processing messages on the main server thread

14 views
Skip to first unread message

Raven Kopelman

unread,
Oct 17, 2025, 6:38:51 PM (yesterday) Oct 17
to grpc.io
Hello gRPC friends,

I may have a need to process some messages on the server's main thread (a zillion finicky 3rd party libraries are involved).

Is this technically possible (and reasonable) using a C++ gRPC server?  Like, initiate the gRPC server on a secondary thread and have the main thread listening to a message queue for instructions.  Maybe using a custom gRPC EventEngine?

Sounds dodgy even describing it.

Very happy to read docs if I've just failed to find them.  Less excited to pioneer investigation in this area or depend on an untested usage pattern...

Cheers,
Raven
Reply all
Reply to author
Forward
0 new messages