Home > Database > Mysql Tutorial > body text

SSDB高性能NoSQL数据库

WBOY
Release: 2016-06-07 16:37:14
Original
1019 people have browsed it

一个高性能的支持丰富数据结构的 NoSQL 数据库, 用于替代 Redis. 1:安装 wget--no-check-certificatehttps://github.com/ideawu/ssdb/archive/master.zipunzipmastercdssdb-mastermake#optional,installssdbin/usr/local/ssdbsudomakeinstall 2:启动 #star

一个高性能的支持丰富数据结构的 NoSQL 数据库, 用于替代 Redis.

1:安装 

wget --no-check-certificate https://github.com/ideawu/ssdb/archive/master.zip
unzip master
cd ssdb-master
make
# optional, install ssdb in /usr/local/ssdb
sudo make install
Copy after login

2:启动

# start master
./ssdb-server ssdb.conf
# or start as daemon  后台启动
./ssdb-server -d ssdb.conf
Copy after login


官网地址:

http://ssdb.io/zh_cn/ 

各种客服端

lua  https://github.com/boin/lua-resty-ssdb

php  https://github.com/ideawu/ssdb/blob/master/api/php/SSDB.php

<?php require_once('SSDB.php');
$ssdb = new SimpleSSDB('127.0.0.1', 8888);
$resp = $ssdb->set('key', '123');
$resp = $ssdb->get('key');
echo $resp; // output: 123
Copy after login


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!