cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "R. Verlangen" <ro...@us2.nl>
Subject Re: Why Hector is taking more time than Thrift
Date Wed, 06 Jun 2012 09:19:51 GMT
Hector is a higher-level client that provides some abstraction and an easy
to use interface. The Thrift API is pretty raw. So for most cases the
Hector client would be the best choice; except for use-cases where the
ultimate performance is a requirement (resulting in lots of more
maintenance between Thrift API changes).

2012/6/6 Prakrati Agrawal <Prakrati.Agrawal@mu-sigma.com>

>  Dear all****
>
> ** **
>
> I am trying to evaluate the performance of Cassandra and wrote a code to
> retrieve a complete row ( having 43707 columns) using Thrift and Hector. *
> ***
>
> The thrift client code took 0.767 seconds while Hector code took 0.883
> seconds . Is it expected that Hector will be slower than Thrift? If yes,
> then why are we using Hector and not Thrift?****
>
> ** **
>
> Thanks and Regards****
>
> ** **
>
> Prakrati Agrawal | Developer - Big Data(I&D)| 9731648376 |
> www.mu-sigma.com ****
>
> ** **
>
> ------------------------------
> This email message may contain proprietary, private and confidential
> information. The information transmitted is intended only for the person(s)
> or entities to which it is addressed. Any review, retransmission,
> dissemination or other use of, or taking of any action in reliance upon,
> this information by persons or entities other than the intended recipient
> is prohibited and may be illegal. If you received this in error, please
> contact the sender and delete the message from your system.
>
> Mu Sigma takes all reasonable steps to ensure that its electronic
> communications are free from viruses. However, given Internet
> accessibility, the Company cannot accept liability for any virus introduced
> by this e-mail or any attachment and you are advised to use up-to-date
> virus checking software.
>



-- 
With kind regards,

Robin Verlangen
*Software engineer*
*
*
W http://www.robinverlangen.nl
E robin@us2.nl

Disclaimer: The information contained in this message and attachments is
intended solely for the attention and use of the named addressee and may be
confidential. If you are not the intended recipient, you are reminded that
the information remains the property of the sender. You must not use,
disclose, distribute, copy, print or rely on this e-mail. If you have
received this message in error, please contact the sender immediately and
irrevocably delete this message and any copies.

Mime
View raw message