Coder Social home page Coder Social logo

net-redis's Introduction

Redis implemented

Redis (Remote Dictionary Server) is an open-source, in-memory data structure store, used as a database, cache, and message broker. It supports a variety of data structures such as strings, hashes, lists, sets, sorted sets with range queries, and more.

Some of Redis features

  • In-memory data store: Redis stores all its data in memory, which provides low latency and high performance.
  • Pub/Sub messaging: Redis supports publish/subscribe messaging, making it a powerful tool for real-time communication between applications.
  • Key-value store: Redis provides a simple, fast, and flexible key-value store, making it ideal for use cases where data needs to be stored and retrieved quickly.
  • Stream: Streams is a powerful feature in Redis that allows for the creation and management of ordered, fault-tolerant, and scalable event streams.

Redis also supports

  • Lua scripting: Redis supports Lua scripting, which enables server-side processing and the execution of custom commands.
  • High availability and scalability: Redis supports a variety of methods for ensuring high availability, including Redis Sentinel and Redis Cluster, which allow Redis to be deployed as a highly available and scalable cluster.
  • Persistence: Redis supports persistence options that allow data to be saved to disk and loaded back into memory, ensuring data durability.

This repository is aims to implement an easy to use example for all of Redis features

How to contribute

  1. Clone the repository: Clone the repository to your local development environment.

  2. Create a new branch: Create a new branch for your changes, this helps keep your changes separate from the main codebase.

  3. Make changes: Make changes to the code, fix bugs, or add new features.

  4. Commit changes: Commit your changes to your local repository, pls use Conventional Commits.

  5. Push changes: Push your changes to your forked repository on GitHub.

  6. Create a pull request: Create a pull request to submit your changes to the main repository. Be sure to provide a clear and concise description of your changes and why they are needed.

  7. Respond to feedback: If the maintainers of the repository have any feedback or questions about your changes, be sure to respond in a timely manner.

Redis Streams with .NET as Producer and Consumer

How to use Redis Streams with .NET Official documentation

Prerequisites

  • .NET SDK, installation can be found here
  • Docker, installation can be found here

How to

  1. Check Prerequisites
  2. Clone the repository
  3. Execute docker command, docker compose up docker compose up in root of project, using your command prompt. This will start the local redis server using.
  4. Navigate to "net-redis\Redis.Stream.Consumer", using your command prompt. Run dotnet build. This will start the consumer (worker).
  5. In soulution run Test ShouldEmitEntryToRedisStream

.NET Producer

Implemented example can be found here

.NET Consumer

Implemented example can be found here

net-redis's People

Contributors

barbarossa426 avatar peterlaxakon avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

net-redis's Issues

Redis-Stream-Consumer

Given I'm a user/consumer of this repository
When I clone this repository
Then I want to be able to use it in my own environment.

Redis-Stream-Producer

Given I'm a user/consumer of this repository
When I clone this repository
Then I want to be able to use it as it in my own enviroment.

Redis-Stream-Cache

Given I'm a user/consumer of this repository
When I clone this repository
Then I want to be able to use it in my own environment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.