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.

51 questions
0
votes
1 answer

Simultaneously Sending a message to Users who are on the same database

I have been trying to send a custom message in my database (Emergency_Contact) by a button click (mRescue), when a button is clicked it's going to check the user_id of the person who pressed the button after that check in Emergency_Contact for every…
0
votes
1 answer

Rails - Avoid simultaneous execution of controller action

class ExampleController < ApplicationController def getAPI #retrieve and process data from API end end How can I avoid that the controller action gets executed simultaneous? Would a class variable work? class ExampleController <…
0lli.rocks
  • 1,027
  • 1
  • 18
  • 31
0
votes
1 answer

Laravel simultaneous launch functions

I have such function in my trait: public function cupPlayMatch(Season $season, $round_id) { foreach($season->cups as $cup) { $this->cupPlay($cup, $round_id); } } And second cup isstarting playing when first cup finished. How I…
Igor Ostapiuk
  • 589
  • 3
  • 7
  • 23
0
votes
1 answer

Best wrapper for simultaneous API requests?

I am looking for the easiest, simplest way to access web APIs that return either JSON or XML, with concurrent requests. For example, I would like to call the twitter search API and return 5 pages of results at the same time (5 requests). The results…
bluebit
  • 2,987
  • 7
  • 34
  • 42
0
votes
1 answer

Error in Trace SIP - Timeout of call server

thank you for your help. We have an application that generates calls to the customers, around 500 SIP calls simultaneous. Our app is only a customer of the SBC-Call Server. When the application start, the first calls are completed, but after that…
Chris
  • 1
0
votes
1 answer

Simultaneously Call a Script from Python, passing data to each, and Returning data to the original

I am trying to create a python script that calls 5 other python scripts to run simultaneously while passing in an array and then each of the 5 scripts perform an operation on that array and return a different array to the initial script. The…
0
votes
1 answer

Confused about average response time and calls per second correlation

I have average response time, lets say its 10 secs, also I have a max number of parallel connections my service can handle, lay say its 10. Now, how do I calculate calls per second (CPS) value my service has handled from these data? My guess is it's…
0
votes
3 answers

c# simultaneous calls for sql db

In my C# project I have a method that ask if an object exists in the db and if not then creates it. Now, if two users asks the same question simultaneously they both get null so the flow will be to save to db which is impossible for two duplicates…
mashta gidi
  • 849
  • 1
  • 10
  • 30
0
votes
1 answer

Simultaneous users running php script

I have a simple php script that issues a curl HTTP POST request then displays the data to the user via redirection. The problem I'm having is, if more than one person runs the script at the same time it will execute and complete successfully for one…
snapplex
  • 851
  • 3
  • 13
  • 27
0
votes
1 answer

Simultaneous connection to apache/php

I'm working on a project that requires endless ajax requests. The request is stop by the server when there are data to send. To simplify the test, I made a sample to simulate the problem :
Madef
  • 619
  • 5
  • 9
0
votes
1 answer

how jump from staying for output of shell execute after run in an php script?

I have this sample code called main.php: when execute this script after executing first shell_exec it staying until finishing first…
saeid ezzati
  • 239
  • 1
  • 3
  • 16
0
votes
1 answer

NSURLResponse Content-Length mismatch size of actual data when running concurrent downloads

I have a UITableView, when a cell is selected, I make a service call to asynchronously download a PDF file from a web service. It works great, until you select multiple cells directly after one-another (individually), then things start going…
0
votes
2 answers

c# multi threading with simultaneous access on a listbox > data lost (pick/remove)

I have a ListBox with a list of URLs. I have 2 threads taking theses URLs and treat them into a function. My Thread 1 takes the items[0] of the ListBox, and my Thread 2 takes the items[1]. After the Thread picked up the item, it immediately remove…
yves
  • 250
  • 1
  • 2
  • 18
0
votes
1 answer

Multiple Ajax Calls while one Ajax call is still running

I got some progressbar Update Issues. What I like to do is, fire a ajax call which takes some time to complete and during the this call I'd like to fire ajax calls, set by an interval, to update my progressbar. Since I could not find a solution and…
rootless
  • 1
  • 3
0
votes
1 answer

batch script: loop and labels

I am trying to make a script (batch in windows) that download 5 text files using wget, and do some operations to each one, so I am thinking to do this with a loop just like this set i=0 :begin set /a i=%i%+1 if %i% equ 5 exit wget…
Leo92
  • 724
  • 4
  • 16
  • 29