About 965,000 results
Open links in new tab
  1. HttpAPI vs. WebSocket API — a detailed performance analysis.

    May 6, 2022 · This exercise is a detailed performance analysis comparing WebSocket vs. HttpApi based APIs. Which is faster? Why? TLDR; Spoiler alert — WebSockets wins.

  2. At what point are WebSockets less efficient than Polling?

    Jun 24, 2017 · By throwing in a worst case (and improbable) scenario for Websockets vs. HTTP, you would clearly see that a Websocket connection will always have an advantage in regards to bandwidth (and probably all-round performance).

  3. HTTP vs Websockets: A performance comparison - Medium

    Jan 27, 2018 · As we can see, making a single request per connection is about 50% slower using Socket.io since the connection has to be established first. This overhead is smaller but still noticeable for ten requests. At 50 requests from the same connection, Socket.io is …

  4. Using a Websocket API vs Traditional HTTP REST API : r/webdev - Reddit

    May 28, 2020 · Rather than making HTTP calls to a REST API, which have slower responses, all your calls for data, even simple gets, can go through the websocket. What are the drawbacks to this approach? I think it's because Websockets aren't as scalable - …

  5. How websockets can be faster than a simple HTTP request?

    Oct 4, 2013 · Web Sockets provides an enormous step forward in the scalability of the real-time web. As you have seen in this article, HTML5 Web Sockets can provide a 500:1 or—depending on the size of the HTTP headers—even a 1000:1 reduction in unnecessary HTTP header traffic and 3:1 reduction in latency.

  6. Difference between Rest API and Web Socket API

    Mar 23, 2023 · Efficiency: WebSocket APIs are more efficient than REST APIs for real-time applications, as they use a persistent connection to enable bidirectional communication. Scalability: WebSocket APIs are highly scalable, as they can support thousands of …

  7. WebSocket vs REST: Key differences and which to use - Ably …

    Jan 29, 2024 · Discover the different features, performance characteristics, and use cases for WebSocket - a stateful protocol, and REST - a stateless architectural style.

  8. Performance differences between HTTP REST API and WebSocket REST API

    May 29, 2022 · While WebSockets can be overkill when used only for single requests ( open web socket -> send request -> get response -> close web socket ), they are very fast when we do multiply requests over a single connection.

  9. Websocket (socket.io) vs HTTP (S) time performance

    Oct 5, 2022 · Strangely enough, even though the general opinion is that Websockets should be faster especially since there's no handshake and any other connection setup functionality, our results don't show this, and actually HTTP edges out …

  10. WebSocket vs REST API: How WebSocket Improves Real-Time …

    In this article, we compare WebSocket and REST API for real-time data delivery and show how WebSocket offers a significant performance improvement — by up to 98.5% — in terms of speed and efficiency. Both WebSocket and REST API are commonly used for client-server communication, but they work differently and are suited for different use cases.

Refresh