473,624 Members | 2,191 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What can I do to replicate files among load balanced servers?

I am building an web application that will be hosted on load balanced servers
(multiple front and one backen db). The application will have to allow users
to upload files onto the server. For performance reasons, I do not want to
store binary files in the db (cuz there will be frequently retrieved and
stored and many will be within the range of 10 MB - powerpoint slides and pdf
files) so uploaded files will have to stay on the front end web server. The
problem with this approach is that there will have to be some mechanism that
replicates the files automatically among the front end servers. Can someone
shed some light on what the best apporach is to my problem? I am wondering
whether Windows 2000 has such service available to do file replication (if
so, how?)

Thanks in advance for your help. Any comment is greatly appreicated.

Samuel
Jul 19 '05 #1
4 3647
"Samuel" <pr********@asp pg.net> wrote in message
news:C3******** *************** ***********@mic rosoft.com...
I am building an web application that will be hosted on load balanced
servers
(multiple front and one backen db). The application will have to allow
users
to upload files onto the server. For performance reasons, I do not want to
store binary files in the db (cuz there will be frequently retrieved and
stored and many will be within the range of 10 MB - powerpoint slides and
pdf
files) so uploaded files will have to stay on the front end web server.
The
problem with this approach is that there will have to be some mechanism
that
replicates the files automatically among the front end servers. Can
someone
shed some light on what the best apporach is to my problem? I am wondering
whether Windows 2000 has such service available to do file replication (if
so, how?)

Thanks in advance for your help. Any comment is greatly appreicated.


Here's one way:
http://support.microsoft.com/default...b;en-us;311398

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com
Jul 19 '05 #2
What is the overall goal ?

For now I would just consider this as "data" and would do the same than for
the DB i.e. storing those documents at a single location...

You can easily create virtual directories that would point to this single
location. You could also use a share outside of your web site making the
documents only available through dynamic pages...

Patrice

--

"Samuel" <pr********@asp pg.net> a écrit dans le message de
news:C3******** *************** ***********@mic rosoft.com...
I am building an web application that will be hosted on load balanced servers (multiple front and one backen db). The application will have to allow users to upload files onto the server. For performance reasons, I do not want to
store binary files in the db (cuz there will be frequently retrieved and
stored and many will be within the range of 10 MB - powerpoint slides and pdf files) so uploaded files will have to stay on the front end web server. The problem with this approach is that there will have to be some mechanism that replicates the files automatically among the front end servers. Can someone shed some light on what the best apporach is to my problem? I am wondering
whether Windows 2000 has such service available to do file replication (if
so, how?)

Thanks in advance for your help. Any comment is greatly appreicated.

Samuel

Jul 19 '05 #3
1) You could just create a network share (file sharing). You can then access
to this location using the UNC notation \\server\sharen ame in your web
application (assuming of course you granted the apppropriate rights).

The benefit is those files are not at location that is accessible from
Internet. Users wi'll have to pass through a page to download files...

2) It could. Factors to weight :
- the LAN is generally fast (you could have a 100 Mb), faster anyway than
sending documents to web clients
- what is the expected traffic (frequency of downloads, size of documents)
- your application could "cache" locally some documents

I'm not an expert but AFAIK :
- DFS allows to distribute files accross servers, this way you could
statistically win the document is on the current server but still be in the
same situation when the document is stored at a distant location (even
though you don't have explictely to take care of this).
- Replication would be IMO a bit more problematic. AFAIK you have a master
server on which you must put all documents. They are then replicated at
various other location. I'm a bit wondering also about what happens if you
store a document and want to download it before the replication occured.

On the whole, I just wanted to stress that there is multiple solutions
depending on various factors. I just wanted to say that IMO the "store at a
single location" would be likely the simplest and the first to consider. If
you can configure the location for files, the app won't care it it's a
single server or a local location where files are replicated. it could be
quite easy to use a simple solution first and move as there is an
indentified need for a more sophisticated solution.

Patrice

--

"Samuel" <pr********@asp pg.net> a écrit dans le message de
news:4F******** *************** ***********@mic rosoft.com...
Hi Patrice,

While I find Tom's solution should fill the bill, your suggestion is very
interesting to me also.

I am just wondering the following:

1) I understand how virtual directory works, but not too sure about
shares... can you fill me in with a bit more details?

2) Doesn't storing files in a central location stress the LAN because files would have to travel on the LAN before being sent out to the client?

Thanks!

"Patrice" wrote:
What is the overall goal ?

For now I would just consider this as "data" and would do the same than for the DB i.e. storing those documents at a single location...

You can easily create virtual directories that would point to this single location. You could also use a share outside of your web site making the
documents only available through dynamic pages...

Patrice

--

"Samuel" <pr********@asp pg.net> a écrit dans le message de
news:C3******** *************** ***********@mic rosoft.com...
I am building an web application that will be hosted on load balanced

servers
(multiple front and one backen db). The application will have to allow

