Deploying WebSocket Applications in Google Cloud Platform

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 11

  • @usuarioaleatorio336
    @usuarioaleatorio336 ปีที่แล้ว

    thanks dear, this was totally useful for me, thanks in advanced

  • @sakuranooka
    @sakuranooka 3 ปีที่แล้ว +1

    Great! Do Google Sheets suppport websockets? If not, is there a workaround?

  • @licken1408
    @licken1408 3 ปีที่แล้ว +2

    Google cloud run support websocket

  • @xander9003
    @xander9003 2 ปีที่แล้ว +1

    I got the feeling inside my bones

  • @islamali5214
    @islamali5214 4 ปีที่แล้ว

    Awesome 👍

  • @conorheffernan9144
    @conorheffernan9144 3 ปีที่แล้ว +1

    Great vid, thanks for the help! I could be wrong but I think you need to update the server name in your nginx config. I was trying to set up a connection using the 'ws' library and the connection kept failing when I was addressing the server using the domain name that I configured the VM with but worked with the ip address. The reason being I hadn't updated the server name to my domain in the nginx.
    Maybe the fact that your client and host scripts are hosted on the same server means that the client behaves properly here but in general for anyone looking to set up a websocket connection you need to update the server name in the nginx or your socket.io connection will fall back to long polling or worse in my case my ws connection simply did not connect

    • @zenon84
      @zenon84 ปีที่แล้ว

      Do you have an example of what you updated? I am also trying to use ws and I keep getting a cannot connect to 'ws://url'

    • @conorheffernan9144
      @conorheffernan9144 ปีที่แล้ว

      @@zenon84 sorry Jonathan I don't :( I made this comment >2 years ago now. I can only vaguely remember the project I was working on. The specific change I made here is long since forgotten I am afraid

  • @APEDUCO
    @APEDUCO 4 ปีที่แล้ว

    great 👌

  • @ighsight
    @ighsight 2 ปีที่แล้ว +3

    Google's Cloud Run DOES support WebSocket applications. Here is a link to their tutorial on how to set it up: cloud.google.com/run/docs/tutorials/websockets. Despite that this tutorial was still informative.

    • @syahrulzahwan
      @syahrulzahwan ปีที่แล้ว

      Thank you, I was wondering the same thing when he said that it doesn't, i remember that it should be better for small use case due to scalability.