thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandan Akiti (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-4249) Sending a JSON object from a Node.js Thrift client using Buffered Transport and Binary Protocol is slow when compared to sending the same using a C++ Thrift client.
Date Mon, 10 Jul 2017 10:31:00 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chandan Akiti updated THRIFT-4249:
----------------------------------
    Summary: Sending a JSON object from a Node.js Thrift client using Buffered Transport and
Binary Protocol is slow when compared to sending the same using a C++ Thrift client.  (was:
Sending a JSON object from a Node.js Thrift client using Buffered Transport and Binary Protocol
is slow when compared to sending the same using a C++ Thrift client. What is the reason behind
this?)

> Sending a JSON object from a Node.js Thrift client using Buffered Transport and Binary
Protocol is slow when compared to sending the same using a C++ Thrift client.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-4249
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4249
>             Project: Thrift
>          Issue Type: Question
>          Components: C++ - Library, Node.js - Library
>         Environment: 2 Linux machines with Ubuntu 16.04, 8GB RAM and ulimit of both machines
set to 101000
>            Reporter: Chandan Akiti
>              Labels: performance
>
> A C++ Thrift server is running in one machine.
> A Node.js client running in other machine. Initially, this Node.js client runs using
a V8 addon of Thrift client written in C++, now module is changed to use Node.js Thrift modules
only. 
> Node.js module with V8 addon Thrift client is able to handle 4500 requests per second
perfectly. But Node.js Thrift module is handling very less number of requests. 
> I am using Buffered Transport and Binary Protocol to send these messages to the Thrift
server. Is it slow because of JavaScript or am I doing something wrong?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message