Skip to content

interference-project/iocluster-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

interference open cluster example

java-based distributed database platform
(c) 2010 - 2021 head systems, ltd.
current revision: release 2021.1
for detailed information see:
http://interference.su and doc/InterferenceManual.pdf

Concepts & features

  • runs in the same JVM with your application
  • operates with simple objects (POJOs)
  • uses base JPA annotations for object mapping directly to persistent storage
  • supports horizontal scaling SQL queries
  • supports transactions
  • supports complex event processing (CEP) and simple streaming SQL
  • can be used as a local or distributed SQL database
  • allows you to inserts data and run SQL queries from any node included in the cluster
  • does not require the launch of any additional coordinators
  • uses the simple and fast serialization
  • uses indices for fast access to data and increase performance of SQL joins

Example Application

The iocluster-test application shows example of using the basic interference use cases.

To get started with interference, you need to download sources of the current interference release (2021.1), build it and install it into your local maven repository (mvn install).

Next, create two aplication environments (node1 and node2) and specify the set of VM keys for each application (node1 below):

-Dsu.interference.config=node1.properties
-verbose:gc
-Xloggc:/ioclustergc.log
-XX:+PrintGCDetails
-XX:+PrintGCDateStamps
-XX:+AggressiveOpts
-Xms1G
-Xmx4G
-XX:MaxMetaspaceSize=256m
-XX:+UseStringDeduplication
-XX:ParallelGCThreads=4
-XX:ConcGCThreads=2
-Dlogback.configurationFile=config/app-log-config.xml
-Dcom.sun.management.jmxremote 
-Dcom.sun.management.jmxremote.port=8888
-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.ssl=false

See environments settings for both nodes in the /config directory, in the node1.config and node2.config files.

Next, start jconsole and connect to both interference nodes:

localhost:8888 for node 1
localhost:8889 for node 2

Use startup command first. Then see example code and read Examples page on the http://interference.su

About

interference open cluster example application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages