Skip to content

"less than 100ms" #134

Closed
Closed

Description

@KevinColemanInc

handle sending and receiving data across the world in less than 100ms.

The read me says that it sends and receives data in less than 100ms, but I am very curious how y'all are able to go faster than the speed of light, since round trip time at the speed of light from across the world is 133ms.

Or does "across the world" mean really mean a shorter distance, like from one end of a building to another. Which wouldn't be very impressive.

Activity

  1. nicolascian commented on Apr 26, 2024

    @nicolascian

    That's if you need to do a full loop around the world, but the furthest away you can be from a server is the other side of the planet, so if you took the shortest path it will be half that time 67ms 😄

  2. KevinColemanInc commented on Apr 27, 2024

    @KevinColemanInc
    Author

    True. But I thought they were using tcp or quic, not UDP.

    any ideas why they would choose UDP for this protocol considering the client won’t know if the message is delivered?

  3. KevinColemanInc commented on Apr 28, 2024

    @KevinColemanInc
    Author

    @nicolascian I did a quick check on this sdk and it looks like they are using http (code), which would have a round trip time of over 100ms.

    Can you link to the code that uses non-tcp/quic protocols?

  4. nicolascian commented on Apr 29, 2024

    @nicolascian

    I was joking 😅 but at least the Gem page says it's 250ms, maybe that's more realistic.
    https://rubygems.org/gems/pubnub

  5. mohitpubnub commented on Oct 13, 2026

    @mohitpubnub

    For more information regarding latency, please see the PubNub documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions