Coder Social home page Coder Social logo

gitveg / pika Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openatomfoundation/pika

0.0 0.0 0.0 89.85 MB

Pika is a NoSQL database compatible with redis which is developed by Qihoo's infrastructure team.

License: BSD 3-Clause "New" or "Revised" License

Shell 1.13% JavaScript 1.18% C++ 73.78% Python 0.73% C 0.53% Tcl 7.99% Go 11.74% CSS 0.12% TeX 0.09% Gnuplot 0.21% Makefile 0.76% HTML 1.02% CMake 0.66% Dockerfile 0.07%

pika's Introduction

YnbjQf.png

Build Status Downloads

Introduction中文

Pika is a persistent huge storage service , compatible with the vast majority of redis interfaces (details), including string, hash, list, zset, set and management interfaces. With the huge amount of data stored, redis may suffer for a capacity bottleneck, and pika was born for solving it. Except huge storage capacity, pika also support master-slave mode by slaveof command, including full and partial synchronization. You can also use pika together with twemproxy or codis(pika has supported data migration in codis,thanks left2right and fancy-rabbit) for distributed Redis solution

UserList

Qihoo 360game Weibo Garena
Apus Ffan Meituan XES
HX XL GWD DYD
YM XM XL YM
MM VIP LK KS

More

Feature

  • huge storage capacity
  • compatible with redis interface, you can migrate to pika easily
  • support master-slave mode (slaveof)
  • various management interfaces

For developer

Releases

The User can download the binary release from releases or compile the source release.

Compile

Supported platforms

  • linux - CentOS 6&7

  • linux - Ubuntu

  • macOS (Darwin) on M1

Dependencies

  • gcc g++, C++17 support (version>=7)
  • make
  • cmake (version>=3.18)
  • autoconf
  • tar

Compile

Upgrade your gcc to version at least 7 to get C++17 support.

  1. Get the source code
  git clone https://github.com/OpenAtomFoundation/pika.git
  1. Checkout the latest release version
  a. exec git tag to get the latest release tag
  b. exec git checkout TAG to switch to the latest version
  1. Compile

Please run the script build.sh before you compile this db to check the environment and build this repo. If the gcc version is later than 7, such as CentOS6 or centOS7, you need to upgrade the gcc version first

Do as follows

  a. sudo yum -y install centos-release-scl
  b. sudo yum -y install devtoolset-7-gcc devtoolset-7-gcc-c++
  c. scl enable devtoolset-7 bash

Please run the script build.sh before you compile this db to check the environment and build this repo.

  ./build.sh

The compilation result is in the 'output' directory.

By default the compilation process is in 'release' mode. If you wanna debug this db,you need to compile it in 'debug' mode.

  rm -fr output
  cmake -B output -DCMAKE_BUILD_TYPE=Debug
  cd ouput && make

Usage

./output/pika -c ./conf/pika.conf

Clean compilation

  If wanna clean up the compilation content, you can choose one of the following two methods as your will.
  1. exec `cd output && make clean` clean pika Compile content
  2. exec `rm -fr output` rebuild cmake (for complete recompilation)

Performance

More details on Performance.

Documents

  1. doc

Contact Us

Wechat: PikiwiDB (The attachment comment should be "Join Pika Wechat Group")

QQ group: 294254078

pika's People

Contributors

kernelmaker avatar axlgrep avatar whoiami avatar flabby avatar catkang avatar baotiao avatar jacketwoo avatar kernelai avatar leviathan1995 avatar wanghenshui avatar wenduo avatar alexstocks avatar lqxhub avatar fancy-rabbit avatar 4kangjc avatar tangruilin avatar simpcl avatar liba-s avatar left2right avatar machinly avatar gitveg avatar justforfun1323 avatar loveyacper avatar weedge avatar liuqian1990 avatar prcyangli avatar git-hulk avatar dependabot[bot] avatar deep011 avatar chejinge 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.