Persistent and caching

Hi All I want to know how to archive db object memory caching like it done in Java Hibernate. Using persistent I can more-less easily CRUD object. My application working with lots of individual objects (most of the time I need to read objects) and I want to have some transparent cache system to lower database pressure. Is there some plans to implement such functionality?

Hi Konstantin, Your question would be better asked on the Yesod mail list where most of the Persistent maintainers and users are: http://groups.google.com/group/yesodweb At present, Persistent has no plans to implement write-through caching, although you aren't the first to bring it up. Good caching is often very application and database specific, so we aren't sure how much widespread benefit such a feature will have. We would gladly help someone implement such a feature though. Thanks, Greg Weber On Thu, Nov 3, 2011 at 11:37 AM, Konstantin Litvinenko < to.darkangel@gmail.com> wrote:
Hi All
I want to know how to archive db object memory caching like it done in Java Hibernate. Using persistent I can more-less easily CRUD object. My application working with lots of individual objects (most of the time I need to read objects) and I want to have some transparent cache system to lower database pressure. Is there some plans to implement such functionality?
______________________________**_________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/**mailman/listinfo/web-develhttp://www.haskell.org/mailman/listinfo/web-devel
participants (2)
-
Greg Weber
-
Konstantin Litvinenko