A fast, simple persistent queue written in Java

Overview

Ladder

Introduction

Ladder is a lightning fast persistent queue written in Java.

Usage

Installation

// TODO publish to Maven Central

Create persistent queue instance

String path = "/path/to/your/queue/dir";
        Queue queue = new LadderQueue(
        new File(path),
        LadderQueueOptions.builder()
        .dataFlushThreshold(512 * 1024)
        .maxFileSize(100 * 1024)
        .build()
);

Basic operations

put

byte[] data = new byte[] {...};
queue.put(data);

take

byte[] read = queue.take();

poll

long timeoutInMs = 500;
byte[] read = queue.poll(timeoutInMs);
You might also like...

A repository that contains Data Structure and Algorithms coded on Java

A repository that contains Data Structure and Algorithms coded on Java . It will also contain solutions of questions from Leetcode.

Oct 15, 2022

🎓☕ Repository of lessons and exercises from loiane.training's course on data structure with Java

🎓☕ Repository of lessons and exercises from loiane.training's course on data structure with Java

☕ Curso estrutura de dados com Java by @loiane.training Repositório com as aulas e exercícios do curso de estrutura de dados com Java da loiane.traini

Feb 1, 2022

Facebook Clone created using java based on Graph data Structure

Facebook Clone created using java based on Graph data Structure

Facebook Clone Facebook Clone created using java based on Graph data Structure Representation of Social Media using Graph Data Structure in Java It is

Jan 16, 2022

JAVA DASAR PROGRAMING

JAVA DASAR PROGRAMING Halo , Selamat datang di repository kami ! BELAJAR JAVA DASAR HANYA DALAM WAKTU 14 HARI Ayo berpartisipasi menjadi bagian dari J

Nov 5, 2022

Data structures and algorithms exercises in java

Data structures and algorithms exercises in java

Data structure and algorithms in Java About The Project [] In this repository you can find examples of data structure exercises solved in java and som

Nov 25, 2021

C++ / JAVA Optimised Solutions for LeetCode Problems

LeetCode Solutions Algorithms Math Bit Manipulation Array String Matrix Hash Table Binary Search Sorting Two Pointers Dynamic Programming My Most Vote

Jan 5, 2023

Data structures & algorithms implemented in Java and solutions to leetcode problems.

Hello, World! 👋 Hey everyone, I'm Sharad ☃ , and I'm a Software Engineer 💻 at eGain! This repository 📝 is all about data structures & algorithms an

Dec 16, 2022

A big, fast and persistent queue based on memory mapped file.

A big, fast and persistent queue based on memory mapped file.

Big Queue A big, fast and persistent queue based on memory mapped file. Notice, bigqueue is just a standalone library, for a high-throughput, persiste

Dec 30, 2022

📬Zola (Extremely) Simple Message Queue for spring, It is the simplest Message Queue you've ever experienced.

📬Zola (Extremely) Simple Message Queue for spring, It is the simplest Message Queue you've ever experienced.

It is the simplest Message Queue you've ever experienced. home (engish version) korean version docs 📗 Getting Started || Overview || Docs ZSMQ ZSMQ (

Nov 23, 2022

Persistent priority queue over sql

queue-over-sql This projects implement a persistent priority queue (or a worker queue) (like SQS, RabbitMQ and others) over sql. Why? There are some c

Aug 15, 2022

Rqueue aka Redis Queue [Task Queue, Message Broker] for Spring framework

Rqueue aka Redis Queue [Task Queue, Message Broker] for Spring framework

Rqueue: Redis Queue, Task Queue, Scheduled Queue for Spring and Spring Boot Rqueue is an asynchronous task executor(worker) built for spring and sprin

Jan 5, 2023

A simple fast search engine written in java with the help of the Collection API which takes in multiple queries and outputs results accordingly.

A simple fast search engine written in java with the help of the Collection API which takes in multiple queries and outputs results accordingly.

Oct 24, 2022

A Persistent Java Collections Library

PCollections A Persistent Java Collections Library Overview PCollections serves as a persistent and immutable analogue of the Java Collections Framewo

Dec 28, 2022

An extremely easy way to perform background processing in Java. Backed by persistent storage. Open and free for commercial use.

An extremely easy way to perform background processing in Java. Backed by persistent storage. Open and free for commercial use.

The ultimate library to perform background processing on the JVM. Dead simple API. Extensible. Reliable. Distributed and backed by persistent storage.

Jan 6, 2023

Persistent cluster-friendly scheduler for Java

db-scheduler Task-scheduler for Java that was inspired by the need for a clustered java.util.concurrent.ScheduledExecutorService simpler than Quartz.

Dec 31, 2022

A Persistent Java Collections Library

PCollections A Persistent Java Collections Library Overview PCollections serves as a persistent and immutable analogue of the Java Collections Framewo

Dec 28, 2022

Persistent (immutable) collections for Java and Kotlin

Persistent (immutable) collections for Java and Kotlin

What are Dexx Collections? Dexx Collections are a port of Scala's immutable, persistent collection classes to pure Java. Persistent in the context of

Sep 30, 2022
Owner
Zzz
null
A Persistent Java Collections Library

PCollections A Persistent Java Collections Library Overview PCollections serves as a persistent and immutable analogue of the Java Collections Framewo

harold cooper 708 Dec 28, 2022
Worker-queue implementation on top of Java and database

Database Queue Library provides worker-queue implementation on top of Java and database. Fintech company YooMoney uses db-queue in cases where reliabi

null 17 Dec 12, 2022
Estrutura de dados queue, filas.

Estrutura_de_dados_queue Estrutura de dados queue, filas. – estrutura de dados linear em que a inserção e a remoção de elementos de uma sequência se f

Marcus Vinícius Ribeiro Andrade 2 Dec 12, 2021
A lightning fast, transactional, file-based FIFO for Android and Java.

Tape by Square, Inc. Tape is a collection of queue-related classes for Android and Java. QueueFile is a lightning-fast, transactional, file-based FIFO

Square 2.4k Dec 30, 2022
Simple Binary Encoding (SBE) - High Performance Message Codec

Simple Binary Encoding (SBE) SBE is an OSI layer 6 presentation for encoding and decoding binary application messages for low-latency financial applic

Real Logic 2.8k Jan 3, 2023
A better compressed bitset in Java

RoaringBitmap Bitsets, also called bitmaps, are commonly used as fast data structures. Unfortunately, they can use too much memory. To compensate, we

Roaring bitmaps: A better compressed bitset 2.9k Dec 29, 2022
gRPC and protocol buffers for Android, Kotlin, and Java.

Wire “A man got to have a code!” - Omar Little See the project website for documentation and APIs. As our teams and programs grow, the variety and vol

Square 3.9k Dec 23, 2022
Example of implementing data structures in Java

Data Structures Example of implementing data structures in Java Implemented data structure : Queue Stack Linked List Binary Search Tree (BST) Trie Hea

Ismaïl BENHALLAM 2 Sep 27, 2021
This repository contains codes for various data structures and algorithms in C, C++, Java, Python, C#, Go, JavaScript and Kotlin.

Overview The goal of this project is to have codes for various data structures and algorithms - in C, C++, Java, Python, C#, Go, JavaScript and Kotlin

Manan 25 Mar 2, 2022
Material de apoio da turma de introdução ao JAVA da Let's Code

Introdução ao Java Esse repositório foi criado com o intuito de servir como material de apoio ao módulo de Introdução a Java da Let's Code. Sumário Li

Bruno Pereira Pinho 5 Oct 25, 2022