Benchmarks

First benchmark

4 keys with real JSON-serialized data were written 45 times, and then read 45 times. All operations were done sequentially (one after the other). Client and server were running on the same computer.
Data size is between 384 and 999 bytes. See the test/test_proto.php file.

-low-end machine (1)mid-end machine (2)difference (3)
FineDB
PUT ASYNC0.0455380000.019501000162 %
PUT SYNC2.8518910001.484574000100%
GET0.0078520000.006843000100 %
Redis
PUT0.0186140000.011981000100 %
GET0.0136220000.012473000182 %
Couchbase
PUT0.028879000241 %
GET0.012061000176 %
MongoDB
PUT ASYNC0.012907000107 %
PUT SYNC6.384701999430 %
GET0.015808000231 %
MySQL
PUT0.3567920002977 %
GET0.009263999135 %
Memcache
PUT0.0464650000.001676000
GET0.0105960000.000588000

Time in seconds. The best values in bold (except Memcache, which is here for comparison purpose only).

  • (1) Low-end machine: single core, RAM 2 GB, SSD
  • (2) Mid-end machine: quad-core i3 2130 3.4 GHz, RAM 4 GB, SSD
  • (3) Difference with the best performer, on the mid-end machine