You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/03/14 05:16:25 UTC
[GitHub] [pulsar-client-node] k2la opened a new issue #14: Implement
Asynchronous Processing C Async Function
k2la opened a new issue #14: Implement Asynchronous Processing C Async Function
URL: https://github.com/apache/pulsar-client-node/issues/14
Currently, Asynchronous processing in this client library is implemented by using [NAPI::AsyncWorker](https://github.com/nodejs/node-addon-api/blob/master/doc/async_worker.md).
e.g. https://github.com/apache/pulsar-client-node/blob/master/src/Producer.cc#L89-L120
The throughput of asynchronous processing using NAPI::AsyncWorker is lower than that using C async function(e.g. pulsar_client_create_producer_async).
Therefore, we have to use C async function in order to make performance higher.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services