We have ignite cluster up with four nodes. This cluster is hydrated with data
into its cache. We want an external application to connect with cluster and
get all the data objects of particular cache from the cluster via REST.

I am thinking of following approaches:
1) Using ignite's service grid and deploy service into the grid, But I am
not able to figure out a way to consume that service via REST call.
2) Someone suggested to bring up the service using ignite's compute task
which can be invoked via REST call. The problem with approach is that the
compute task won't return set of objects to REST client. 
3) Bringing up the Jetty web server using service deployed on service
grid(starting server in init method of service), and then make REST client
to connect with that web server.
4) Using thin clients provided by ignite(Problem with this is that client
will connect to only one cluster node, what if that node goes down)
5) Using REST APIs provided by ignite(As we want all the data objects of one
cache, we are thinking of using REST APIs which executes SQL query and
return output objects from cluster's cache)

Which approach will work and which is the best one?

Thanks in advance.




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to