Assuming the server has only one service. And we want to process
multi-client requests in parallel in a multi-core system.
On Friday, October 18, 2019 at 12:22:05 PM UTC+5:30, Debashish Deka wrote:
>
> Thank you for the explanation.
> I understood the logic of one thread waiting on the queue and
For example, the main thread should only pull requests from the queue and
enqueue on to the queue.
for example,
// main_thread:
cq.NEXT( ) ...
pool.enqueue(
// what to enqueue so that when one worker thread of my thread pool
pop one requests it can decide what handler to execute
)
On
Thank you for the explanation.
I understood the logic of one thread waiting on the queue and submitting
the tasks onto some container and the other thread processes those tasks
one by one.
I want a design where one thread should wait on the queue and push incoming
requests to a thread pool. I h
Hi Eric,
Thanks for the reply.
I am writing grpc server in scala. I have 2 classes (one for liveness and
other for readiness) and both are implementing HealthGrpc.HealthImplBase of
grpc-java.
In both classes, I implemented override def check(request:
HealthCheckRequest, responseObserver: Stream
Hey thanks!
I think I've figured it out.
First I downgraded to gcc-7 as well as g++-7
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 --slave
/usr/bin/g++ g++ /usr/bin/g++-7 --slave /usr/bin/gcov gcov /usr/bin/gcov-7
Then I set gcc-7 with highest priority
sudo update-alte
Nothing, I think. It looks like gRPC just doesn't build with GCC 8 (which
has added more checks/warnings that the gRPC build is treating as errors).
Someone else filed a bug about this:
https://github.com/grpc/grpc/issues/18689
Removing -Werror as Triose suggested, or adding -Wno-error=class-memac
I'm doing a project for school and we have to install gRPC and protocol
buffer dependencies for c++. I have been following the build instructions
here https://github.com/grpc/grpc/blob/master/BUILDING.md I am building on
Ubuntu 19 and when I run make from the root grpc/ I get the below error.