• Home
  • Solutions
    • Corporate applications
    • Knowledge engineering
    • Mobile web
    • References
  • About us
    • Philosophy
    • Life at Yaco
    • Join the team
  • Community
    • News
    • Projects
    • Contributions
  • Products
    • yaco.contents
    • yaco.commerce
    • yaco.social
    • yaco.socialcare
    • yaco.tourism
    • Modules
  • Clients Area
  • Contact us
  • Language
follow us in Facebook twitter
adrianholovaty alexgaynor alpha andrewgodwin apache apis Aplicación appengine así vivo autoescaping blog buildout caching calhenderson Categoría classbasedviews comet concurrency conferences cookies crowdsourcing cryptography csrf daniellindsley databasejournalism databases debugging deployment derekwillis django Django djangocon djangocon08 djangodebugtoolbar djangopeople djangopony djangosnippets dmigrations documentation ec2 ericflorenzano ericholscher eurodjangocon events everyblock fabric frameworks garethrushgrove gcap General gente geodjango gis git github gnome google gtk guardian haystack historia html http ibm inauguracion innodb jacobkaplanmoss java javascript jinja johnnycache json jython leosoto linux Linux loadbalancing lukeplant manytomany memcached middleware migrations mikemalone misscripts mobile modwsgi monitoring mpexpenses multidb mysql newformsadmin nginx Nuestras vidas nytimes opensource ops oracle orm otra cosa performance php pip podcast ponies postgis postgresql prague Programación projects pyconuk python Python querysets rails ratelimiting redis regularexpressions releases rest restful revcanonical robertlofthouse sanfrancisco scaling screencasts search security sessions settings sha1 signals signedcookies signing Sin sistemas software solr south spawning speaking sphinx sql sysadmin Tecnología testing tickets tornado transactions twisted twitter ubuntu urls varnish virtualenv vulcano wc-applet web whoosh willlarson wsgi xhtml yaco youtube
border image
Join us
Join us

Life at Yaco

Contribuimos a:
morfeo django plone
  • All channels
  • Django
  • Yaco
  • Plone
  • Next

Cache Machine: Automatic caching for your Django models

Blog de Simon Willison Posted on March 11, 2010

Cache Machine: Automatic caching for your Django models. This is the third new ORM caching layer for Django I’ve seen in the past month! Cache Machine was developed for zamboni, the port of addons.mozilla.org to Django. Caching is enabled using a model mixin class (to hook up some post_delete hooks) and a custom caching manager. Invalidation works by maintaining a “flush list” of dependent cache entries for each object—this is currently stored in memcached and hence has potential race conditions, but a comment in the source code suggests that this could be solved by moving to redis.

cachemachine caching django memcached mozilla orm ormcaching python redis
external link Read More

Announcing django-cachebot

Blog de Simon Willison Posted on March 6, 2010

Announcing django-cachebot. The ORM caching space around Django is heating up. django-cachebot is used in production at mingle.com and takes a more low level approach to cache invalidation than Johnny Cache, enabling you to specifically mark the querysets you wish to cache and providing some advanced options for cache invalidation. Unfortunately it currently relies on a patch to Django core to enable its own manager.

cachebot caching django mingle orm
external link Read More

Is johnny-cache for you?

Blog de Simon Willison Posted on March 2, 2010

Is johnny-cache for you?. “Using Johnny is really adopting a particular caching strategy. This strategy isn’t always a win; it can impact performance negatively”—but for a high percentage of Django sites there’s a very good chance it will be a net bonus.

caching django johnnycache performance python
external link Read More

jmoiron.net: Johnny Cache

Blog de Simon Willison Posted on March 1, 2010

jmoiron.net: Johnny Cache. The blog entry announcing Johnny Cache (“a drop-in caching library/framework for Django that will cache all of your querysets forever in a consistent and safe manner”) to the world.

caching django johnnycache python querysets
external link Read More

Johnny Cache

Blog de Simon Willison Posted on February 28, 2010

Johnny Cache. Clever twist on ORM-level caching for Django. Johnny Cache (great name) monkey-patches Django’s QuerySet classes and caches the result of every single SELECT query in memcached with an infinite expiry time. The cache key includes a “generation” ID for each dependent database table, and the generation is changed every single time a table is updated. For apps with infrequent writes, this strategy should work really well—but if a popular table is being updated constantly the cache will be all but useless. Impressively, the system is transaction-aware—cache entries created during a transaction are held in local memory and only pushed to memcached should the transaction complete successfully.

caching databases django memcached orm performance python
external link Read More
‹‹ Previous 1 2 3 ... 299 300 301 Next ››
Copyright © Yaco Sistemas S.L. All rights reserved | General Terms