系统设计系列讲解 领英高频题 Inverted Index for scalable search

小白想问一下,为什么需要controller和aggregator,而不能在frontend的webservice(也就是dispatcher)直接放大量instance,用来和db交流?还有,这里db具体该怎么存index呢?key是term,value是一个sorted list的话用redis当db,zset当value是否合适?

Your question is nonsense

哪个问题是nonsense?为什么这里需要拆分,不能整个request在一个单体服务,一个线程里query和aggregate,这是什么不能问的问题?