On Wed, Aug 18, 2010 at 1:13 AM, Michael Dale wrote:
> On 07/29/2010 10:15 AM, Bryan Tong Minh wrote:
>> Hi,
>>
>>
>> I have been working on getting asynchronous upload from url to work
>> properly[1]. A problem that I encountered was that I need to store
>> data across requests. Normally I would
On 07/29/2010 10:15 AM, Bryan Tong Minh wrote:
> Hi,
>
>
> I have been working on getting asynchronous upload from url to work
> properly[1]. A problem that I encountered was that I need to store
> data across requests. Normally I would use $_SESSION, but this data
> should also be available to job
On Sat, Jul 31, 2010 at 1:07 AM, Chad wrote:
> On Fri, Jul 30, 2010 at 3:57 PM, Platonides wrote:
>> Bryan Tong Minh wrote:
>>> Also, on places where no memcached or equivalent is available (i.e.
>>> CACHE_NONE), this will not work.
>>
>> Then you could be using the objectcache table in the datab
Chad wrote:
> On Fri, Jul 30, 2010 at 3:57 PM, Platonides wrote:
>> Bryan Tong Minh wrote:
>>> Also, on places where no memcached or equivalent is available (i.e.
>>> CACHE_NONE), this will not work.
>>
>> Then you could be using the objectcache table in the database.
>
> No, that's CACHE_DB. CAC
On Fri, Jul 30, 2010 at 3:57 PM, Platonides wrote:
> Bryan Tong Minh wrote:
>> Also, on places where no memcached or equivalent is available (i.e.
>> CACHE_NONE), this will not work.
>
> Then you could be using the objectcache table in the database.
>
>
No, that's CACHE_DB. CACHE_NONE really mean
Bryan Tong Minh wrote:
> Also, on places where no memcached or equivalent is available (i.e.
> CACHE_NONE), this will not work.
Then you could be using the objectcache table in the database.
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
ht
On Fri, Jul 30, 2010 at 5:32 PM, Aryeh Gregor
wrote:
> On Thu, Jul 29, 2010 at 6:07 PM, Platonides wrote:
>> Memcached*
>>
>> Our $_SESSION simply lives in memcached.
>> So we could do
>> $fake_session = $wgMemc->get( wfMemcKey( 'session', $session_id ) ) ;
>> $fake_session["upload_ok"] = true;
On Thu, Jul 29, 2010 at 6:07 PM, Platonides wrote:
> Memcached*
>
> Our $_SESSION simply lives in memcached.
> So we could do
> $fake_session = $wgMemc->get( wfMemcKey( 'session', $session_id ) ) ;
> $fake_session["upload_ok"] = true;
> $wgMemc->set( wfMemcKey( 'session', $session_id ), $fake_s
Bryan Tong Minh wrote:
> Or is there any other mechanism to be able to share data between the
> jobqueue and requests?
>
>
> Regards,
> Bryan
Memcached*
Our $_SESSION simply lives in memcached.
So we could do
$fake_session = $wgMemc->get( wfMemcKey( 'session', $session_id ) ) ;
$fake_session[
On Thu, Jul 29, 2010 at 9:52 PM, Aryeh Gregor
wrote:
> On Thu, Jul 29, 2010 at 3:31 PM, Bryan Tong Minh
> wrote:
>> I need the job to store its result somewhere.
>
> What does it need to store? If it's just success or failure, then why
> not assume success if the file exists, failure if the job
On Thu, Jul 29, 2010 at 3:31 PM, Bryan Tong Minh
wrote:
> I need the job to store its result somewhere.
What does it need to store? If it's just success or failure, then why
not assume success if the file exists, failure if the job ran (is not
still in the job table) but the file doesn't exist?
On Thu, Jul 29, 2010 at 8:36 PM, Aryeh Gregor
wrote:
> On Thu, Jul 29, 2010 at 1:15 PM, Bryan Tong Minh
> wrote:
>> I have been working on getting asynchronous upload from url to work
>> properly[1]. A problem that I encountered was that I need to store
>> data across requests. Normally I would u
On Thu, Jul 29, 2010 at 1:15 PM, Bryan Tong Minh
wrote:
> I have been working on getting asynchronous upload from url to work
> properly[1]. A problem that I encountered was that I need to store
> data across requests. Normally I would use $_SESSION, but this data
> should also be available to job
Hi,
I have been working on getting asynchronous upload from url to work
properly[1]. A problem that I encountered was that I need to store
data across requests. Normally I would use $_SESSION, but this data
should also be available to job runners, and $_SESSION isn't.
As I see there are basicall
14 matches
Mail list logo