Hi Jeff, Thanks for your response. Will look into your code and try. And reach out in case of any doubts.
Thanks -Vinodh On Friday, June 16, 2023 at 6:39:40 PM UTC+5:30 Jeff Steger wrote: > > Take a look at > https://github.com/lbj137/repo1 > > > > > On Thu, Jun 15, 2023 at 1:10 AM Vinodh Shankar <[email protected]> > wrote: > >> I am working on a C++ project where I have implemented a gRPC server. I >> would like to handle incoming requests asynchronously, regardless of the >> client. >> In my C++ application, I have a gRPC server that receives requests from >> various clients and RPCs. Currently, I handle these requests synchronously, >> where the server waits for each client request to complete before >> processing the next one. However, I want to improve the server's >> performance by handling requests asynchronously, so that multiple requests >> can be processed concurrently. >> >> I am seeking advice on the best approach to implement asynchronous >> handling of gRPC requests in C++. Specifically, I want to handle requests >> independently of the client, ensuring that the server is not blocked by any >> particular client request. >> >> Some specific areas where I would appreciate guidance include: >> >> 1. How to design the server architecture to support asynchronous >> processing efficiently. >> 2. How to handle concurrency issues and ensure thread safety when >> handling multiple requests simultaneously. >> 3. Recommendations for any existing libraries or tools that can >> assist in implementing asynchronous processing in a C++ gRPC server. >> 4. Examples or code snippets demonstrating how to implement >> asynchronous handling of requests in a C++ gRPC server. >> >> Thanks >> -Vinodh >> >> -- >> You received this message because you are subscribed to the Google Groups >> "grpc.io" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/grpc-io/a997010c-3215-4e64-a4d8-4e7be9d26901n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/grpc-io/a997010c-3215-4e64-a4d8-4e7be9d26901n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/9db82e09-1560-4373-a5f9-eb752dd8e948n%40googlegroups.com.
