473,395 Members | 1,539 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Need help with Web Services / ASP.NET 2.0

I have a working Web Service that runs on .NET 2.0 Framework.

Just for tracking purposes, I log a reference in SQL Server whenever an
instance fires up.

I have a Window Service that launches multiple instances of the Web
Service in Async mode.

As I move forward in testing, I slowly increase the depth and expand.

The problem I've run into is regardless of how many instances I tell it
to launch, it caps at 2. When those 2 shut down, 2 more fire up on the
next revolution of the engine cycle.

This might be a Web Server setting, or a web.config profile I'm not
familiar with. I searched around newsgroups and the web, but I feel
it's a unique setting and haven't had any luck.

How do you allow more than 2 instances?

Dec 22 '05 #1
2 891
Well, I've run across this now..

Here is a quotation from HTTP/1.1 spec
(chapter "8.1.4 Practical Considerations"):

"...Clients that use persistent connections SHOULD limit the number of
simultaneous connections that they maintain to a given server. A
single-user client SHOULD NOT maintain more than 2 connections with
any server or proxy. A proxy SHOULD use up to 2*N connections to
another server or proxy, where N is the number of simultaneously
active users. These guidelines are intended to improve HTTP response
times and avoid congestion."

I'm not sure if things have changed since that original spec though,
considering the design and technology and the way we've moved forward
in the past few years. An alternative would be to install multiple
instances of the Web Service and then handle the Queue process for
which ones to call, if others are already running.

Still trying to find a way to run more than 2 concurrent sessions with
just 1 Application, because if you run 2 separate Applications you can
run up to 4 concurrent instances.

Dec 22 '05 #2
Found a solution, maybe.. more info can be found at the blog at
http://blogs.msdn.com/darrenj/archiv...07/386655.aspx

Dec 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Neven Klofutar | last post by:
Hi, I need some advice about a project I'm working on ... I have a form (create.aspx) containing a HTML Button with JavaScript (window.open('select.aspx')) attached to it. Form select.aspx is...
4
by: Saket Mundra | last post by:
I am designing a web application to offer services to customers. In form1 I have listed all the services available using CheckBoxlist control. I have a different webform for customization of each...
12
by: Noel | last post by:
Hello, I'm currently developing a web service that retrieves data from an employee table. I would like to send and retrieve a custom employee class to/from the webservice. I have currently coded...
1
by: jens Jensen | last post by:
Hello , i'm calling a webservice generated with oracle webservice java tools. I'm not able to add a web reference to a .net client the usual way with visual studio 2005. I was therefore...
4
by: Chris | last post by:
I don't know if it's me or .net is just getting more complicated. I am trying to call a sp and pass a parameter and return the data using VB2005. First I couldn't find any docs with samples. Second...
9
by: Brian Hampson | last post by:
I am trying to determine all the groups which the current user has permissions to add a member. Here's my code: foreach (System.DirectoryServices.SearchResult ADSearchres in...
0
by: Chuck36963 | last post by:
Hi all, I've been working on a listing problem and I can't figure out how to work it out. I have looked far and wide on the web to find answers, but I'd like other peoples input on my project in...
11
by: cj | last post by:
I have used web services before WSDL files and such but never written one. I need some basic starting info. 1. Can I write a web service in a windows app? or are all web services asp web...
7
by: cj | last post by:
I need to write a web service--actually several. The data these web services return will come mostly from odbc data sources. Also I'd like to make this a web application as opposed to a windows...
1
by: dizzy | last post by:
My client application will have a set of varying business functions. These functions will be fullfiled via various 3rd party services (i.e. web services, http post/get, remote data access or socket...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.