-
Notifications
You must be signed in to change notification settings - Fork 120
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
Remove Cache Implementations #353
Comments
Is this for demoware? What advantage do you gain by making it easiest to do the wrong thing in production? 😉 I'd recommend forcing the user to make a choice with as littleceremonyy as possible. |
@ben-manes I forgot to mention more of my rationale there. I was mainly thinking that the You do bring up a fair point, but I’d also be curious to see in a benchmark if it is really that bad. I’m sure it will be outperformed easily by caffeine, but also wouldn’t be completely unreasonable to use for certain cases either. If it is concerning enough though, perhaps there is a way to support that cache type for Scala JS only. Or maybe there is another backing cache that would be a good default for Scala JS. What are your thoughts? Sent with GitHawk |
Thanks for the explanation, Scala.js makes total sense. |
Thanks @lewisjkl for creating the issue. I am 👍 on your suggested removals. As for whether we still want to support scala.js, that's a different story (which I will open an issue for now). |
Sounds good! With that in mind, let’s just consider the Sent with GitHawk |
There has been talk (mainly in #336) about removing specific cache implementations from this project. The thought is that we need to draw a line around what cache implementations do and do not belong in the core repo. There can always be another repo that provides other implementations, but this core repo should probably not have an indefinite number of cache implementations.
In my opinion, the core repo should contain only the few most commonly used cache implementations. In the future, another repo could always be created to contain other cache client implementations for less-commonly used caches.
We should discuss, but I’d recommend removing the following cache implementations:
This would leave:
Ref
.I’m totally open to debate on which cache implementations do and do not belong in core. In general I think Redis, memcached, and caffeine belong due to their popularity. I also think a default implementation would be nice for those who just want something the works without caring as much about the backend of the cache.
The text was updated successfully, but these errors were encountered: