All Projects → pmem → llpl

pmem / llpl

Licence: other
Low Level Persistence Library

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to llpl

Mongoose Transactions
Atomicity and Transactions for mongoose.
Stars: ✭ 51 (-46.32%)
Mutual labels:  transactions
Bouncer Proxy
👮🏻🛰 Ethereum identity proxy contract that bounces meta transactions of etherless accounts.
Stars: ✭ 142 (+49.47%)
Mutual labels:  transactions
Iroha
Iroha - A simple, enterprise-grade decentralized ledger
Stars: ✭ 210 (+121.05%)
Mutual labels:  transactions
React Native Firebase
🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.
Stars: ✭ 9,674 (+10083.16%)
Mutual labels:  transactions
Arango
Golang driver for ArangoDB
Stars: ✭ 125 (+31.58%)
Mutual labels:  transactions
Blockchain
blockchain (crypto) tools, libraries & scripts in ruby
Stars: ✭ 143 (+50.53%)
Mutual labels:  transactions
Cryptoinscriber
📈 A live cryptocurrency historical trade data blotter. Download live historical trade data from any cryptoexchange, be it for machine learning, backtesting/visualizing trading strategies or for Quantopian/Zipline.
Stars: ✭ 27 (-71.58%)
Mutual labels:  transactions
bank2ynab
Easily convert and import your bank's statements into YNAB. This project consolidates other conversion efforts into one universal tool.
Stars: ✭ 197 (+107.37%)
Mutual labels:  transactions
Ynab Bank Importer
💰 Pull transactions from your bank and import them to YNAB automatically.
Stars: ✭ 129 (+35.79%)
Mutual labels:  transactions
Bpe
💠 BPE: Business Process Engine
Stars: ✭ 178 (+87.37%)
Mutual labels:  transactions
Tupl
The Unnamed Persistence Library
Stars: ✭ 83 (-12.63%)
Mutual labels:  transactions
Corobase
Coroutine-Oriented Main-Memory Database Engine, VLDB 2021.
Stars: ✭ 121 (+27.37%)
Mutual labels:  transactions
Bitcoin Transaction Explorer
Simple and pure block explorer you can run on top of a full node
Stars: ✭ 165 (+73.68%)
Mutual labels:  transactions
Waves Api
Waves API library for Node.js and browser
Stars: ✭ 78 (-17.89%)
Mutual labels:  transactions
Tarantool
Get your data in RAM. Get compute close to data. Enjoy the performance.
Stars: ✭ 2,787 (+2833.68%)
Mutual labels:  transactions
Cachex
A powerful caching library for Elixir with support for transactions, fallbacks and expirations
Stars: ✭ 985 (+936.84%)
Mutual labels:  transactions
Budgetzero
https://app.budgetzero.io
Stars: ✭ 143 (+50.53%)
Mutual labels:  transactions
buildsqlx
Go database query builder library for PostgreSQL
Stars: ✭ 92 (-3.16%)
Mutual labels:  transactions
metall
Persistent memory allocator for data-centric analytics
Stars: ✭ 46 (-51.58%)
Mutual labels:  persistent-memory
Pytest Flask Sqlalchemy
A pytest plugin for preserving test isolation in Flask-SQLAlchemy using database transactions.
Stars: ✭ 168 (+76.84%)
Mutual labels:  transactions

Low-Level Persistence Library

OVERVIEW

The Low-Level Persistence Library (LLPL) is a Java library that provides access to off-heap persistent memory. LLPL includes several kinds of components that can be allocated and used alone or together in building applications:

  • heaps: a pool of memory and an allocator for it
  • memory blocks: unstructured bytes that can be laid out for any purpose and linked to build data structures
  • pre-built data structures: arrays, linked list, and radix trees
  • memory pools: a process-shareable pool of memory

Data stored in the components above can persist beyond the life of a JVM instance, i.e. across application or system restarts. LLPL provides APIs that help developers ensure consistency of stored data.

Memory allocated using LLPL is not garbage-collected and must be explicitly deallocated using LLPL APIs.

LLPL uses the Persistent Memory Development Kit (PMDK). For more information on PMDK, please visit http://pmem.io and https://github.com/pmem/pmdk.

HOW TO BUILD & RUN

PREREQUISITES TO BUILD

The following are the prerequisites for building this Java library:

  1. Linux operating system
  2. Persistent Memory Development Kit (PMDK) v1.5 or newer
  3. Java 8 or newer
  4. Build tools - g++ compiler, CMake and Maven

PREREQUISITES TO RUN

This library assumes the availability of hardware persistent memory or emulated persistent memory. Instructions for creating emulated persistent memory are shown below.

EMULATING PERSISTENT MEMORY

The preferred way is to create an in-memory DAX file system. This requires Linux kernel 4.2 or greater. Please follow the steps at:

http://pmem.io/2016/02/22/pm-emulation.html

Alternatively, for use with older kernels, create a tmpfs partition as follows (as root):

$ mount -t tmpfs -o size=4G tmpfs /mnt/mem  # creates a 4GB tmpfs partition
$ chmod -R a+rw /mnt/mem                    # enables read/write permissions to all users

STEPS TO BUILD AND RUN TESTS

Once all the prerequisites have been satisfied:

$ git clone https://github.com/pmem/llpl.git
$ cd llpl
$ mvn test -Dtest.heap.path=<path to persistent memory mount point>

Available Maven commands include:

  • compile - builds sources
  • test - builds and runs tests
  • javadoc:javadoc - builds javadocs into target/site/apidocs
  • package - builds jar file into target directory

USING THIS LIBRARY IN EXISTING JAVA APPLICATIONS

WITH MAVEN

LLPL is available from the Maven central repository. Add the following dependency to your pom.xml:

<dependency>
    <groupId>com.intel.pmem</groupId>
    <artifactId>llpl</artifactId>
    <version>1.2.1-release</version>
    <type>jar</type>
</dependency>

WITH CLASSPATH

To use this library in your Java application, build the LLPL jar and include its location in your Java classpath. For example:

$ mvn package
$ javac -cp .:<path>/llpl/target/llpl-<version>.jar <source>
$ java -cp .:<path>/llpl/target/llpl-<version>.jar <class>

Alternatively, include LLPL's target/classes directory in your Java classpath and the target/cppbuild directory in your java.library.path. For example:

$ mvn compile
$ javac -cp .:<path>/llpl/target/classes <source>
$ java -cp .:<path>/llpl/target/classes -Djava.library.path=<path>/llpl/target/cppbuild <class>

CONTRIBUTING

Thanks for your interest! Please see the CONTRIBUTING.md document for information on how to contribute.

We would love to hear your comments and suggestions via https://github.com/pmem/llpl/issues.

Contacts

For more information on this library, contact Olasoji Denloye ([email protected]), Matt Welch ([email protected]), or Steve Dohrmann ([email protected]).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].