concept regular grid in category algorithms
appears as: regular grid

This is an excerpt from Manning's book Algorithms and Data Structures in Action.
Computing millions of distances per user start seeming a little overwhelming and inefficient – also, since you are only in the late 90s, servers are not yet that fast, server farms are a rarity and data centers are something for large hardware companies like IBM, they are not yet a thing for e-commerce.
To perform searches on a graph, as well as to apply many other algorithms, it is necessary to traverse the graph following its edges.