Menu

Tree [6a9a4e] master /
 History

HTTPS access


File Date Author Commit
 core 2014-10-19 Sergey Zubarev Sergey Zubarev [15a8ab] Added MessageQueue implementation.
 tests 2014-10-19 Sergey Zubarev Sergey Zubarev [15a8ab] Added MessageQueue implementation.
 LICENSE.agpl 2013-10-10 Sergey Zubarev Sergey Zubarev [3de07e] Added license.
 LICENSE.txt 2013-10-10 Sergey Zubarev Sergey Zubarev [3de07e] Added license.
 README.md 2014-10-09 js-labs js-labs [1bd8ba] Update README.md
 build.xml 2014-10-19 Sergey Zubarev Sergey Zubarev [cb5f49] Added MessageQueue test.

Read Me

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

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

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.

Building

You will require JDK 1.7 and appache ant.

ant dist

Running tests

ant tests

Contacts

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

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.