Hazelcast专用节点 [英] Hazelcast dedicated nodes

查看:115
本文介绍了Hazelcast专用节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在专用服务器上运行Hazelcast节点的最简单方法是什么?

What is the simplest way to run Hazelcast nodes on dedicated servers?

我们有一个使用Hazelcast分布式地图的Web应用程序。
目前,Hazelcast节点配置为在Servlet容器节点中运行。

We have a web application that uses a Hazelcast distributed map. Currently the Hazelcast nodes are configured to run in the Servlet Container nodes.

随着我们扩展,我们希望添加专用硬件作为Hazelcast节点。

As we scale up, we'd like to add dedicated hardware as Hazelcast nodes.

然后我们不再需要Servlet容器中的完整Hazelcast节点,这些节点可以是客户端。 (与Servlet容器相关的许可成本,所以从它们的负载是好的,不要问...)

Then we won't need full Hazelcast nodes in the Servlet Containers anymore, those can be clients. (There are licensing costs associated with the Servlet Containers, so getting load off them is good, don't ask...)

所以问题是,什么是最小的Hazelcast节点安装?类似于memcached安装的东西。
所有需要做的就是读取配置并启动,没有本地客户端。

So the question is, what's a minimal Hazelcast node installation? Something analogous to a memcached installation. All it needs to do is read configuration and start up, no local clients.

我看到它支持Jetty,但是根本需要它,或者是我可以在JVM raw上执行这些jar中的一些简单类吗?

I see it supports Jetty, but is that needed at all, or is there some simple class in those jars I could execute on a JVM raw?

推荐答案

只需创建一个调用 HazelCast.init

com.hazelcast.examples 包中有许多测试类可以从bin运行淡褐色分布的目录。

There are a number of test classes in the com.hazelcast.examples package which can be run from the bin directory of the hazelcast distribution.

这篇关于Hazelcast专用节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