lineup

In-Memory high-throughput queue

License

License

GroupId

GroupId

com.sangupta
ArtifactId

ArtifactId

lineup
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

lineup
In-Memory high-throughput queue
Project URL

Project URL

http://sangupta.com/projects/lineup
Source Code Management

Source Code Management

https://github.com/sangupta/lineup

Download lineup

How to add to project

<!-- https://jarcasting.com/artifacts/com.sangupta/lineup/ -->
<dependency>
    <groupId>com.sangupta</groupId>
    <artifactId>lineup</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.sangupta/lineup/
implementation 'com.sangupta:lineup:1.0.1'
// https://jarcasting.com/artifacts/com.sangupta/lineup/
implementation ("com.sangupta:lineup:1.0.1")
'com.sangupta:lineup:jar:1.0.1'
<dependency org="com.sangupta" name="lineup" rev="1.0.1">
  <artifact name="lineup" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.sangupta', module='lineup', version='1.0.1')
)
libraryDependencies += "com.sangupta" % "lineup" % "1.0.1"
[com.sangupta/lineup "1.0.1"]

Dependencies

compile (3)

Group / Artifact Type Version
com.sangupta : jerry-core jar 1.6.1
com.sangupta : jerry-http jar 1.0.0
com.sangupta : jerry jar 0.5.0

provided (4)

Group / Artifact Type Version
com.thoughtworks.xstream : xstream jar 1.4.7
com.sun.jersey : jersey-server jar 1.17.1
com.sun.grizzly : grizzly-servlet-webserver jar 1.9.57
com.sun.jersey : jersey-grizzly jar 1.17.1

test (1)

Group / Artifact Type Version
junit : junit jar 4.10

Project Modules

There are no modules declared in this project.

LineUp

LineUp is a simple in-memory high-throughput message queue service for Java. It can be used as:

  • As a standalone service accessible via REST services
  • Embedded inside an application

Features

  • In-memory and high-throughput
  • Three different queue types
  • Default: all messages are allowed, including duplicates
  • Reject Duplicates: reject all duplicate messages
  • Priority with Duplicates: a simple priority queue that allows duplicates to be stored
  • Priority without Duplicates: a simple priority queue that rejects duplicates
  • Merging Priority: accept all duplicates and merge them by increasing their priority
  • Accesible via REST API
  • Amazon SQS API compliant (to be done)

NOTE: The library is currently under development and may not be stable or may not support all features.

Builds

0.2.0 (Current Snapshot)

  • Added two more queue types in priority queues
  • Simplified merging priority queue to make sure that insert/update operations are O(1) on average
  • Fixed a few race conditions and synchronization issues
  • Moved to using lock-free data-strucutre for merging priority queue

0.1.0

  • Initial release
  • Allows access of queues via REST or in embedded mode

Dependencies

The lineup project is dependent on the following projects:

  • jerry for utility classes and methods
  • jersey for accessing over REST
  • grizzly for providing a container when run from command line
  • xstream for serialization and deserialization of objects when accessing over REST

Versioning

For transparency and insight into our release cycle, and for striving to maintain backward compatibility, lineup will be maintained under the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the follow format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • Breaking backward compatibility bumps the major
  • New additions without breaking backward compatibility bumps the minor
  • Bug fixes and misc changes bump the patch

For more information on SemVer, please visit http://semver.org/.

License

Copyright (c) 2013, Sandeep Gupta

The project uses various other libraries that are subject to their own license terms. See the distribution libraries or the project documentation for more details.

The entire source is licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the LICENSE. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Versions

Version
1.0.1
0.1.0