Questions tagged [simultaneous-calls]

Calling a method in concurrent threads, or events like multiple click as in Pinch Zooming.

Calling a method in concurrent threads, or events like multiple click as in Pinch Zooming.

45 questions
33
votes
4 answers

Python Multiple users append to the same file at the same time

I'm working on a python script that will be accessed via the web, so there will be multiple users trying to append to the same file at the same time. My worry is that this might cause a race condition where if multiple users wrote to the same file…
Ray Y
  • 1,091
  • 3
  • 14
  • 21
15
votes
3 answers

Does Android support multiple HTTP requests at the same time?

In my app I'd like to handle downloading of several files at the same time. To do so I'm starting several services, one for each request. As I'm not sure, does Android support simultaneous http requests in parallel? In that case, is it good or bad…
Romain Piel
  • 10,535
  • 15
  • 67
  • 105
13
votes
3 answers

Send Simultaneous Requests python (all at once)

I'm trying to create a script that send's over 1000 requests to one page at the same time. But requests library with threading (1000) threads. Seems to be doing to first 50 or so requests all within 1 second, whereas the other 9950 are taking…
john doe
  • 131
  • 1
  • 1
  • 3
8
votes
1 answer

Is there any limit on number of concurrent hits or simultaneous executions on Google App Script Web App

I am writing an Apps Script(to process emails, Tasks and Calendar events) and want to deploy it as a web App. The App will run in the context of the user who runs it. The App will be used by more than 10k+ users and probably even more. Before I…
5
votes
1 answer

Allow multiple instances of a php script to run

I'm trying to use ajax to make multiple simultaneous requests to a php script, however, it only seems to do 1 instance at a time and I cannot connect to do the next call until the previous one is finished. What do I have to do in order to make it do…
Yawn
  • 489
  • 3
  • 7
  • 18
5
votes
2 answers

How to handle Simultaneous javascript xmlhttprequests?

Possible Duplicate: passing index from for loop to ajax callback function (javascript) I've been a little confused with making xmlhttprequests, to different servers, in order to fetch some content.. Here is what I've written, but it seems that…
nikolas
  • 663
  • 2
  • 13
  • 36
3
votes
3 answers

Running 2 threads simultaneously

In the case of an IM client. I have made 2 separate threads to handle sending packets (by std io) and receiving packets. The question is how to make these 2 threads run simultaneously so that I can keep prompting for input while at the same time…
3
votes
1 answer

JQuery - When calling a function multiple times in a row, why only the callback of the last call is executed properly?

There is a function that triggers a callback when finished; I call this function 2 or 3 times consecutively; Only the callback of the last call does what was expected; The following description and code exemplifies the true scenario. I have three…
John Coffee
  • 58
  • 1
  • 5
2
votes
1 answer

simultaneous multiple calls to setInterval inside objects with same constructor in javascript

I need to create multiple simultaneous animated objects with different speed frequencies using setInterval and generated by the same constructor. The problem that I'm facing is that after creating 2 or more objects, the object's method passed to…
2
votes
1 answer

Simultaneous executions limit in google apps script

I am trying to evaluate Google Apps Script (GAS) as one of the component in my overall SaaS. But, I see there is quota limits. https://developers.google.com/apps-script/guides/services/quotas#current_limitations Can someone explain what…
2
votes
1 answer

Web service not handling multiple simultaneous request from same application with proxy class

I have an application scheduling multiple tasks which are calling different web services, some the same web service but different method. Each task is executed in an interval and each task is running in its own thread. To obtain reference to the…
user752083
  • 35
  • 1
  • 6
2
votes
2 answers

Triggering a jQuery Re-Draw After Getting Data With Ajax

Good day, all, Long-time listener, first-time poster... I have a client who has been promised a seemingly very complex bit of functionality. They want to load the contents of 3 separate pages into one, after a visitor to their site successfully logs…
2
votes
2 answers

What can happen between file_exists and saving a file with the specific name (php)?

due to the fact how a Server can handle requests (-> Simultaneous Requests to PHP Script), I have a question about what can happen, if a script checks a filename and then saves the file. For example: User A requests "save.php". A really short time…
user1895259
  • 147
  • 2
  • 2
  • 10
1
vote
3 answers

TimeoutException in simultaneous calls to WCF services from Silverlight application

Analysing log files I've noticed that ~1% of service calls ended with TimeoutException on the Silverlight client side. The services (wcf) are quite simple and do not perform long computations. According the log all calls to the services are always…
1
vote
1 answer

Is using threadpool in this multthreading case advisible?

Environment: Webphere 6, Solaris box, Thick client, Java web app. Number of request can be between 400 - 600. On each request to server, I am creating 15 threads( using Java ExecutorService) for requesting 15 different webservies simultaneously and…
1
2 3