ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kotamrajuyashasvi <kotamrajuyasha...@gmail.com>
Subject Using Java ignite clients and calling them from c++ using JNI v/s using c++ ignite clients directly
Date Wed, 09 Aug 2017 07:28:48 GMT

I have a c++ application that requires querying some data with transactions
on ignite. So I require a ignite client which would be called by this c++
application which would request the ignite server for processing the query.
Now there are two ways in which I could implement the ignite clients.

1. Use java for ignite clients and call these java ignite clients from c++
using simple JNI code. 
2. Use c++ ignite clients built using ignite c++ libraries and use these in
the main c++ application.

I know that c++ ignite clients also use JNI internally, but I feel like c++
clients do not have all features as java clients have like loading specific
entries in cache in loadcache(), affinity etc. Also I need to do additional
configurations and c++ BinaryType specialization for for mapping java Pojos 

What are the advantages or disadvantages of both the approaches. Does using
approach 1 have lesser overhead compared to approach 2? 

Also are there any better approaches than these two?

View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Using-Java-ignite-clients-and-calling-them-from-c-using-JNI-v-s-using-c-ignite-clients-directly-tp16073.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message