Coder Social home page Coder Social logo

learningcom / learning.eventstore Goto Github PK

View Code? Open in Web Editor NEW
61.0 4.0 11.0 826 KB

A framework for CQRS, Eventsourcing, and messaging that uses Redis pub/sub for messaging and offers event persistence in Redis, SQL Server, or PostgreSQL.

License: Apache License 2.0

C# 97.32% PLpgSQL 0.73% TSQL 1.96%
csharp redis event-sourcing event-driven cqrs dotnet dotnetcore eventstore

learning.eventstore's People

Contributors

davidhogue avatar steelheaddigital avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

learning.eventstore's Issues

Redis Persistence

I'm interesting in using Redis as an event store and read your article at:
https://medium.com/lcom-techblog/scalable-microservices-with-event-sourcing-and-redis-6aa245574db0.

One thing not mentioned in the article or anywhere here that I can see is: Redis Persistence. I presume Redis must be configured to persist to disk, no? Otherwise, if Redis were to go down you would lose all your event data.

Can you confirm that this is a requirement? And if so, what persistence strategy is recommended?

Somewhat unrelated, but I would also assume that if message sequence is important, a subscriber should only have one consumer. Otherwise, if there are multiple consumers you couldn't guarantee event sequence, no?

How to retrieve unprocessed messages after service recovery?

Hi,
First of all I would like to say that Learning.EventStore is really awesome package. Well done.
I have a small question about polling unprocessed messages from published Q.
While my service is down, the publish Q in Redis still collecte event messages as expected.
Once my service subscribe again (after recovery) via RedisEventSubscriber, the published Q still contains all messages but my handler does not getting them (until new event/message pushed).
What can I do about it?
How can I get them after recovery?

Thanks.

Streams

Have you considered supporting this Redis data type for event sourcing?

Thanks

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.