tedious / TedivmStashBundle

Symfony Bundle for the Stash Caching Library
http://www.stashphp.com/Symfony.html
Other
84 stars 42 forks source link

Stampede protection on doctrine adapter #32

Open Lumbendil opened 11 years ago

Lumbendil commented 11 years ago

It think it'd be great if it was possible to define a stampede protection mechanism for the doctrine adapter.

tedivm commented 11 years ago

Right now the different invalidation methods are set as part of the Item->get functions, which means it can't easily be changed by a parameter call. Stash 0.11.1 is going to change how stampede protection works, from an API perspective, and will make this a lot easier to handle. I'm hoping to have this built out in the next week and a half, at which point this ticket will be a quick addition.

Lumbendil commented 11 years ago

You mentioned Stash 0.11 changing how stampede protection works, can you point me to some issues which show what you have in mind so I can help implement it?

tedivm commented 11 years ago

Sorry for the delay on this- I was at Defcon over the weekend and am still catching up on my email.

tedivm commented 10 years ago

Super late answer on this one. The next release changes the default invalidation method to precompute, which is what I imagine 99% of people will want. I'm planning on making some configuration related changes in the release after that, which should include this.