Skip to content

Java network (NIO) application framework: performance and scalability.

License

Unknown, AGPL-3.0 licenses found

Licenses found

Unknown
LICENSE.txt
AGPL-3.0
LICENSE.agpl
Notifications You must be signed in to change notification settings

jheusser/js-collider

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

                 JS-Collider
                 ===========

                   +-----+
             /-----|     |-----\        +---+ 
            /      |     |      <=======|A/C| Session emitters
           /   /---|     |---\   \      +---+ (acceptor/connector)
          /   /    +-----+    \   \
          |   |     <----     |   |
TCP/IP ---+-S |               |   |
session  +-----+             +-----+
         |     |             |     |
         |     |             |     |
         |     |             |     |
         +-----+             +-----+
          |   |               |   |
          |   |     ---->     |   |
          \   \    +-----+    /   /
           \   \---|     |---/   /
            \      |     |  S   /
             \-----|     |--+--/
                   +-----+  |
                            |
                          TCP/IP
                          session

Join the chat at https://gitter.im/js-labs/js-collider

JS-Collider is an asynchronous event-driven Java network (NIO) application framework designed to provide maximum performance and scalability for applications having not too many connections but significant amount of network traffic (both incoming and outgoing).

Performance is achieved by specially designed threading model and lock-free algorithms (learn more)

Main features:

  • simple and flexible API (learn more)
  • UDP (with multicast) support
  • shared memory IPC support out-of-the-box (learn more)
  • no GC overhead on income data, only one allocation per output message
  • plain Java 1.7 (no any unsafe cheating)

Refer the Wiki for API documentation and performance tests results.

Downloading from the Maven central repository

Add the following dependency section to your pom.xml:

<dependencies>
  ...
    <dependency>
      <groupId>org.js-labs</groupId>
      <artifactId>js-collider</artifactId>
      <version>A.B.C</version>
      <scope>compile</scope>
    </dependency>
  ...
</dependencies>

Building

You will require JDK 1.7 and appache ant or maven.

ant package

or

mvn package

Running tests

ant tests

Contacts

Need more features or support? Contact info@js-labs.org

About

Java network (NIO) application framework: performance and scalability.

Resources

License

Unknown, AGPL-3.0 licenses found

Licenses found

Unknown
LICENSE.txt
AGPL-3.0
LICENSE.agpl

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%