Skip to content
Andrei Pozolotin edited this page Dec 11, 2012 · 17 revisions

Java wrapper around native C++ UDT protocol implementation

TCP

TCP is slow. UDT is fast.

UDT

UDT is a reliable UDP based application level data transport protocol for distributed data intensive applications.

UDT is developed by Yunhong Gu and others at University of Illinois and Google.

UDT C++ implementation is available under BSD license

Barchart-UDT

Barchart-UDT is a Java wrapper around native C++ UDT protocol implementation.

Barchart-UDT is developed by Andrei Pozolotin and others at [Barchart, Inc.] (http://www.barchart.com)

Barchart-UDT is available under [BSD license] (http://udt.sourceforge.net/license.html) as well.

Barchart-UDT exposes UDT protocol as both [java.net.Socket] (http://java.sun.com/javase/6/docs/api/java/net/Socket.html) and [java.nio.channels.SocketChannel] (http://java.sun.com/javase/6/docs/api/java/nio/channels/SocketChannel.html) and comes with a [java.nio.channels.spi.SelectorProvider] (http://java.sun.com/javase/6/docs/api/java/nio/channels/spi/SelectorProvider.html) .

Developers Welcome

If you are an expert in Java, NIO, JNI, C++, if you need this project for yourself,

and if you can contribute to this project - please get in touch.

Maven Dependency

Barchart-UDT RELEASE is available in [maven central repository] (http://search.maven.org/#search%7Cga%7C1%7Cbarchart-udt) .

<dependencies>
	<dependency>
		<groupId>com.barchart.udt</groupId>
		<artifactId>barchart-udt-bundle</artifactId>
		<version>X.Y.Z</version>
		<type>jar</type>
		<scope>compile</scope>
	</dependency>
</dependencies>

To use Barchart-UDT SNAPSHOT as maven dependency in your java project, please provide the following repository and dependency definitions in your pom.xml:

<repositories>
	<repository>
		<id>sonatype-nexus-snapshots</id>
		<name>Sonatype Nexus Snapshots</name>
		<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		<releases>
			<enabled>false</enabled>
		</releases>
		<snapshots>
			<enabled>true</enabled>
		</snapshots>
	</repository>
</repositories>
<dependencies>
	<dependency>
		<groupId>com.barchart.udt</groupId>
		<artifactId>barchart-udt-bundle</artifactId>
		<version>X.Y.Z-SNAPSHOT</version>
		<type>jar</type>
		<scope>compile</scope>
	</dependency>
</dependencies>

Here is an example pom.xml and [eclipse project] (http://code.google.com/p/barchart-udt/source/browse/trunk/test-deps/) .

You can find out current versions here: [RELEASE] (https://oss.sonatype.org/content/repositories/releases/com/barchart/udt/) [SNAPSHOT] (https://oss.sonatype.org/content/repositories/snapshots/com/barchart/udt/)

Please make sure you update barchart-udt-bundle artifact version in your pom.xml

Supported Platforms

Barchart-UDT is currently used on:

  • Oracle JDK: 6;

|| Platform || x86/i386 || x86-64/amd64 || || Linux || YES || YES || || Mac OS X || YES || YES || || Windows || YES || YES ||

First Header Second Header
Content Cell Content Cell
Content Cell Content Cell

Documentation

Read the presentation , study javadoc , doxygen or browse the source xref .

Unit Tests in the source will provide good starting points for your java code.

Development Environment

Build System

  • jdk 1.6.0_37
  • maven 3.0.4
  • jenkins 1.450
  • eclipse 3.7
  • cdt 7.1
  • gcc 4.5.1
  • tdm-gcc 4.5.1
  • vmware 7.1
  • ubuntu 10.10
  • macosx 10.6.5
  • windows 7

Contact Information

Please enter your [bug reports / feature requests] (https://github.com/barchart/barchart-udt/issues) in the "Issues";

Thank you.

Clone this wiki locally