users
to upload files onto the server. For performance reasons, I do not want to store binary files in the db (cuz there will be frequently retrieved and stored and many will be within the range of 10 MB - powerpoint slides and
pdf
files) so uploaded files will have to stay on the front end web
server. The
problem with this approach is that there will have to be some
mechanism that
replicates the files automatically among the front end servers. Can

someone
shed some light on what the best apporach is to my problem? I am

wondering whether Windows 2000 has such service available to do file replication (if so, how?)

Thanks in advance for your help. Any comment is greatly appreicated.

Samuel


Jul 19 '05 #4
Hi Patrice,

While I find Tom's solution should fill the bill, your suggestion is very
interesting to me also.

I am just wondering the following:

1) I understand how virtual directory works, but not too sure about
shares... can you fill me in with a bit more details?

2) Doesn't storing files in a central location stress the LAN because files
would have to travel on the LAN before being sent out to the client?

Thanks!

"Patrice" wrote:
What is the overall goal ?

For now I would just consider this as "data" and would do the same than for
the DB i.e. storing those documents at a single location...

You can easily create virtual directories that would point to this single
location. You could also use a share outside of your web site making the
documents only available through dynamic pages...

Patrice

--

"Samuel" <pr********@asp pg.net> a écrit dans le message de
news:C3******** *************** ***********@mic rosoft.com...
I am building an web application that will be hosted on load balanced

servers
(multiple front and one backen db). The application will have to allow

users
to upload files onto the server. For performance reasons, I do not want to
store binary files in the db (cuz there will be frequently retrieved and
stored and many will be within the range of 10 MB - powerpoint slides and

pdf
files) so uploaded files will have to stay on the front end web server.

The
problem with this approach is that there will have to be some mechanism

that
replicates the files automatically among the front end servers. Can

someone
shed some light on what the best apporach is to my problem? I am wondering
whether Windows 2000 has such service available to do file replication (if
so, how?)

Thanks in advance for your help. Any comment is greatly appreicated.

Samuel


Jul 19 '05 #5

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

Similar topics

4
2970
by: | last post by:
both of 2 servers are MySQL. how can I replicate a database to one server from another? until now I zip the database folder and I extract the zip file in other MySQL server. But now I haven't permission to do this in Linux, instead I have admin permision in MySQL.
2
2045
by: billym | last post by:
Does anyone know if C# (or .NET applications in general) can be load balanced on the middle tier simply by deploying them to multiple servers in a clustered environtment? If so, would this be something supported by the Framework, MSCS, or a third party solution such as Local Director? Also, if it can be done are their coding caveats that must be adhered to?
6
3236
by: Stephen | last post by:
Hi All! This really is a file permissions problem ... although I'm not sure how to solve it. Any assistance would be greatly appreciated. I have a series of load balanced servers. Each of the servers is arranged exactly the same and handles file uploads from users as follows: 1) User submits file to www1 server
0
1540
by: HK | last post by:
I'm wanting to get rid of a hardware load balancer and just use the Windows 2003 software load balancing with 2003 Server Web Edition. I'm wondering if anyone here uploads ASP.NET code to 2 or more servers that are load balanced by Windows Server Network Load Balancing (software load balancing on Windows 2003). If so, or if you're sure of the answer anyway for windows-based load balancing, here's the questions: Can you do just one...
2
1123
by: Tim Barton | last post by:
Hi, I'm building an application that will probably sit on some load balanced servers at some point and I'm concerned about keeping configuration settings in the web.config file. Is there a tried and tested method of holding config information in static classes or in the cache that someone could point me to? Cheers, Tim.
3
1418
by: alainpoint | last post by:
I know Google are using Python for testing purposes. But for the rest ? is it PHP or Java or .NET? Which technology is rendering the google main page? And of course th obvious question, why not Python? Alain
0
1352
by: ors.public.email | last post by:
Hi, My company has recently experienced an issue when posting back aspx pages across multiple servers that were being load balanced. In a nutshell, the problem involved initially loading the page on server A, then posting it back to server B (because of the load balancer). Occasionally, server B would fail to recognize the postback event and load the page as if we're dealing with a GET request, thus losing all the form data. Our...
2
2738
by: =?Utf-8?B?Q2hyaXM=?= | last post by:
My employer has need to setup a Load Balanced Web Farm for some mission critical ASP.NET Web Services and I was wondering if the only way to accomplish this was to purchase Microsoft's ISA Server 2006 since that's the only reference I have found on Microsoft's site in regards to this requirement. Thanks, Chris
2
1658
by: Robin9876 | last post by:
When created a Session State database from Asp.Net v2 that is to be used by a web site that is on servers that are windows load balanced. Does any other configuration changes need to be made to allow the session state to be used across the multiple web servers?
0
8677
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, 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...
1
8335
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,...
0
8474
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 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...
1
6110
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 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...
0
4079
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2605
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1482
bsmnconsultancy
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...

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.