long-polling Questions

2

Solved

Currently, I have an AWS SQS as a trigger to my AWS Lambda function. I would like to implement long polling to reduce costs since I've used up 70% of my monthly free tier, mostly from empty receiv...
Exequies asked 19/11, 2018 at 9:55

6

I'm stuck on why a node.js app that was moved to an IIS7 server is now failing. I know IIS7 doesn't support web sockets but my understanding was that socket.io would fall back to long polling if we...
Petrify asked 8/6, 2015 at 15:45

2

One of the Jmeter requests which I captured contains the 'LongPolling' transport method. So it takes high load time/latency. I don't want to have this much of high latency in the request. How can...

4

Solved

I'm trying to implement long polling for the first time, and I'm using XMLHttpRequest objects to do it. So far, I've been successful at getting events in Firefox and Internet Explorer 11, but Chrom...
Graffito asked 16/12, 2014 at 21:11

2

Solved

For example I want to refresh chat messages by multiple tabs with socket.io, longpolling, etc... whatever I have... For that I want to use only a single connection for all of the tabs. How can I ma...

2

I need to implement long polling in my application to retrieve the events. But I have no idea how to do it. I know the concept of long polling, i.e to leave the connection open, until an event occu...
Meingolda asked 22/3, 2014 at 19:26

2

Solved

I play with Javascript AJAX and long-polling. Try to find best value for server response timeout. I read many docs but couldn't find a detailed explanation for timeout. Someone choose 20 secs, othe...
Recent asked 23/5, 2016 at 12:30

4

Solved

If I load this script in chrome from my local server on XAMPP: header("Content-Type:text/plain"); set_time_limit(0); $max = 40; for ($i = 0; $i < $max; $i++) { $response = array( 'server tim...
Reel asked 12/9, 2015 at 12:1

2

For interactive web apps, things like Websockets are getting more popular. However, as the client, and proxy world is not always fully compliant, one usually use a complex framework like 'Socket.IO...
Avelinaaveline asked 10/2, 2014 at 11:45

3

Solved

I got onto these examples showing polling vs long-polling in javascript, however I do not understand how they differ from one another. Especially regarding the long polling example, how does it kee...
Merylmes asked 7/8, 2013 at 9:33

7

Solved

How can a SignalR JavaScript client detect when a connection with the server is lost?
Gangster asked 1/2, 2012 at 18:17

4

Solved

I have a requirement to read all messages in my Amazon SQS queue in 1 read and then sort it based on created timestamp and do business logic on it. To make sure all the SQS hosts are checked for m...
Incendiarism asked 13/1, 2014 at 19:41

2

I am writing a server for an iOS game. The game is turn-based and the only time the server needs to push information to the client is to notify of the opponent's move. I am curious if anyone could ...
Gaudette asked 30/7, 2015 at 4:28

2

Solved

What technology does Google Drive use to do real-time? When I type in a Google Drive document that is being accessed by multiple users, the Chrome Developer Tools Network tab shows that there are ...
Snowclad asked 28/1, 2016 at 19:23

1

Solved

I want to implement long-polling until I get certain data from an API. For example, let's say we have an API that returns the progress of a process. And I want to call that API until the process is...
Haulage asked 2/9, 2021 at 9:17

4

Solved

I have tried reading some articles, but I am not very clear on the concepts yet. Would someone like to take a shot at explaining to me what these technologies are: Long Polling Server-Sent Event...
Tactless asked 18/6, 2012 at 6:28

5

Solved

I'm using http.Client for the client-side implementation of a long-poll: resp, err := client.Post(url, "application/json", bytes.NewBuffer(jsonPostBytes)) if err != nil { panic(err) } defer resp....
Vitamin asked 22/3, 2015 at 17:43

3

I am consuming one REST API (GET) using .Net HttpClient. I want to call this API with long polling. I have few questions: What is the best way to retrieve data using long polling? Here is my us...

1

Solved

I am trying to implement long polling which is lifecycle aware(in Activity/Fragment). The polling will be scoped to the fragment which sends API request to the server every fixed interval of time. ...
Kimbell asked 6/4, 2020 at 9:20

2

Solved

I'm developing a chat application and so far i'm polling my server for messages every two seconds. To make the chat more instant i'd like to implement long polling. I'm trying to implement this JS....
Rockfish asked 8/1, 2020 at 15:12

6

Solved

I have read this question but it doesn't exactly answer my question. Unfortunately, it looks like things have changed in in the XHR object since I last looked at AJAX, so it is no longer possible t...
Pelecypod asked 12/10, 2011 at 13:15

2

Solved

I'm trying to achieve long-polling in Java web application. The application is written using Spring MVC 3.2 and I make use of DeferredResult object (it represents Servlet 3.0 async response capabil...

1

Solved

Would you be so kind as to share any up-to-date manual or explain here how to implement a REST Long Polling endpoint with the latest Spring (Spring Boot)? Everything that I've found by this time i...
Brewery asked 9/12, 2018 at 23:35

2

Solved

I am trying to communicate with an Asp.Net core 2.1 application that uses SignalR to establish its chat communications, but I can't figure out what's the best way to accomplish that using flutter. ...
Doctor asked 22/6, 2018 at 3:31

2

Solved

I am trying to wire up an AsyncController so that when a user clicks save on an order on the order page, all users viewing the same order should get a notification that the order has changed. My ap...
Deepsea asked 20/6, 2012 at 10:17

© 2022 - 2024 — McMap. All rights reserved.