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 methodsjersey
for accessing over RESTgrizzly
for providing a container when run from command linexstream
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.