473,405 Members | 2,349 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,405 software developers and data experts.

Implication of autogenerating web services to network drive

I am now working on a project where a requirement is the autogeneration of
web service (asmx) files that will be located on a network drive to be shared
by multiple load balanced web servers. I am wondering what the implications
are for concurrency issues if one web server in the farm generates the WSMX,
then another web server in the farm receives an initial request that causes a
compile of the WSMX and while the web service is being compiled, a third web
server makes a request to that same .asmx page. Sounds to me like we may
have problems but I am wondering what people think of this arrangement.
Aug 3 '06 #1
2 1305
What do you mean by auto-generation web-services?

If you have web-services on a shared network drive and want to use them
by multiple web servers for load balancing, I dont see any issue as the
individual we-server is going to parse and compile the pages/services
in thier own systems and placed in its own temposrary asp.net files
folders.

I would see concurrency issue, if you are uploading files to network
drive.

This is true as per my knowledge, if I'm worng, please engliten.

Thanks,
Ramu
Alex wrote:
I am now working on a project where a requirement is the autogeneration of
web service (asmx) files that will be located on a network drive to be shared
by multiple load balanced web servers. I am wondering what the implications
are for concurrency issues if one web server in the farm generates the WSMX,
then another web server in the farm receives an initial request that causes a
compile of the WSMX and while the web service is being compiled, a third web
server makes a request to that same .asmx page. Sounds to me like we may
have problems but I am wondering what people think of this arrangement.
Aug 3 '06 #2
The web-service would provide an interface to working with objects that users
can change on the fly. So for example, a person object would have first name
last name and its web service would expose a modifyperson method that would
take first name and last name. The user could choose to add SSN to the
object and we would then auto-generate the ASMX file to now accept SSN as a
paramter to the modifyperson method. We would control the write portion to
insure there was no concurrency conflict there.

What I am concerned about is what happens when the assembly is first
compiled. I was under the impression that .net 2.0 would first create an
assembly in the same directory as the files and then read it into memory on
the local machine. Does each machine get its own copy of the assembly in its
temp asp.net file folder?

Thanks,
Alex

"Ramu" wrote:
What do you mean by auto-generation web-services?

If you have web-services on a shared network drive and want to use them
by multiple web servers for load balancing, I dont see any issue as the
individual we-server is going to parse and compile the pages/services
in thier own systems and placed in its own temposrary asp.net files
folders.

I would see concurrency issue, if you are uploading files to network
drive.

This is true as per my knowledge, if I'm worng, please engliten.

Thanks,
Ramu
Alex wrote:
I am now working on a project where a requirement is the autogeneration of
web service (asmx) files that will be located on a network drive to be shared
by multiple load balanced web servers. I am wondering what the implications
are for concurrency issues if one web server in the farm generates the WSMX,
then another web server in the farm receives an initial request that causes a
compile of the WSMX and while the web service is being compiled, a third web
server makes a request to that same .asmx page. Sounds to me like we may
have problems but I am wondering what people think of this arrangement.

Aug 3 '06 #3

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

Similar topics

3
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore...
1
by: Razor Works via .NET 247 | last post by:
I have got a windows service installed through installutil in C#.I have change the login settings from localsystems todomain/user. The user can access the network resources with noproblems but if the...
2
by: giloosh99 | last post by:
Hello, Im grabbing tables via VB code using visual foxpro ODBC drives. The tables directory is in a mapped network drive. The code works fine and does the job, however if the computer is idle for...
5
by: Niloday | last post by:
Hi All, I am trying to access a mapped network drive from a service that I have created. The service needs to create/delete folders/files on a network drive. When I tried to connect to a...
1
by: brian.oneil2 | last post by:
Is there a way to install this onto a network file share and allow a team to access it? I would say share a CD from a networked CD drive, but there are multiple CD's that would have to be inserted....
8
by: Lam | last post by:
HI anyone knows how can I open a mapped network file in C#? I try string file = @"T:\file.txt"; it shows me the error: "Could not find a part of the path" but if I copy the file to my C dirve,...
5
by: Nirosh | last post by:
Hi All, Can any one suggest me a best way to do this .. I have a thrid party tool "EXE" that we need to use with our web service to manipulate some complex XML files, which reside in a...
17
by: djmob | last post by:
I am very new to .NET and Windows programming in general so please bare with me... I created a Windows service by deriving a class from ServiceBase and installing it via the 'sc create' ...
3
by: Barry Flynn | last post by:
Hi I am working with a VB 2005 program which has been converted from VB6. It writes data out to a flat file, with code like the following line WriteLine(riFileNo, "Hist", lsAssetID,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
Oralloy
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,...
0
jinu1996
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...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
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...

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.