For this often available information, it can be stored in a database, but also stored in a distributed memory cache (for example, Memcached ).
When a user updates his answer or answers a new question, he updates the cache and database so that the database is never queried.
They could somehow access user responses or specific answers based on the cache key and asynchronously request multiple users and compare the responses.
Just a guess.
source share