Questions tagged [polling]
Polling, or polled operation, in computer science, refers to actively sampling the status of an external device by a client program as a synchronous activity. Polling is most often used in terms of input/output (I/O), and is also referred to as polled I/O or software-driven I/O. From [Wikipedia on Polling](https://en.wikipedia.org/wiki/Polling_%28computer_science%29)
48
questions
2
votes
3
answers
172
views
Polling Application Misses 1/500 records from an OData Feed
I apologize in advance for the lack of knowledge. Please feel free to edit this question to use the appropriate terminology if it is not correct.
I recently wrote a .NET core application that is ...
1
vote
1
answer
648
views
Linux poll with a thread pool and multiple events
I am working on a simple client server program in C in which multiple clients will be connected to a single server.
Clients will submit operations/actions to the server and the server will process ...
0
votes
0
answers
96
views
Update notification through api end point to SignalR hub or directly in SignalR hub
For updates on a dashboard, I need to decide to make an extra api end point which creates a message in SignalR or let some kind of message broker (filewatcher1) do that. What would be good ...
0
votes
0
answers
83
views
Design a server file transfer to client, polling or websocket?
I'm designing a file sending system from a server to many remote clients, around 5000; each file has only one recipient client. Files rarely exceed 10MB.
The server is published on the internet, the ...
0
votes
3
answers
1k
views
How to combine epoll + multithreading in an HTTP server
I'm building an HTTP server in C using epoll and pthread. The idea is to have an event loop in the main thread monitoring file descriptor and a thread pool to handle computationally-expensive ...
2
votes
2
answers
1k
views
Long polling and message brokers
I was reading this article, and the author uses HTTP long polling to design a chat application.
I was wondering how does this compare with a dedicated Message Broker services like Apache Kafka, or ...
0
votes
0
answers
139
views
HTTP polling vs WebSocket for very small payloads that don't change often
In our team we are currently discussing which technology makes more sense for an upcoming feature - HTTP polling vs WebSocket.
To give some context:
We are developing a TV streaming application (...
1
vote
1
answer
61
views
Poll based database operations with a load balanced application
I have a .NET Core application that is hosted as multiple load balanced instances (separate servers, obviously pointing to the same database).
I have written a service within the application that ...
1
vote
0
answers
416
views
SignalR Handle Multiple Clients in my Scenario
I currently have multiple clients who need to be informed when a customer creates a new order. Each customer is registered to an individual client and customers create orders on my website (each order ...
-5
votes
1
answer
27
views
Implementing an intranet software in which client machines get push updates from a server?
I have an existing .net server infrastructure that resides in a company's intranet. Now for a new feature I'd like normal users (employees) to receive notifications on their machines when specific ...
1
vote
0
answers
35
views
Is this kind of polling from backend (Angular + Laravel) acceptable?
I created a forum where I want to display notifications and messages as soon the user gets them. I don't want them to need to refresh to page to see if any notification/message been sent, but I also ...
0
votes
2
answers
781
views
Are there cases when using polling is preferable to Webhooks
When evaluating whether to use webhooks or polling for an architectural decision I've been reading some articles. Most highlight the obvious drawbacks with using polling such as:
wasted resources (...
7
votes
4
answers
7k
views
Alternatives to polling an API
Assume we have a desktop application (probably WinForms) that acts as a client to some API for an app with a messaging function. This API has endpoints that return a JSON of messages, and who sent ...
0
votes
0
answers
337
views
What could be a good scalable alternative to polling data and then looping over a list of objects for triggering some action on those?
So I have some naive implementation for the following problem:
We have a list of objects with action methods that have to be trigger at some value of interest.
This value is polled (or is streamed) ...
3
votes
0
answers
311
views
Efficient BACnet device polling strategy
Example BACnet network:
Some help is needed to solve a problem around architecting an efficient method of polling BACnet devices across multiple networks (i.e. MS/TP networks) where client software ...