Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate moving tlog to redis #52

Open
scaleupcto opened this issue Apr 29, 2015 · 2 comments
Open

Investigate moving tlog to redis #52

scaleupcto opened this issue Apr 29, 2015 · 2 comments

Comments

@scaleupcto
Copy link
Contributor

Conceptually, the redis API seems to make more sense for the tlog. Each tripod store has it's own redis list, ordered by time. When saving, you push a new transaction to the list. When replaying, pop one off the top. Each transaction document can have a ttl. No more issues with having to reclaim disk space as with Mongo.

We would have to investigate how durable the write of data to disk is with redis and whether this is acceptable for the tlog usecase.

@junglebarry
Copy link

Might be worth approaching this with caution. From what I've read, the design goals of Redis may not align with what we'd like from a transactional store.

@scaleupcto
Copy link
Contributor Author

Well, that is true but really what the tlog is is a write-ahead log with strong sequencing, not a transactional style store. Perhaps something stream based is even better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants