Re: [Wikidata-tech] alternatives to memcached for caching entity objects across projects

2014-10-02 Thread Daniel Kinzler
Hey Ori! Am 02.10.2014 06:45, schrieb Ori Livneh: I'm embarrassed to say that I don't know nearly enough about Wikidata to be able to make a recommendation. Where would you recommend I look if I wanted to understand the caching architecture? And I'm embarressed to say that we have very

Re: [Wikidata-tech] alternatives to memcached for caching entity objects across projects

2014-10-02 Thread Ori Livneh
On Wed, Oct 1, 2014 at 2:46 PM, Daniel Kinzler daniel.kinz...@wikimedia.de wrote: We currently use memcached to share cached objects across wikis, most importantly, entity objects (like data items). Ori suggested we should look into alternatives. This is what he wrote: [21:15] ori I was

Re: [Wikidata-tech] alternatives to memcached for caching entity objects across projects

2014-10-02 Thread Jeroen De Dauw
Hey, We use two CachingEntityRevisionLookup nested into each other: the outer-most uses a HashBagOStuff to implement in-process caching, the second level uses memcached. It is odd to have two different decorator instances for caching around th EntityRevisionLookup. I suggest to have only a

Re: [Wikidata-tech] alternatives to memcached for caching entity objects across projects

2014-10-02 Thread Nikolas Everett
On Thu, Oct 2, 2014 at 12:45 AM, Ori Livneh o...@wikimedia.org wrote: On Wed, Oct 1, 2014 at 2:46 PM, Daniel Kinzler daniel.kinz...@wikimedia.de wrote: We currently use memcached to share cached objects across wikis, most importantly, entity objects (like data items). Ori suggested we