educative.io

Educative

Proximity Service

in the system design case study given for proximity service QuadTree data structure is used to stored the data for the places. As per my understanding its a in memory data structure so the server will store this tree in the memory and we will traverse this tree to find the nearest businesses. I dont understand why Cache like redis is used on top of this in memory data structure? what is the advantage of using 2 in memory structures?