Server-side Push in Rails

前端 未结 5 1186
萌比男神i
萌比男神i 2021-02-10 10:36

I\'d like to implement a scalable chatroom in rails using AJAX. I know from research that the only scalability happens with a server-side push.

My two questions are:

5条回答
  •  Happy的楠姐
    2021-02-10 10:49

    If it was that easy to do people would not have built those technologies. IMHO I think polling is always a going to be a hacky way to do it. That Said....

    I am not sure why Juggernaut is off the cards A guy a work for built this site 64Squares with it and is works great.

    I know other sites such as WeeWar use the polling method and they have upwards or 400 request a Min. So I think it would take sometime before the scaling became an issue.

    Good luck

    Cheers

提交回复
热议问题