gridgain

Gridgain leader election pattern

▼魔方 西西 提交于 2019-12-04 22:03:15
What is the advised approach to ensuring a particular process is running exactly once within the grid? Usecase would be subscription of a single multiplexed stream from a remote source in order to update data across the grid. We need to elect the node to subscribe and elect a new node to subscribe when that node fails. Is there any pre-built pattern for this in gridgain or is it solved by a combination of listening to grid lifecycle events and a distributed CAS operation? Another usecase would be a singleton job that must run forever, migrating to a new node on failure. Thanks. Starting with

How to use gridgain with two nodes where each node on its own different host

我们两清 提交于 2019-12-04 21:04:10
Can anyone help me in guiding to use grid gain, The documentation on website is not enough and confusing. We have to run thousands of simulations in the LAN. can anyone help me in running compute grid on multiple hosts in a LAN. I am able to run compute example on multiple nodes on same host, but not on multiple nodes on multiple hosts. Kindly help. Compute examples are configured to work with local host settings. All you have to do is update IP addresses in examples/config/example-compute.xml file to the IP addresses in your environment. You only need to provide at least 1 IP address of the

Gridgain: java.lang.OutOfMemoryError: GC overhead limit exceeded

﹥>﹥吖頭↗ 提交于 2019-12-02 21:54:27
问题 I'm trying to set up a Gridgain cluster with 2 servers. Load data from a .csv file (1 million to 50 million data) to the Gridgain using GridDataLoader . Find the min, max, average, etc. from the data loaded, When running as a standalone application in eclipse I'm getting correct output. But while making a cluster (2 nodes in the 2 servers + 1 node inside my eclipse environment), I'm getting java.lang.OutOfMemoryError: GC overhead limit exceeded error. The configuration file I'm using is http:

Apache-Ignite integration as Hibernate 2nd level cache not starting?

夙愿已清 提交于 2019-12-02 13:41:38
问题 I am trying to set Apache Ignite as the second level Hibernate cache provider in my project but i am getting a strange exception. Configurations are as below: POM.xml Added <spring.version>4.3.0.RELEASE</spring.version> <hibernate.version>4.3.8.Final</hibernate.version> <ignite.version>1.6.0</ignite.version> <repositories> <repository> <id>GridGain External Repository</id> <url>http://www.gridgainsystems.com/nexus/content/repositories/external</url> </repository> </repositories> <dependency>

Gridgain: java.lang.OutOfMemoryError: GC overhead limit exceeded

蹲街弑〆低调 提交于 2019-12-02 08:32:32
I'm trying to set up a Gridgain cluster with 2 servers. Load data from a .csv file (1 million to 50 million data) to the Gridgain using GridDataLoader . Find the min, max, average, etc. from the data loaded, When running as a standalone application in eclipse I'm getting correct output. But while making a cluster (2 nodes in the 2 servers + 1 node inside my eclipse environment), I'm getting java.lang.OutOfMemoryError: GC overhead limit exceeded error. The configuration file I'm using is http://pastebin.com/LUa7gxbe Changing eclipse.ini's Xmx property might solve the problem. Change it to

Freeing java file handles

有些话、适合烂在心里 提交于 2019-12-02 06:48:53
问题 We have a rather large and complex application written in Java which is running on top of the Gridgain package. The problem I am having is that this application will sit there processing requests for approximately a day before every request starts resulting in an exception of type java.nio.channels.ClosedByInterruptException. My supposition is that the application is not releasing file handles and after a day of continuous usage it runs out and can no longer continue to process requests (each

Apache-Ignite integration as Hibernate 2nd level cache not starting?

廉价感情. 提交于 2019-12-02 03:22:56
I am trying to set Apache Ignite as the second level Hibernate cache provider in my project but i am getting a strange exception. Configurations are as below: POM.xml Added <spring.version>4.3.0.RELEASE</spring.version> <hibernate.version>4.3.8.Final</hibernate.version> <ignite.version>1.6.0</ignite.version> <repositories> <repository> <id>GridGain External Repository</id> <url>http://www.gridgainsystems.com/nexus/content/repositories/external</url> </repository> </repositories> <dependency> <groupId>org.apache.ignite</groupId> <artifactId>ignite-core</artifactId> <version>${ignite.version}<

What is the best library for Java to grid/cluster-enable your application? [closed]

↘锁芯ラ 提交于 2019-11-26 18:21:41
This is the ability to run your application on a cluster of servers with the intent to distribute the load and also provide additional redundancy. I've seen a presentation for GridGain and I was very impressed with it. Know of any others? There are several: Terracotta ( open source, based on Mozilla Public License ); Oracle Coherence (formerly Tangosol Coherence; commercial; based on JSR 107 , which was never adopted officially); GigaSpaces (commercial; based on JavaSpaces API , part of Jini ); GridGain , which you mentioned (open source: LGPL ); memcached with a Java client library (open

What is the best library for Java to grid/cluster-enable your application? [closed]

旧时模样 提交于 2019-11-26 06:15:51
问题 This is the ability to run your application on a cluster of servers with the intent to distribute the load and also provide additional redundancy. I\'ve seen a presentation for GridGain and I was very impressed with it. Know of any others? 回答1: There are several: Terracotta (open source, based on Mozilla Public License); Oracle Coherence (formerly Tangosol Coherence; commercial; based on JSR 107, which was never adopted officially); GigaSpaces (commercial; based on JavaSpaces API, part of