Git Product home page Git Product logo

jxio's Introduction

JXIO

JXIO is Java API over AccelIO (C library).

AccelIO (http://www.accelio.org/) is a high-performance asynchronous reliable messaging and RPC library optimized for hardware acceleration. RDMA and TCP/IP transport are implemented, and other transports, such as shared-memory can take advantage of efficient and convenient API.

Build instructions:

1. Download: git clone https://github.com/accelio/JXIO.git
2. Move into folder: cd JXIO
3. Set JAVA_HOME: export JAVA_HOME=/usr/java/jdk1.7.0_25/
4. Build: ./build.sh (this pulls the relevant C level Accelio library and builds everything you need)

Examples:

In examples folder there is HelloWorld example. Both client and server are single threaded. Client sends a single message to Server and exits after receiving a response.
  1. Run Server side: ./examples/runHelloWorld.sh server 36.0.0.120 1234
    LD library is: /.autodirect/mtrswgwork/katyak/tmp/jxio/examples
    Compiling JAVA files....
    Running Server side test
    2014-02-16 11:17:35,013 main INFO HelloServer:44 waiting for JXIO incoming connections
    2014-02-16 11:17:46,576 main INFO HelloServer:90 [SUCCESS] Got event onSessionNew from 36.0.0.121, URI='rdma://36.0.0.120:1234/'
    2014-02-16 11:17:46,578 main INFO HelloServer:108 [SUCCESS] Got a message request! Prepare the champagne!
    2014-02-16 11:17:46,579 main INFO HelloServer:116 msg is: 'Hello Server'
    2014-02-16 11:17:46,583 main INFO HelloServer:135 [EVENT] Got event SESSION_CLOSED

  2. Run Client side: ./examples/runHelloWorld.sh client 36.0.0.120 1234
    LD library is: /.autodirect/mtrswgwork/katyak/tmp/jxio/examples
    Compiling JAVA files....
    Running Client side test...
    2014-02-16 11:17:46,552 main INFO HelloClient:68 Try to establish a new session to 'rdma://36.0.0.120:1234/'
    2014-02-16 11:17:46,580 main INFO HelloClient:102 [SUCCESS] Session established! Hurray !
    2014-02-16 11:17:46,581 main INFO HelloClient:106 [SUCCESS] Got a message! Bring the champagne!
    2014-02-16 11:17:46,582 main INFO HelloClient:114 msg is: 'Hello to you too, Client'
    2014-02-16 11:17:46,582 main INFO HelloClient:118 Closing the session...
    2014-02-16 11:17:46,585 main INFO HelloClient:126 [EVENT] Got event SESSION_CLOSED
    2014-02-16 11:17:46,586 main INFO HelloClient:57 Client is releasing JXIO resources and exiting

jxio's People

Contributors

alon-grinshpoon avatar avnerbh avatar bivas avatar dinal avatar lorinmetzger avatar olgashern avatar orkmellanox avatar rosenbaumalex avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.