Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How much memory of Memcache is available to a Google App Engine account?

Google App Engine has some information about Memcache limits:

  • http://code.google.com/appengine/docs/quotas.html#Memcache
  • http://code.google.com/appengine/docs/python/memcache/overview.html#Quotas_and_Limits

However, total allowed size of RAM/memory store for a single application is not specified. It's known that no objects above 1MB is allowed. Do you have information?

like image 498
Viet Avatar asked Feb 01 '10 09:02

Viet


People also ask

What is memcache in Google App Engine?

Shared memcache is the free default for App Engine applications. It provides cache capacity on a best-effort basis and is subject to the overall demand of all the App Engine applications using the shared memcache service. Dedicated memcache provides a fixed cache capacity assigned exclusively to your application.

What happens when memcache is full?

When memcached needs to store new data in memory, and the memory is already full, what happen is this: memcached searches for a a suitable* expired entry, and if one is found, it replaces the data in that entry.

How does memcache store data?

How does Memcached work? Unlike databases that store data on disk or SSDs, Memcached keeps its data in memory. By eliminating the need to access disks, in-memory key-value stores such as Memcached avoid seek time delays and can access data in microseconds.

Is memcache in-memory database?

Redis and Memcached are both in-memory data storage systems.


2 Answers

The amount of memcache capacity your app has isn't fixed, and may vary depending on the traffic to your app and how it uses memcache.

like image 52
Nick Johnson Avatar answered Sep 29 '22 09:09

Nick Johnson


As of November 2013, App Engine offers dedicated memcache which guarantees a specific amount of memcache RAM. You can purchase between 1 and 20 GB of dedicated cache. More than 20 GB is available upon request.

The shared memcache RAM available to an application still varies based on multiple factors.

like image 34
mndrix Avatar answered Sep 29 '22 11:09

mndrix