Questions tagged [request-queueing]
42 questions
1
vote
0 answers
Wamp not working, Can I close svchost.exe and LPOC.exe permanently?
My wamp always stays in yellow rather than green, I've found the cause by command httpd.exe -e debug and netstat -ano, the result shows the port 80 be occupied by System who's PID is 4.
Then I checked the stat of http service and found there are…

tsu
- 1,122
- 1
- 10
- 22
1
vote
1 answer
Thread.sleep () in while loop with RequestQue
what i'm trying to do is while loop with delay of 15 seconds and inside the loop i want to execute volley request .. the loop is working but with no delay
this is my code : (client2 is the volley request method )
new Thread(new Runnable()…

Neo Algeria
- 235
- 2
- 3
- 13
1
vote
1 answer
android - volley request inside loop
Okay, my first post because I've reached the limits of researching.
I try to run 3 requests, each with a different url inside a for loop (I've tried also with while and if) and the code runs perfectly, untiiiiil it gets to the requestqueue. Now the…

nabais
- 1,981
- 1
- 12
- 18
1
vote
1 answer
Java.lang.Runtime
I have a piece of code that invokes an instance of the bash terminal through the use of the following --
proc = Runtime.getRuntime().exec("/bin/bash", null, working-dir);
and then to run unix commands on this invoked instance of bash I'm using a…

ping
- 1,229
- 3
- 21
- 41
1
vote
1 answer
Android - volley multiple requests
I have 2 requests that I need to execute
onStart(...){
callFirstWS();
callSecondWS();
}
each function use a Singleton class with this format
SingletonClass.getInstance().addToRequestQueue();
the singleton class
public…
user4938025
0
votes
0 answers
how to create a Request Queue in a static function
public static List getGasTypeList() {
RequestQueue queue = Volley.newRequestQueue(this);
}
this can not be referenced from a static context
I tried everything I know but still no result.
0
votes
0 answers
Nodejs server getting latent when any of the backend dependent service gets latent
Our infra for web application looks like this
Nodejs Web application -> GraphQL + Nodejs as middleware (BE for FE) -> Lot's of BE services in ROR -> DB/ES etc etc
We have witness the whole middleware layer of GrpahQL+Nodejs gets latent whenever any…

Nitin Agrawal
- 1,341
- 1
- 10
- 19
0
votes
1 answer
How to ignore request after long queue time tomcat
When the backend tomcat server receives the request, and if no worker threads are available, the request is queued. I have a Frontend that waits for (say) 30s before it displays timeout and terminates the connection. If the frontend times-out when…

Srivatsa RJ OYO
- 3
- 1
0
votes
1 answer
How do I free memory while executing network request in a loop?
Update:
gc will only work after the final } , which means taht only after the entire for loop has completed will the gc garbage collection be running once. so, is there any programming patter that can be used here? kinda like a for loop but in the…

shawhu
- 1,217
- 1
- 12
- 27
0
votes
0 answers
Why use exponential backoff algorithm for rate limited system throttling?
I am dealing with a CDN system that has a max request rate per minute (since all objects are about the same size, there is no bitrate limit)
Frankly, I do not yet know if it's #/clock minute, or calculated rate.
I have a single daemon that downloads…

Mark Gerolimatos
- 2,424
- 1
- 23
- 33
0
votes
2 answers
RxJs chaining observables with subscriptions
I have a form which consists of blocks which are retrieved by calls to API.
I need to process each call accordingly to that specific call (I'm creating a formGroup part based on that call).
What I want is to have some kind of global…

Sergey
- 7,184
- 13
- 42
- 85
0
votes
1 answer
JSON file parsing ran into errors in ANDROID
I am trying to parse data from json using an API, but I don't know for what reasons when I am calculating the size of m_name3 it is showing 0 but the data is being parsed through the file. When putting toast at String name = o.getString("name"); it…

Amit Chaudhary
- 73
- 8
0
votes
2 answers
How to get response code from synchronous RequestFuture request
I am using the strava API for an app. I am making synchronous requests as can be seen by the code below.
try {
RequestQueue queue = Volley.newRequestQueue(context);
RequestFuture future = RequestFuture.newFuture();
…

Mark
- 25
- 1
- 1
- 5
0
votes
1 answer
Volley timeout error attempting to POST to localhost
I've battling a volley timeout error when attempting to post a registration form to a localhost (WAMP) for testing purposes. I've been looking at the code for sometime and cannot seem to find the issue. Timeout errors from what I understand are…

rexhvn
- 1
- 1
0
votes
1 answer
Preventing the same request from being sent simultaneously by Volley
I'm developing a general purpose library for Android apps and I'm using Volley to send requests over the network.
2 issues that came from the same problem: the user clicks the Button several times and the request is queued the # of times the user…

lionheart
- 437
- 11
- 33