Apache Ignite容错群集设置
我已经开始了Apache Ignite的工作, 我提到了,但不理解集群 群集是否仅用于数据备份 1.(Node1客户端)我创建了SpringREST应用程序,并使用Apache Ignite容错群集设置,ignite,Ignite,我已经开始了Apache Ignite的工作, 我提到了,但不理解集群 群集是否仅用于数据备份 1.(Node1客户端)我创建了SpringREST应用程序,并使用 Ignite ignite = Ignition.start("examples/config/example-ignite.xml") IgniteCache<Integer, String> cache=ignite.getOrCreateCache("myCache"); ca
Ignite ignite = Ignition.start("examples/config/example-ignite.xml")
IgniteCache<Integer, String> cache=ignite.getOrCreateCache("myCache");
cache.put(1, "Hello");
cache.put(2, "World!");
我的问题是
1.设置这些配置以实现容错吗
2.如果我的节点1关闭,我必须自动将请求转发到另一个节点
请帮助我了解群集配置。ApacheIgnite群集是一组相互连接的机器和JVM进程,表示为应用程序的单个计算单元和存储 有两种类型的节点—存储数据集并处理查询和计算的节点(服务器节点)和用于从应用程序端连接到集群的节点(客户端节点)。请参阅更多详细信息 回答您的问题:
- 更多文章将添加到该系列中。检查一下房间
Ignite ignite = Ignition.start("examples/config/example-ignite.xml"))