473,399 Members | 3,106 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,399 software developers and data experts.

Scalability of image folder

I have a dotnet application and it allows users to store images. These
images are partitioned by directories so as to prevent overflow of files in
any specific folder.

However, for scalability reasons I have 2 questions:

1)
How can I increase disk space infinitely as the need arises, without
changing the path structure? Are there solutions that will allow me to pile
on more servers and the total disk space would be recognized and the data
spread out? Or would I need to map more and more directories onto different
servers?

2)
These images will be accessed via the web. I'd like each hit to go directly
to the correct image server, rather than routing through the mapped drive,
through the main server. What are some methods to get this done?

Nov 22 '05 #1
2 1404
Shabam,
Some observations for ur questions
For 1. I think what you really need is a set of storage servers, each
storing a set of directories.
For 2. This totally depends on you application. You can actually go for a
custom web-farm, where each request is first monitored by an initial mapper,
and once a matching server is found, you direct all requests to that server.
For example, suppose you are storing images from user A ( don't know your
business logic, but this is just an example anyway) to Server 25, the same
application being installed on all servers. When the user logs in, you
expose him to the same web-application running from Server25. A second and
more manageable apporach would be, to have an index on the main server,
which has the address of the net share of all image folders on the storage
network. I think you should read about SANs.

Regards,
--
http://dotnetjunkies.com/weblog/dotnut
"Shabam" <ch*****@yomama-nospam.com> wrote in message
news:-c********************@adelphia.com...
I have a dotnet application and it allows users to store images. These
images are partitioned by directories so as to prevent overflow of files in any specific folder.

However, for scalability reasons I have 2 questions:

1)
How can I increase disk space infinitely as the need arises, without
changing the path structure? Are there solutions that will allow me to pile on more servers and the total disk space would be recognized and the data
spread out? Or would I need to map more and more directories onto different servers?

2)


Nov 22 '05 #2
1) You could look into a SAN. Or write some code that would keep track of
which images were on which servers/directories. Or use virtual directories
to point to image locations (e.g. /images/a points to storage server 1 while
images/b points to storage server 2), so you can always change the virtual
directory to point to bigger & bigger storage servers. BTW infinite disk
space can add up to a lot of money.
2) You can use load balancing to spread hits across various image servers
that cache a subset of the images on their local hard drives. Or use a SAN.
Or, don't worry about it initially & let the web servers cache the most
popular images from the network share.

--
Ben Strackany
www.developmentnow.com
"Shabam" <ch*****@yomama-nospam.com> wrote in message
news:-c********************@adelphia.com...
I have a dotnet application and it allows users to store images. These
images are partitioned by directories so as to prevent overflow of files in any specific folder.

However, for scalability reasons I have 2 questions:

1)
How can I increase disk space infinitely as the need arises, without
changing the path structure? Are there solutions that will allow me to pile on more servers and the total disk space would be recognized and the data
spread out? Or would I need to map more and more directories onto different servers?

2)
These images will be accessed via the web. I'd like each hit to go directly to the correct image server, rather than routing through the mapped drive,
through the main server. What are some methods to get this done?

Nov 22 '05 #3

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

Similar topics

2
by: Shabam | last post by:
I have a dotnet application and it allows users to store images. These images are partitioned by directories so as to prevent overflow of files in any specific folder. However, for scalability...
1
by: Manish Songar via .NET 247 | last post by:
(Type your message here) I am using asp.net. I am not storing image in sql server.I store all the image in one folder. I want to access image from that folder to my client machine. Images folder...
1
by: Manish Songar via .NET 247 | last post by:
I am using asp.net. I am not storing image in sql server.I store all the image in one folder. I want to access image from that folder to my client machine. Images folder (\Orchid_Image) store in...
5
by: jcrouse | last post by:
I saw an article, once, on how to package image file in the installer so they are not accessible to the end user. I want to say hidden, but I don't just mean the file attribute of the image file....
3
by: Thomas Satzinger | last post by:
Hallo., i just encounterd a strange thing which i cannot resolve. I am saving a bitmap created in memory to the asp temp folder (asp.net 2.0) this works fine, and i don´t want to create an...
2
by: John Austin | last post by:
I thought I would experiment for the first time with an Image standard control in VS 2005. I pressed create web site, I copied a jpg into the App_Data folder, added an image control to Default.aspx...
1
by: antony | last post by:
It run w/o error but no image appears. Please help me. Here si the code I do " <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page...
1
by: Sunshine192 | last post by:
Hi, I'm still kinda new to PHP so I could do with some advice. I'm using the code below to select and show a random image from a folder of images. rotate.php <?php // Make this the relative...
0
by: aris1234 | last post by:
hello.. How to upload image file in page update ..?? i have logic like this : if user upload new image then old image must delete and update DB used new name if user not upload new image then...
0
parshupooja
by: parshupooja | last post by:
Contact Reply 1 point Member propoo Joined on 08-31-2007, 10:32 PM Posts 3 Hey all ,
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: 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
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:
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...
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...
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,...

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.