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.