Skip to content

Add note about memcache whitelist #755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 11, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions appengine/flexible/memcache/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
## Note

This sample demonstrates connecting to existing Memcache servers, or the
built-in Memcache server.

A managed option for Memcache is RedisLabs:

https://cloud.google.com/appengine/docs/flexible/python/using-redislabs-memcache

You can install and manage a Memcache server on Google Compute Engine. One way
to do so is to use a Bitnami click-to-deploy:

https://bitnami.com/stack/memcached/cloud/google

Built-in Memcache for Flexible environments is currently in a whitelist-only alpha. To have your project whitelisted,
see the signup form here:

https://cloud.google.com/appengine/docs/flexible/python/upgrading#memcache_service

## Running locally

Refer to the [top-level README](../README.md) for instructions on running and deploying.
Expand Down
1 change: 1 addition & 0 deletions appengine/flexible/memcache/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

# [START client]
# Environment variables are defined in app.yaml.
# Note: USE_GAE_MEMCACHE is in whitelist-only alpha. See README.md
if os.environ.get('USE_GAE_MEMCACHE'):
MEMCACHE_SERVER = ':'.join([
os.environ.get('GAE_MEMCACHE_HOST', 'localhost'),
Expand Down