google-app-engine


When to avoid memcache?


I see in many cases memcached is used. Can you give examples when to avoid memcached other than large files? How large files are appropriate for memcached?
Thanks for your answer
If you know when to bust the caches to prevent out-of-date things from being cached, there's not really a reason to avoid memcache for anything small unless it's so trivial to compute that it'd be approximately as long to hit memcache as it would to just compute it.
I have seen Memcached is used to store session data.As my point of view its not recommended storing sessions in Memcached.If a session disappears, often the user is logged out,If a portion of a cache disappears or either due to a hardware crash it should not cause your users noticable pain.According to the memcached site, “memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.” So while developing your application, remember that you must have a fall-back mechanism to retrieve the data once it is not found in the Memcached server. Here are some tips,
Avoid storing frequently updated data in Memcached.
Memcached does not ship with in-built security mechanisms. So It is your responsibility to handle security issues.
Try to maintain predefined fixed number of connections in the connection pool because each set/get operation is a new atomic connection to the Memcached server.
Avoid storing raw data coming straight from the database rather than storing processed data

Related Links

DataNucleus on AppEngine not returning any results
Is there API for setting TLS certificates for Google App Engine?
GAE printing same log statement multiple times
Adding multiple accounts for “You do not have permission to modify this app” error
Logs are Not Nested Under Requests in Flexible VM
How to create an equivalent of a background thread for an auto-scaling instance
Communication between modules locally
Technology for realtime messaging to mobile apps
how to apply date filter on ancestor query
How to enable speech api higher quota
Google App Engine standard environment to Cloud-SQL Second Generation instance
GAE: Restore ah-builtin-python-bundle and ah-builtin-datastoreservice
Google Cloud Storage Force Download
Importing data into 2nd generation google cloud sql
App Engine: What is the Maximum URLFetch Timeout Deadline in a Taskqueue / Backend
Using URL-safe keys in Google Cloud Datastore

Categories

HOME
fabricjs
microsoftgraph
scikit-learn
spark-streaming
eslint
dns
webdriver
depth
flex
swt
fftw
gradient
appcelerator
newrelic
database-normalization
vxml
bing-maps
startup
ipmitool
libc
code-generation
renjin
modbus-tcp
jmp
sse
gmm
ksh
ember-cli
moses
opentk
stackexchange
progress-bar
genexus-sd
iis-express
jaws
sqlpackage
boost-asio
scatter3d
weather
cognos-bi
glib
catch-unit-test
erb
simplecv
getpixel
magento-1.9.2.4
watchman
graphhopper
cd
amazon-ses
connection-pool
apache-stanbol
portforwarding
facebook-social-plugins
tinymce-3
jqchart
mouseleave
cmp
bootstrap-tags-input
rxtx
juice-ui
cvxpy
gets
chromium-os
cubism.js
meteor-packages
adafruit
windows-azure-queues
eigenvector
clipboard.js
omniauth-facebook
turbo-prolog
themoviedb-api
avisynth
oracle-spatial
jdi
flock
coda
ember-cli-rails
finalbuilder
omnifaces
git-ftp
mraid
mmwormhole
gamekit
qtwebengine
variadic-templates
jbake
addressing-mode
spy++
winginx
gwt-openlayers
cnf
route-provider
poker
android-icons
cascadingdropdown
preload
joomla3.1
qtconcurrent
subgraph
paginator
cross-database
urlrewriter
denied
screen-size
saxparseexception
rmdir
mbeans
appledoc

Resources

Encrypt Message