https://github.com/ffernandolima/in-memory-database-app
In-memory database app is an implementation of a database which uses only memory for storing data. It implements some commands from the very known in-memory database called Redis (https://redis.io/).
https://github.com/ffernandolima/in-memory-database-app
Last synced: 15 days ago
JSON representation
In-memory database app is an implementation of a database which uses only memory for storing data. It implements some commands from the very known in-memory database called Redis (https://redis.io/).
- Host: GitHub
- URL: https://github.com/ffernandolima/in-memory-database-app
- Owner: ffernandolima
- Created: 2019-09-12T14:24:18.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:05:19.000Z (over 3 years ago)
- Last Synced: 2025-01-03T06:13:38.019Z (over 1 year ago)
- Language: C#
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# in-memory-database-app
In-memory database app is an implementation of a database which uses only memory for storing data.
It implements some commands from the very known in-memory database called Redis (https://redis.io/).
It supports the following commands:
SET
GET
DEL
DBSIZE
INCR
ZADD
ZCARD
ZRANK
ZRANGE
Simplyfing the way other applications consume the database, it was designed to receive and reply back to the consumer always using strings:
- All keys and values are ASCII strings from the set [a-zA-Z0-9_]
- Commands are ASCII strings delimited by white-space
- Responses are ASCII strings delimited by white-spaces when it's needed
There's a web server built with docker which allows many consumers at the same time. The database is exposed through http protocol and connections should be established using the port 8080