Conversation
|
To keep in line with the other database drivers, I think we can just do I do wonder if there is a better library to use since go-cache seems to be unmaintained and if it should be actually be persisted to disk or not? An ephemeral database could be very useful for testing Spacebin in a more robust fashion compared to the current setup. |
|
re persistence: For my use case I am looking for something that runs entirely within memory with no saved state. It makes testing easy, and also allows for stateless deployments where there is no expectation of persistence. re: |
|
Sounds good. Frankly, as long as go-cache is stable, I have no problem with it. |
|
Closed due to inactivity |
This adds support for a simple, ephemeral, in-memory backend. It's a pretty quick proof of concept. I don't have strong opinions for the best way to configure/signal which db backend to use.
Let me know your thoughts!
To run: