I'm building a website where I want to allow users to subscribe to various realtime data streams. They will subscribe to few streams and it will be pushing the data back as long as they are connected. The question is, which technology is more suitable for this: Server Send Evenets, Websockets, HTTP/2, Comet? What should I use for achieving the best results? I aim for quite big amount of users with this. Will appreciate for answers pointing me in the best direction here.
Which communication technology should I use for pushing data stream to the website users
84 views Asked by orzel At
1
There are 1 answers
Related Questions in WEBSOCKET
- Resolving ElephantIO ServerConnectionFailureException: Error establishing connection to server
- Django socketio process
- How to decode audio stream using tornado websocket?
- Java and React WebSocket - Error Connection
- Socket.io nodejs server .NET connection
- Troubleshooting WebSocket 502 Error in Python Code
- Getting an error in Socket.io wordle project
- Best practices with realtime data / websockets. Send vs. revalidate data
- My socket.io web socket application is not sending data to some users
- Android 13 & 14 seem to close WebSocket connection, if i put app in background, after ~20s
- Audio bytes chunks getting corrupted during streaming using Django and Websockets
- Odoo live chat not working when using apache reverse proxy
- websocket Fatal error message stating "Failed to listen on tcp://0.0.0.0:8080: Address already in use
- Stomp connection using JWT token in Python
- Symphony Fintech (XTS) market-data socket data integration in PyQt6 using python3
Related Questions in STREAMING
- Out of memory while adding documents to a Firebird BLOB field with Delphi
- how to cancel file reading operations in dart?
- Live Stream over network
- The Asof join engine output does not match expectations
- Agora Broadcast live streaming black screen on ios browsers when starting a stream agora-rtc-sdk-ng react web app
- How can I modify my code to negate this error?
- How do I run multiple instances of my Powershell function in parallel?
- Context Cancels not triggering on a blocking Stream.Recv() in Go gRPC Bi-Directional Stream
- How should I consume data from a Kafka topic for a light weight Live-Chart app. in .NET, that has minimum requirements?
- Performance implications of multiple websocket connections from one session
- Streaming data from json into chat bubble
- OpenAI assistant streaming for function calling
- RTSP server android
- Unit testing a broadcast streaming class
- How to boost the data distribution speed of stream tables in DolphinDB?
Related Questions in COMET
- Subscribe to Events Broadcast from another Server
- How does autologging work in MLOps platforms like Comet or MLFlow?
- Is Fiware-STH-Comet service compatible with NGSI-LD (linked data) format?
- For cometd client wait for publish message in queue before shutting down
- How to disable crash output in comet ml?
- Cometd maxInterval configurations per session
- Java bayeux client disconnects with TimeoutException when idle
- How to make the Apache reverse proxy server to support the long-polling connection?
- Cometd, Spring-security : Currently authenticated user not available inside a Listener
- Comet-Style API Consumption with Async/Await
- libcurl write callback is not called for post http message
- HTTP method GET is not supported by this URL with comet processor
- Libcurl chunked http message received callback
- How to configure custom AtmosphereResource in Atmosphere framework
- Which communication technology should I use for pushing data stream to the website users
Related Questions in SERVER-SENT-EVENTS
- NextJS 14 SSE with TransformStream() sending messages in a single response
- How to keep alive Server sent event connection?
- SSE implementation in Pedestal using individual channel per user
- PHP SSE , data not shown properly
- Concurrency issues with server-sent events in Python
- Getting wrong SSE response from the server
- How to mock EventSourcePolyfill messages in Cypress?
- Code exiting after calling await client.ExecuteAsync(request)
- Nest.js - Error on EventSource when using Server side event
- Notification system using SpringBoot/WebFlux with React.js
- Quart: how to get Server Sent Events (SSE) working?
- Server sent events in pedestal returns empty response
- Monkeypatch 'print' to 'yield' for streaming output
- Server Sent Event with React-native
- AWS CloudFront Not Forwarding Server-Sent Events: "This request could not be satisfied"
Related Questions in HTTP2
- Selenium Wire webdriver cannot browse site
- HTTP/2 POST requests with compressed responses failing ERR_HTTP2_PROTOCOL_ERROR 200 (OK)
- 103 Early hints response not sending properly with HTTP/2 request
- How can I check if client terminated the gRPC connection?
- Received duplicate pseudo-header field b':path' error when I send http2 requests in python
- AWS-LAMP Bitnami | External API Call Error
- Too large Auth-Header in request: okhttp3.internal.http2.StreamResetException: stream was reset: CANCEL
- Enable HTTP/2 instead of http/1.1 on local server
- HttpWebRequest not responding suddenly
- Is it possible to expose WCF services that can be addressed by HTTP/2 ? and how can I do it?
- How to read HTTP2 HPACK compressed headers using tshark
- HTTP2_PROTOCOL_ERROR and ERR_CONNECTION_CLOSED when updating weblogic version 12 to 14
- Inconsistent Browser Support for Alt-Svc Header and HTTP2 Frame Implementation
- How to handle UDP and HTTP2 requests in Springboot using Netty
- How to use hyper server with unencrypted HTTP/2 (H2C)?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
This was already discussed before both when debating the role of AJAX (great for CRUD, not so much when polling) and when comparing Websocket performance vs. AJAX performance (Websockets are always faster where live updates are concerned).
Comet and SSE are interesting flavors for HTTP polling, but is the end they only mitigate the side effects to a degree, while Websockets (often coupled with the publish–subscribe pattern using Redis or something similar) are the best tool for the job.