A common reason for using memcached is that you would like to distribute the cache between multiple computers, bearing in mind both the availability of data on all computers and the use of all computers. If these requirements are not applicable to you, and you only need cached data on one machine, then memcached does not offer you so much. In this case, moving the dictionary into your local process might be a good idea.
source share