Http Long Polling,Websockets,AJAX輪詢,伺服器端事件



在本視頻中,我討論了系統設計中使用的關鍵輪詢機制。我已經通過示例討論了以下主題。

長輪詢
網路套接字,
AJAX輪詢,
伺服器端事件

這是常見的系統設計面試問題之一。這也將幫助您決定在系統設計中選擇哪種輪詢。

這是whatsappsystem設計的視頻https://youtu.be/oOU4bdyLqJM,它討論了websockets。

#reachgoals
#系統設計 。

5 comments
  1. Hi Sir ,

    I found your channel luckily ?.

    Your videos are amazing ?? ??

    Please continue this and
    if possible please do real time coding example on distributed transaction(Saga pattern )

    I heard Axon framework implemented on top of saga for Distributed transaction and also
    Paxos framework from google or 2pc , 3pc commits also we can achieve this

    Please give me some clarity on this about the differences

    Thank you ?

  2. I would like to know about the database design of microservice. The scenario is given below
    Microservice A is using mysql database. If I am creating multiple instance of microservice A

    1) Each microservice A should point to the same database (common database for all instances) or

    2) Each microservice A points to its own private database

    If each microservice A instance points to its own private database how to sync the data of each instance? Can you please explain the best way.

    can you make a video about it?

Comments are closed.