Databases67k+ stars
Redis
In-memory data structure store, used as database, cache, and message broker
Commit Details
- Message
- "first commit"
- Author
- Salvatore Sanfilippo
- Date
- 2009-03-22
- Hash
- ed9b544e10b84cd43348ddfab7068b610a5df1f7
Fun Fact
Salvatore "antirez" Sanfilippo created Redis to improve the performance of his Italian startup's real-time web analytics.
</>First Code
C
/* Redis - REmote DIctionary Server
*
* Copyright (c) 2009, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*/
#include "redis.h"
struct redisServer server;
int main(int argc, char **argv) {
initServerConfig();
if (argc >= 2) {
loadServerConfig(argv[1]);
}
initServer();
redisLog(REDIS_NOTICE, "Server started, Redis version " REDIS_VERSION);
aeMain(server.el);
return 0;
}← All Projects
35 of 48