educative.io

Pull or Push confussion?

@Design_Gurus,
At one place u said, we will PUSH updates and then when we discuss how to get new drivers in the area, then you said we will use pull model, now if it is pull model, where client will poll to get driver list every time, then why we need the pub/sub stuff you mentioned? And in the end you mentioned in advanced section, what if client can pull?What exactly are we talking here?Pull or push or what?

Hi,
We start by suggesting to use a PUSH model but, as we move forward, we realise that using a pull model will be a more suitable solution. We recommend that the server pushes all the information regarding drivers. Still, later on, we decide that customers pull the information themselves due to certain constraints and complications in the previous solution.

Regards