Giter Site home page Giter Site logo

jctools's Introduction

Build Status JCTools

Java Concurrency Tools for the JVM. This project aims to offer some concurrent data structures currently missing from the JDK:

  • Bounded lock free queues
  • SPSC/MPSC/SPMC/MPMC variations for concurrent queues
  • Alternative interfaces for queues (experimental)
  • Offheap concurrent ring buffer for ITC/IPC purposes (experimental)
  • Executor (planned)

And so on...

Build

JCTools is maven built and requires an existing Maven installation and JDK8 (only for building, runtime is 1.6 compliant).

With 'MAVEN_HOME/bin' on the path and JDK8 set to your 'JAVA_HOME' you should be able to run "mvn install" from this directory.

Install

Add as a dependency using Maven:

        <dependency>
            <groupId>org.jctools</groupId>
            <artifactId>jctools-core</artifactId>
            <version>1.0</version>
        </dependency>

Or using Jitpack:

	<repository>
	    <id>jitpack.io</id>
	    <url>https://jitpack.io</url>
	</repository>

You can get the same version:

	<dependency>
	    <groupId>com.github.JCTools</groupId>
	    <artifactId>JCTools</artifactId>
	    <version>1.0</version>
	</dependency>

Or the latest from master (which is alpha state):

	<dependency>
	    <groupId>com.github.JCTools</groupId>
	    <artifactId>JCTools</artifactId>
	    <version>v1.1-alpha</version>
	</dependency>

Latest code will be released via Jitpack with more official releases going through the Maven Central path too.

Benchmarks

JCTools is benchmarked using both JMH benchmarks and handrolled harnesses. The benchmarks and related instructions can be found in the jctools-benchmarks module. Instructions included in the module README.

Experimental

Experimental work is available under the jctools-experimental module. Most of the stuff is developed with an eye to eventually porting it to the core where it will be stabilized and released, but some implementations are kept purely for reference and some may never graduate.

jctools's People

Contributors

asatarin avatar darach avatar georges-gomes avatar jitpack-io avatar mjpt777 avatar nitsanw avatar peterhughesdev avatar richardwarburton 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.