I'd be very interested in a facility that would allow you to batch
arbitrary memcache operations...if it meant performance savings. If
the performance was the same as doing the operations individually then
it wouldn't be as interesting.

Vince

On Thu, Aug 13, 2009 at 10:02 AM, Martyn<[email protected]> wrote:
>
> I have developed a simple wrapper to aid batch processing.  This is
> just an interface to a managed Map that is later used for a putAll.
>
> However, one of the operations I would like to batch is an increment,
> not a put. The current putAll does not support this.
>
> It seems pretty clear that a generic putAll could take a set of
> Operation objects:
>
> GetOperation(Key);
> PutOperation(Key, Value);
> IncrementOperation(Key, Value);
>
> This would enable far more flexibility, with each Operation providing
> an isComplete and value method, for example.
>
> The only guarantee need be the operation sequence... at least that is
> all I need to support my use of increment as a kind of shared memory
> semaphore ;-)
>
> Is anyone else interested in something similar?
>
> - Martyn
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to