blob: d52cb6e4a8d4a8a2f2ebf5e85c03cb38ca8fff22 [file] [log] [blame]
extend ../_components/base.pug
block pagetitle
| Service APIs
block css
link(rel="stylesheet", href="../css/native-persistence.css")
link(rel="stylesheet", href="../css/service.css")
link(rel="stylesheet", href="../css/compute-apis.css")
link(rel="stylesheet", href="../js/vendor/highlight/night-owl.css")
block main
- global.pageHref = "features"
- config.hdrClassName = "hdr__blue"
include ../_components/header.pug
.innerhero__pre.pb-3 Apache Ignite
h1.h1.innerhero__h1 Service APIs
Deploy your microservices straight on the cluster nodes and<br> trigger execution from the application code
a.button.innerhero__button(href="") Start Coding
img.innerhero__pic.innerhero__pic--servicegrid(src="/public/img/features/service/service-hero.svg", alt="Distributed In-Memory Cache")
// /.innerhero
h2.service1__h2 Apache Ignite Service APIs Overview
.fz20.service1__text With the services API, you can create and deploy arbitrary services on the cluster. Apache Ignite Service APIs Overview For instance, you may want to implement custom counters, hierarchical maps, or anything that you treat as a microservice.
// /.service1
h2.h4.blockheader__left Use Contemporary Powerful Languages
p Microservices APIs supported by Java and С#/.NET
a(href="#", data-tablink="nativeTabJava") Java
Ignite ignite = Ignition.start();
//get the services interface associated with all server nodes
IgniteServices services =;
//start a node singleton
services.deployClusterSingleton("myCounterService", new MyCounterServiceImpl());
// /.nativecode
h2.service2__h2.h4 Services Deployment Modes
.service2__text Deploy single or many instances of a service on the cluster
h3.service2item__title Cluster Singleton
p.service2item__text The most commonly used feature is to deploy singleton services on the cluster.
p.service2item__text There is only one instance of the service in the cluster, and Ignite guarantees<br> that the instance is always available.
p.service2item__text In case the cluster node on which the service is deployed disconnects, Ignite automatically redeploys the instance to another node.
img.service2item__image1(src="/public/img/features/service/one-image.svg", alt="one-image")
img.service2item__image2(src="/public/img/features/service/two-image.svg", alt="two-image")
h3.service2item__title Node Singleton
p.service2item__text You can specify your service as part of the node configuration and start<br> the service together with the node.
p.service2item__text The service is started on each node of the cluster. If the service is a cluster singleton, it is started in the first cluster node, and is redeployed to one <br>of the other nodes if the first node terminates.
h2.compute2__h2 Benefits Of Apache Ignite Service APIs
h3.fz20.compute2item__title Load balancing
p.compute2__text In all cases, other than singleton service deployment, Ignite makes sure that an equal number of services are deployed on each node within the cluster.
p.compute2__text Whenever cluster topology changes, Ignite will re-evaluate service deployments and may re-deploy an already deployed service on another node for better load balancing.
h3.fz20.compute2item__title Fault Tolerance
p.compute2__text Ignite always guarantees that services are continuously available, and are deployed according to the specified configuration, regardless of any topology changes or node crashes.
h3.fz20.compute2item__title Hot Redeployment
p.compute2__text You can update the implementation of a service without stopping the cluster.
p.compute2__text Use Ignites DeploymentSpi configuration to re-deploy services without restarting the cluster.
// /.compute2
img(src="/public/img/features/native-rocket.svg", alt="").nativebotblock__icon
span Ready to Start?
p.nativebotblock__text Start coding with Ignite Service APIs
a.nativebotblock__link.arrowlink(href="", target="_blank") Performing Service APIs
img(src="/public/img/features/native-docs.svg", alt="").nativebotblock__icon
span Want to Learn More?
p.nativebotblock__text Check out a special tutorial that shows how to build and deploy microservices with Ignite Service APIs
a.nativebotblock__link.servicenativelink.arrowlink(href="", target="_blank") Implementing Microservices<br> With Apache Ignite Service APIs