Skip to content

Conversation

hinto-janai
Copy link
Contributor

@hinto-janai hinto-janai commented Mar 26, 2024

Part 17

#96 <- Previous Next -> #98

  • Adds a new redb-memory feature flag that uses the same code from src/backend/redb, except that it uses redb::backend::InMemoryBackend instead which resides completely in memory instead of on disk

@SyntheticBird45
Copy link
Member

What would be the use case exactly ?

@hinto-janai
Copy link
Contributor Author

Solely for debugging and as a benchmark control group I guess.

It's only a few lines to add but it's not 100% necessary.

probably not worth adding time to CI for this
@hinto-janai hinto-janai marked this pull request as ready for review March 27, 2024 00:02
Copy link
Member

@Boog900 Boog900 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this is small enough and could be useful, would be cool to have all back ends configurable at runtime

@Boog900 Boog900 merged commit ae0d9ff into Cuprate:main Mar 27, 2024
@hinto-janai hinto-janai deleted the backend branch March 27, 2024 00:52
@hinto-janai hinto-janai added the A-storage Area: Related to storage. label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-storage Area: Related to storage.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants