{"id":22104788,"url":"https://github.com/benmeehan/redistream","last_synced_at":"2026-05-19T03:18:21.673Z","repository":{"id":238089563,"uuid":"795847513","full_name":"BenMeehan/Redistream","owner":"BenMeehan","description":"A Key-Value Store implementing the Redis Server protocol, RDB Persistence, Distributed clustering and Streaming.","archived":false,"fork":false,"pushed_at":"2024-06-28T10:53:05.000Z","size":109,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T02:44:13.709Z","etag":null,"topics":["codecrafters","go","redis"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BenMeehan.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-04T08:24:26.000Z","updated_at":"2024-09-19T09:08:57.000Z","dependencies_parsed_at":"2024-05-12T11:26:47.695Z","dependency_job_id":"d56333f8-2a4a-41da-a1b0-6d2c4638a83d","html_url":"https://github.com/BenMeehan/Redistream","commit_stats":null,"previous_names":["benmeehan/redis-clone","benmeehan/redistream"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BenMeehan/Redistream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenMeehan%2FRedistream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenMeehan%2FRedistream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenMeehan%2FRedistream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenMeehan%2FRedistream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenMeehan","download_url":"https://codeload.github.com/BenMeehan/Redistream/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenMeehan%2FRedistream/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265424374,"owners_count":23762880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codecrafters","go","redis"],"created_at":"2024-12-01T06:34:42.091Z","updated_at":"2026-05-19T03:18:21.643Z","avatar_url":"https://github.com/BenMeehan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Distributed Key-Value Store (Redis Clone)\n\nA Key-Value Store implementing the Redis Server protocol, RDB Persistence, Distributed clustering, and Streaming.\n\n## Table of Contents\n\n1. [Introduction](#introduction)\n2. [Features](#features)\n3. [Installation](#installation)\n4. [Usage](#usage)\n5. [Supported Commands](#supported-commands)\n\n## Introduction\n\nThis project is a Key-Value Store designed to implement the Redis Server protocol. It provides functionalities including RDB persistence, distributed clustering, and data streaming, making it suitable for high-performance and scalable applications.\n\n## Features\n\n- **Redis Server Protocol**: Fully compatible with the Redis server protocol, allowing seamless integration with existing Redis clients.\n- **RDB Persistence**: Efficiently persists data to disk using the RDB format, ensuring data durability and reliability.\n- **Distributed Clustering**: Supports distributed clustering using master-slave architecture for high availability and fault tolerance.\n- **Data Streaming**: Implements data streaming capabilities for real-time data processing.\n\n## Installation\n\nTo install and set up the project, follow these steps:\n\n```bash\n# Clone the repository\ngit clone https://github.com/yourusername/projectname.git\n\n# Navigate to the project directory\ncd projectname\n\n# Install dependencies (if any)\ngo mod tidy\n```\n\n## Usage\n\nInstructions on how to build and run the project:\n\n```bash\n# Build the project\ngo build -o kvstore\n\n# Run the project\n./kvstore\n```\n## Supported Commands\n\n1. **SET**: Sets the value of a key.\n    - **Usage**: `SET key value`\n    - **Example**: `SET mykey \"Hello, World!\"`\n\n2. **GET**: Gets the value of a key.\n    - **Usage**: `GET key`\n    - **Example**: `GET mykey`\n\n3. **DEL**: Deletes one or more keys.\n    - **Usage**: `DEL key [key ...]`\n    - **Example**: `DEL mykey`\n\n4. **EXISTS**: Checks if a key exists.\n    - **Usage**: `EXISTS key`\n    - **Example**: `EXISTS mykey`\n\n5. **PING**: Tests if the server is running.\n    - **Usage**: `PING`\n    - **Example**: `PING`\n\n6. **SAVE**: Synchronously saves the dataset to disk.\n    - **Usage**: `SAVE`\n    - **Example**: `SAVE`\n\n7. **INFO**: Provides information and statistics about the server.\n    - **Usage**: `INFO`\n    - **Example**: `INFO`\n\n8. **LPUSH**: Inserts a value at the head of a list.\n    - **Usage**: `LPUSH key value`\n    - **Example**: `LPUSH mylist \"Hello\"`\n\n9. **RPUSH**: Inserts a value at the tail of a list.\n    - **Usage**: `RPUSH key value`\n    - **Example**: `RPUSH mylist \"World\"`\n\n10. **LPOP**: Removes and returns the first element of a list.\n    - **Usage**: `LPOP key`\n    - **Example**: `LPOP mylist`\n\n11. **RPOP**: Removes and returns the last element of a list.\n    - **Usage**: `RPOP key`\n    - **Example**: `RPOP mylist`\n\n12. **XADD**: Appends a new entry to a stream.\n    - **Usage**: `XADD stream key value`\n    - **Example**: `XADD mystream * field1 value1`\n\n13. **XRANGE**: Returns a range of elements in a stream.\n    - **Usage**: `XRANGE stream start end`\n    - **Example**: `XRANGE mystream - +`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenmeehan%2Fredistream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenmeehan%2Fredistream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenmeehan%2Fredistream/lists"}