473,395 Members | 1,978 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.

Scale out

I have a dotnet application that allows users to upload images. These
images are stored in separate folders like this:

E:\images\{first 2 letters of user ID}\{3rd and 4th letter of user ID}\{user
ID}\user-image.gif

This is to prevent overloading of too many files in one particular
directory.

Now, suppose the hard drive maxes out later on and instead of adding more
drive to the same machine I want to spread the data across multiple servers.
For a user to access their image it's no big deal, because I can just set a
DNS entry for http://{first 2 letters of user ID}.domain.com and point to
the proper server.

The problem comes in integrating all of these servers together so that they
still appear under E:\images\ so that the dotnet application can still
handle all of the user uploads/edits/deletes.

I've thought of running Apache web servers, using NFS to bind them all
together, then use Samba to link to the E drive. Not sure if this is the
best way though.

What are your suggestions?
Jul 21 '05 #1
2 1288

"Shabam" <bl******@hotmail.com> wrote in message
news:WK********************@adelphia.com...
I have a dotnet application that allows users to upload images. These
images are stored in separate folders like this:

E:\images\{first 2 letters of user ID}\{3rd and 4th letter of user
ID}\{user
ID}\user-image.gif

This is to prevent overloading of too many files in one particular
directory.

Now, suppose the hard drive maxes out later on and instead of adding more
drive to the same machine I want to spread the data across multiple
servers.
For a user to access their image it's no big deal, because I can just set
a
DNS entry for http://{first 2 letters of user ID}.domain.com and point to
the proper server.

The problem comes in integrating all of these servers together so that
they
still appear under E:\images\ so that the dotnet application can still
handle all of the user uploads/edits/deletes.


You can just let IIS knit them all together. Create a virtual directory
called Images, to the root of your local images folder.

Right-click i there in the IIS admin tool and add a new virtual directory,
called whatever and point it to a share on a remote computer. Now you can
user url's or Server.MapPath to get to all the images on all the computers.

Also, you can always add more storage later.

David
Jul 21 '05 #2
> You can just let IIS knit them all together. Create a virtual directory
called Images, to the root of your local images folder.

Right-click i there in the IIS admin tool and add a new virtual directory,
called whatever and point it to a share on a remote computer. Now you can
user url's or Server.MapPath to get to all the images on all the computers.
Also, you can always add more storage later.


What if I wanted to use Apache web server to store those image servers
instead? What are the recommendations?
Jul 21 '05 #3

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

Similar topics

2
by: John Fouhy | last post by:
So I've got a horizontal scale widget in my GUI. When I click the mouse in the area to the right of the GUI, the scale advances by 1. 13 +-------------------------+ |<| X |>|...
36
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but...
4
by: codecraig | last post by:
Hi, I am using Tkinter and I have a Label and a Scale. I want to update my label everytime the Scale value changes. What is the best way of doing this? Do i have to bind for every event type? ...
5
by: Guess | last post by:
The situation is as follows: 1. I would like to serve a web page that takes considerable time to process. 2. While the page is processing, the client displays an appropriate wait message. What...
3
by: John Bonds | last post by:
I'm looking for some sort of digital scale to integrate into .NET. Does anybody know of anything (like a postal scale) that attaches to USB, serial or whatever that comes with a DLL or an API...
3
by: Jay Patel | last post by:
Hello, I need to write visual basic.net code to interface with a Mettler Toledo Shipping Scale that interfaces with a PC via USB or a serial port. I have seen example code on how to communicate...
3
by: Jerry Spence1 | last post by:
A very useful feature was added in 2.0 of .NET framework which was the scaling of a form and all the controls within it. This is really useful but I am finding very little information of how to use...
0
by: TonyJ | last post by:
Hello! We have a pc running a form application. If I push some buttons in this application I want to send some commands to a scale which is connected to a specific IP address. When I sent a...
19
by: Matteo Migliore | last post by:
Hi! I've to scale a vector of numbers of size N to a vector of size M. The trasformation is like a zoom on images but I need on a vector. The second size can be M >= N or M <= N, M 0. The...
22
by: Jesse Burns | last post by:
I'm about to start working on my first large scale site (in my opinion) that will hopefully have 1000+ users a day. ok, this isn't on the google/facebook scale, but it's going to be have more hits...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...

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.