If we take blockchain.info; how do they know when a new block has arrived?
I understand that there is a full node running on the background, how would they have setup their infrastructure, so that their db which serves the users, is in sync with the full node db? I cannot think of a way to be alerted of when a new block arrives. It's not like the full node will tell you that we have a new block right? So do they watch the leveldb for changes?
Also, is it possible that they have full nodes that only respond to requests from blockchain.info?