C++ API for Tachyon

88 views
Skip to first unread message

Jia Zou

unread,
May 11, 2016, 8:12:01 PM5/11/16
to Alluxio Users
Hi, guys,

My question is whether there is any way to develop C++ applications on top of Tachyon?
I did some search and it seems there are following options:
- Thrift

So could anyone can kindly provide some suggestions about:
1. whether it is a good idea to use libtachyon to develop C++ applications in terms of reliability and performance? anyone used that before?
2. are there any existing code base for C++ API implementations based on thrift?
3. which will have better performance: JNI or thrift?

Thanks a lot!
Jia

Jiří Šimša

unread,
May 12, 2016, 5:41:56 PM5/12/16
to Jia Zou, Alluxio Users
Hi Jia, both options you mention (JNI and Thrift) can be used for interacting with an Alluxio (formerly Tachyon) system from a C++ application, but I am not aware of any implementations of either of the two options for the latest version of Alluxio (version 1.0.1).

The advantage of the JNI option is that it is easier to implement because it reuses the Java client. The disadvantage is the overhead of creating a JVM to run the code, so I would expect the Thrift based approach to have better performance; but the implementation of the Thrift-based approach would be more involved as it needs to recreate the logic used by the Java client.

Best,

--
You received this message because you are subscribed to the Google Groups "Alluxio Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alluxio-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Jiří Šimša

Jia Zou

unread,
May 13, 2016, 1:39:33 AM5/13/16
to Jiří Šimša, Alluxio Users
Thanks Jiri, for your helpful replies!

Best Regards,
Jia

Adam

unread,
May 19, 2016, 12:00:40 PM5/19/16
to Alluxio Users
Jia, Jiří,

I've spent some time over the last month or so porting libtachyon to the latest version of Alluxio.  I have things functionally working (note that there's still a good amount of clean-up 
I'd like to do) and I'm hoping to contribute to the libtachyon repo sometime soon (this week or next).  If you can wait a little while longer, this might be a good option.

Thanks,
Adam

Jia Zou

unread,
May 19, 2016, 3:02:57 PM5/19/16
to Adam, Alluxio Users
Hi Adam,

Great, we are looking forward to using your work!
Could you please send me a note once you finish the porting work? We will appreciate, thanks.

Best Regards,
Jia

--
You received this message because you are subscribed to a topic in the Google Groups "Alluxio Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/alluxio-users/Qr6vWpG3jls/unsubscribe.
To unsubscribe from this group and all its topics, send an email to alluxio-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages