I'm experiencing some very weird behavior. I have a simple script that
inserts a row into the DB, then sleeps for 30 seconds. If I try to run
the script concurrently by opening 2 browser windows, the 2nd instance
will not run until the 1st instance of the script has finished
executing (30 seconds). This is NOT what I expected.
However, if I run the script from IE, then again concurrently from
Mozilla, everything is fine! Or, if I run the script from computer A,
then load it from computer B, it runs concurrently just fine! It's
only when I'm loading the script on twice on 1 computer, using the same
internet browser, that it does not run concurrently. Does anyone have
any ideas??
Thanks in advance. 2 4767
On 26 Aug 2005 00:08:35 -0700, "jw7u" <Po*******@gmai l.com> wrote: I'm experiencing some very weird behavior. I have a simple script that inserts a row into the DB, then sleeps for 30 seconds.
I shouldn't ask but: Why do you have a webpage sleep for 30 seconds?
If I try to run the script concurrently by opening 2 browser windows, the 2nd instance will not run until the 1st instance of the script has finished executing (30 seconds). This is NOT what I expected.
It could be that your browser is the hold up, not the server. While
your script is sleeping for the 30 seconds it still has an HTTP
connection open and the browser is still waiting for a response. It's
entirely possible (even likely) that the browser will not issue
another request for the same resource until the first request
completes. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Boris Nikolaevich |
last post by:
This is backwards of what I usually want--normally if you have a
long-running ASP script, it's a good idea to check to see whether the client
is still connected so you can cancel execution.
However, I have a script that absolutely MUST finish one it's been
started--is there a way to cause the entire script to execute, even if the
client disconnects in the middle of the process? It doesn't matter if the
script returns anything to the...
|
by: Mike Meyer |
last post by:
The recent thread on threads caused me to reread the formal definition
of SCOOP, and I noticed something I hadn't really impressed me the
first time around: it's using staticly checkable rules to help ensure
correct behavior in a concurrent environment.
That's impressive. That's *really* impressive. I know of no other
language that does that - though they probably exist. I'd be
interested in references to them.
Normally, I think of...
|
by: Durai |
last post by:
Hi All,
I tested "concurrent testing" in MySQL. It works fine. But I couldn't do in PostgreSQL 7.3.4 on HPUX IPF. I got deadlock problem. I used the PHP script to update table( one script increment the column & another one decrement the column). Is the postgres support the concurrent access to update database?
I got the following errors:
test=# ERROR: deadlock detected
ERROR: deadlock detected
ERROR: deadlock detected
.....
|
by: Volkan Arslan |
last post by:
-------------------------------------------------------------
LASER Summer School on Software Engineering
Software engineering for concurrent and real-time systems
Elba, Italy
September 11 - 17, 2005
http://se.inf.ethz.ch/laser
-------------------------------------------------------------
|
by: iam980 |
last post by:
Hello All.
We have tested following SQL script from query analyzer:
-- Script begin
DECLARE @I int;
SET @I = 1;
WHILE @I < 10000000 BEGIN
SET @I = @I + 1;
END
-- Script end
| |
by: Bill Manring |
last post by:
I have an ASP.NET application which my company sells comercially. We license
on a concurrent user model, but we currently rely on the "honor" system for
the customers to give us their best guess as to the maximum number of
concurrent users they will need. We do this because, so far, we have not
been able to come up with any mechanism for reliably monitoring how many
users have active sessions and locking out users until a license becomes...
|
by: MitchR |
last post by:
Hello to All; I have inherited a database and need to have the database post a date in a comments column which I can do. Problem is every time I execute the event procedure it replaces the old date with the new date. I am trying to figure out how to keep the old date and place the new date as well. Here is my code below:
Dim myDate As Variant
myDate = Date
!! = "Date of Notification From Mitch " & myDate & "; "
The above code places my...
|
by: =?Utf-8?B?RGFuaWVs?= |
last post by:
Hi,
I have a winform client which consumes a WCF service. I have a single
service client(proxy) at the winform side, but spread the service calls into
multiple threads so that they can do works concurrently. My confusion is, as
all threads share the same proxy, will one thread block another while calling
a long running service? Is this related to the service concurrent
configuration?
Thanks.
|
by: mrudulav |
last post by:
Hi
I am using Mysql 4.0.18 and executing concurrent insert statement.
I am executing this statement in the loop. For first few interation the perofrmace is quite good, the query executes in almost 5 to 6 second (Records being fetched and inserted are near about 80000 to 1,00,000).
But as the no of iterations go on the execution time also increases. It goes upto 2 - 3 mins for a single query?
Can anyone tell me if I'm doing anything...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |