-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Use of java for serialization does not directly replace ehcache #21
Comments
Thanks for the info! |
This is an issue if you want to cache the play.mvc.Result instances. The default Ehcache can do so while play2-memcached cannot. |
Thanks for your feedback, @nsiemens @mwy001 ! I'll write specs for play.mvc.Result chaching and tackle it with twitter's chill. |
Scala Pickling looks promising but for now it doen't allow serializing/deserializing Any or AnyRefs. |
@mumoshu maybe instead of looking for silver bullet which will cover all cases, it will be better to give some basic serializer and allow users to plug-in they own serializers, like the akka's serialization do? This way we will give control (and responsibility) over performance, backward compability, fields ommiting etc. to the end user. |
If you want to cache a |
You are using Java to do the object serialization. This turns into a gotcha because the default play2 cache doesn't, and therefore is able to serialize classes that don't implement Serializable. Which causes fireworks when your plugin replaces the default and everything that caches a non-implementer of Serializable breaks because of the additional requirement that your plugin is placing on input to the Cache.
The text was updated successfully, but these errors were encountered: