Home  >  Article  >  Database  >  What is the difference between SSDB and Redis?

What is the difference between SSDB and Redis?

青灯夜游
青灯夜游Original
2019-06-17 11:26:343962browse

What is the difference between SSDB and Redis?

SSDB is a NoSQL database developed in C, using Google's open source LevelDB engine as the underlying storage engine. Redis is an in-memory NoSQL database developed in C language. SSDB adopts the New BSD License, a very loose and flexible agreement that supports master-slave replication and load balancing.

SSDB is a hard disk database, while Redis is an in-memory database. There are fundamental differences between the two in storage format and reading and writing methods.

SSDB has the main advantages of Redis - high performance, rich data structures; and has capabilities that Redis does not have - big data storage capabilities. The single-machine storage capacity of SSDB server is 100 times that of Redis! Because SSDB can store data on the hard disk.

In tests using the ssdb-bench tool that comes with SSDB and the redis-benchmark tool that comes with Redis on the same machine, the read performance of SSDB completely exceeded that of Redis; but the write performance of SSDB was still better than Redis is about 10% slower.

The above is the detailed content of What is the difference between SSDB and Redis?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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