Hello,

I also used memcache to limit the max number of requests/minute. It
works very well.

Key: ipaddress
Value: counter (int)

I put the items in memcache with an expiration of 60 seconds.

   Map props = new HashMap();
   props.put(GCacheFactory.EXPIRATION_DELTA, 60);
   CacheFactory cacheFactory =
CacheManager.getInstance().getCacheFactory();
   Cache cache = cacheFactory.createCache(props);
   cache.put(key, value);


fabrizio

-- 
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