-
Notifications
You must be signed in to change notification settings - Fork 583
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'unstable' into RELEASE_0_9
- Loading branch information
Showing
28 changed files
with
401 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
language: generic | ||
os: osx | ||
matrix: | ||
include: | ||
- os: linux | ||
script: make | ||
env: COMPILER_NAME=gcc CXX=g++-5 CC=gcc-5 | ||
addons: | ||
apt: | ||
packages: | ||
- g++-5 | ||
- nasm | ||
sources: &sources | ||
- llvm-toolchain-precise-3.8 | ||
- ubuntu-toolchain-r-test | ||
- os: linux | ||
script: make MALLOC=libc | ||
env: COMPILER_NAME=clang CXX=clang++-3.8 CC=clang-3.8 CXXFLAGS="-stdlib=libc++" LDFLAGS="-stdlib=libc++" | ||
addons: | ||
apt: | ||
packages: | ||
- clang-3.8 | ||
- libc++-dev | ||
- libc++abi-dev | ||
- nasm | ||
sources: *sources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM ubuntu:18.04 | ||
|
||
|
||
|
||
RUN apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qqy \ | ||
build-essential nasm autotools-dev autoconf libjemalloc-dev tcl tcl-dev \ | ||
&& apt-get clean | ||
|
||
CMD make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
![Current Release](https://img.shields.io/github/release/JohnSully/KeyDB.svg) | ||
[![Build Status](https://travis-ci.org/JohnSully/KeyDB.svg?branch=unstable)](https://travis-ci.org/JohnSully/KeyDB) [![Join the chat at https://gitter.im/KeyDB/community](https://badges.gitter.im/KeyDB/community.svg)](https://gitter.im/KeyDB/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
|
||
What is KeyDB? | ||
-------------- | ||
|
||
|
@@ -9,6 +12,13 @@ KeyDB has full compatibility with the Redis protocol, modules, and scripts. Thi | |
|
||
Try our docker container: https://hub.docker.com/r/eqalpha/keydb | ||
|
||
Talk on Gitter: https://gitter.im/KeyDB | ||
|
||
New: Active Replica Support | ||
--------------------------- | ||
|
||
New! KeyDB now has support for Active Replicas. This feature greatly simplifies hot-spare failover and allows you to distribute writes over replicas instead of just a single master. For more information [see the wiki page](https://github.com/JohnSully/KeyDB/wiki/KeyDB-(Redis-Fork):-Active-Replica-Support). | ||
|
||
Why fork Redis? | ||
--------------- | ||
|
||
|
@@ -201,6 +211,26 @@ Future work: | |
- Allow rebalancing of connections to different threads after the connection | ||
- Allow multiple readers access to the hashtable concurrently | ||
|
||
Docker Build | ||
------------ | ||
|
||
Run the following commands for a full source download and build: | ||
|
||
``` | ||
git clone [email protected]:JohnSully/KeyDB.git | ||
docker run -it --rm `pwd`/KeyDB:/build -w /build devopsdood/keydb-builder make | ||
``` | ||
|
||
Then you have fresh binaries built, you can also pass any other options to the make command above after the word make. E.g. | ||
|
||
```docker run -it --rm `pwd`/KeyDB:/build -w /build devopsdood/keydb-builder make MAllOC=memkind``` | ||
|
||
The above commands will build you binaries in the src directory. Standard `make install` without Docker command will work after if you wish to install | ||
|
||
If you'd prefer you can build the Dockerfile in the repo instead of pulling the above container for use: | ||
|
||
`docker build -t KeyDB .` | ||
|
||
Code contributions | ||
----------------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.