Coder Social home page Coder Social logo

ipage's Introduction

What is it?

iPage is a java key-value store library, which is designed for message system.

Features

  • Very fast write by sequence appending
  • Random reading by index
  • [A]synchronize invocation
  • Flush By write count or time elpase
  • Group commit
  • Date recovery after crash
  • Garbage data collecting (or Defragment)
  • Degrade after OOM
  • Monitor and control by JMX

More

Please see issues.

Benchmark

| Case            |   Times   | Total Eplase | Average Elapse | TPS         | Concurrency |
|-----------------|-----------|--------------|----------------|-------------|-------------|
| Random get      | 1,000,000 | 6.009 s      | 6,008   ns     | 166444.74   | 8           |
| Async add       | 1,000,000 | 24.90 s      | 24,904  ns     | 40154.19    | 16          |
| Async remove    | 1,000,000 | 32.84 s      | 32,842  ns     | 30448.82    | 16          |
| Sync add        | 16,384    | 5.142 s      | 313,857 ns     | 3186.31     | 32          |
  • Read and write data is 1KB

Enviroment

  • Linux 2.6.18-164.el5
  • OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)
  • Intel(R) Xeon(R) CPU E5620 @ 2.40GHz 8 core
  • Memory 24GB
  • SCSI 1TB

Getting started

Preconditions

Make sure your enviroment has:

Run test

> git clone [email protected]:zhongl/iPage.git
> cd iPage
> mvn clean test

Run benchmark

> mvn clean test -Dtest=IPageBenchmark -DargLine="-Xmx512m -Xms512m"

Usage

Please see:

More

Design Doc

ipage's People

Contributors

zhongl avatar

Watchers

James Cloos avatar Daoud AbdelMonem Faleh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.