Redis notable points: · In-memory-based key-value store · Faster than memory-based database (performance wise) · it processes the data into memory · repository provides primitive types · data types like String, Set, Hash, List, Basic Functions (Search Add Delete of data) · Hiredis - APIs that manipulates Redis as C client Benchmark source code const int N = 1000000; int main() { printf("Connecting...\n"); redisContext *redis = redisConnect("localhost", 6379); clock_t start, end; float ftime; if (redis->err) { puts(redi...
Comments
Post a Comment