2
You have a single EC2 instance with a single webserver (Apache, by default). However, Apache will create more than one worker process, each of which will run a separate instance of your Django app. When you make a request to your server, either one of the worker processes may answer it, which is why you’re seeing the two values arbitrarily.
If you need a single cache across your application, you’d be better suited looking at running Memcached or Redis locally (for a single EC2 node) or using Amazon’s ElastiCache service.
Source:stackexchange.com