I have a 3 nodes grid and I would like to install a web server so I could make remote(not from nodes) calls to specific services inside my cluster.
1. Is there a way to expose a REST WebServices on top of Ignite?
2. I can see that there is a REST API for caches,etc can this be extended for my custom operations?
3. I could make a custom implementation where i run Jetty on each of the nodes and then use a load balancer to forward my calls to specific nodes, is it recommended? is there any easier way?
Thanks for the help in advance
You can start Jetty inside a service and run your custom logic there. Does this work for you?
On Mon, May 18, 2015 at 3:09 AM, Isaeed Mohanna <[hidden email]> wrote:
Thanks, but i assume that i will need to run my service on all nodes and then load balance the requests on client site between the different nodes, am i correct or is there another way?
On Mon, May 18, 2015 at 10:39 PM, vkulichenko [via Apache Ignite Users] <[hidden email]> wrote:
Isaeed, you can configure load balancer in your network and all clients will be automatically routed to keep balance.
For exposing functionality via REST you can do:
1. Use distributed services (as discussed)
2. Simply run Jetty (or any other container), launch Ignite on context startup and define your logic within your webapp which will use Ignite as backend. Will this work?
2015-05-19 8:11 GMT+03:00 Isaeed Mohanna <[hidden email]>:
Thank you for the information,
I will install a load balancer, i was wondering if there is something built in jetty
On Tue, May 19, 2015 at 3:20 PM, yakov [via Apache Ignite Users] <[hidden email]> wrote:
|Free forum by Nabble||Edit this page|