long-polling Questions
1
Solved
Amazon SQS supports two modes of polling for available messages: short polling and long polling. With long polling, the consumer specifies a timeout of 1-20 seconds to wait for available messages.
...
Pastime asked 23/7, 2018 at 9:50
0
Have started a new Odoo server on Ubuntu Linux. Used a script by Yenthe Van Ginekken (probably the most popular one):
sudo wget https://raw.githubusercontent.com/Yenthe666/InstallScript/11.0/odoo_...
Peaceful asked 22/6, 2018 at 10:34
5
My web app uses the 'long poll' method to keep up to date with the latest data from my server. The server only responds when it has new data, which can be many minutes apart. (It is a heating contr...
Santee asked 17/12, 2015 at 17:37
0
I'm trying to use HTTP long polling, roughly something like this:
@app.route('/get_stuff', methods=["GET"])
def get_stuff():
while True:
stuff = database.lookupSomething()
if stuff:
return jso...
Aikoail asked 22/11, 2017 at 18:48
2
Solved
I need to do API calls to display the progress of something.
I have created a service which does this every 1.5 seconds
Main Component
private getProgress() {
this.progressService.getExportProg...
Pointed asked 13/10, 2017 at 11:30
2
Solved
I am using .ajaxStart() and .ajaxStop() to show a modal while an ajax request is being made. (between start and stop)
Now I'd like to add a longpoll function that keeps waiting for notifications, ...
Shuping asked 26/9, 2012 at 15:2
1
Solved
I need to implement long polling for a chat application. I've searched around, but I only find how to implement it in JavaScript using JQuery. How can I implement it using only native JavaScript an...
Brewton asked 24/8, 2017 at 5:15
2
I have a Python program which sends several (about 5-6) long poll requests in parallel using different threads for each poll via requests package. And I realized that some of my threads sometimes j...
Spies asked 9/2, 2016 at 12:27
1
I'm currently exploring SignalR, this technology supports transports (web wockets, long polling ,server-sent events and forever frame).
I have understood the terminology web sockets and long polli...
Schaerbeek asked 7/10, 2013 at 13:55
7
Solved
I know there are ways to fake it, polling (or long polling) but is there any way to have the server contact the browser to push out information?
Either polling option wastes resources on the serve...
Sweetheart asked 13/11, 2011 at 8:43
2
Solved
I have read many articles on real-time push notifications. And the resume is that websocket is generally the preferred technique as long as you are not concerned about 100% browser compatibility. A...
Moberg asked 17/12, 2016 at 12:1
2
Solved
I'm trying to use EventSource for a streaming connection to a server. But I need to set a session key header on the underlying XHR request. How do I access the XHR from the EventSource object if it...
Pentagon asked 17/6, 2014 at 19:48
2
i'm working on Odoo 8 in a multiprocessing Mode with nginx as a proxy server, i read a lot of issues about this error but i still can't fix my problem,i think that i couldn't run the odoo in a geve...
Corm asked 31/5, 2016 at 9:54
2
Solved
The below script will operate indefinitely and will be initiated by using php myscript.php.
http://example.com/longpolling.php will only respond if it has something to communicate to php myscript....
Bainite asked 31/10, 2016 at 12:20
1
Solved
I need to install an application on a non JEE7 compliant server. I am using Spring + Stomp + SocksJs for realtime notifications.
My code looks like this:
@Configuration
@EnableWebSocketMessageBro...
Intended asked 12/10, 2016 at 12:28
4
Solved
I'm writing an AJAX web app that uses Comet/Long Polling to keep the web page up to date, and I noticed in Chrome, it treats the page as if it's always loading (icon for the tab keeps spinning).
I...
Lucialucian asked 24/4, 2010 at 9:7
3
Solved
I'm building a real-time web application As far as I know, the most popular choices are short-polling and long-polling. What are the advantages and disadvantages might there be for measuring one ov...
Adenoid asked 9/1, 2011 at 23:41
2
I start developing a software, app coded using html + js I need to send this app notification from the server (java code) the app using nginx for routiong and is hosted in AWS.
I investigated...
Internment asked 29/3, 2016 at 16:57
4
We have a web application that uses SignalR for its notification mechanism.The problem is when we are browsing our web application using IE ,SignalR uses Long Polling as its transport type thus sen...
Damnify asked 31/5, 2014 at 14:32
1
Solved
I really like the RxJava, it's a wonderful tool but somethimes it's very hard to understand how it works.
We use Retrofit with a RxJava in our Android project and there is a following use-case:
I ...
Cobaltite asked 22/1, 2016 at 9:55
1
Solved
I am trying to implement a long-polling solution in Swift using iOS 8+.
While the solution undoubtedly works and leaves the main thread free for UI interactions, the memory usage climbs continuou...
Tami asked 29/12, 2015 at 15:16
3
Solved
I would like to receive Server-Sent Events in my native iOS app however am not using webkit/Safari. From what I've found, NSURLConnection is poor fit as it chunks response . I've also looked ...
Cords asked 17/10, 2012 at 18:24
1
Solved
I'd like to use WebSocket with Java. Problem is, my server is separated from the client by a proxy that cannot be configured. I've been searching for implementations of WebSocket with fallbacks suc...
Phrygia asked 1/10, 2015 at 15:30
1
I'm currently thinking about creating a soft realtime mobile phone webapp, but when I started researching websockets, I found a load of scare stories about websocket connections dropping out on mob...
Shavian asked 15/8, 2014 at 13:13
1
I have an app that has a page on which user must see in relatively real-time how 2 steps are processed.
Now this is done by ajax short-polling. I'd like to change it to some less server-heavy tech...
Beore asked 29/8, 2015 at 12:41
© 2022 - 2024 — McMap. All rights reserved.