![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In a web farm environment, how to store the user uploading files for future access? Store them in db, local file system or centralized file server? If trying to storing the file in local file system or centralized file server, how the web server receives the uploading file and sync to each web server's local file system? or the centralized file server? Should I create only one folder or lots of subfolders to organize the file structure for better access from file system? |
#3
| |||
| |||
|
|
Depends on what you want to do with the files and what they represent. Since you haven't said, ASP.NET uploads files into server memory, buffers it and then writes it to disk in the simplest case. Where you choose to store it depends on how frequently you want to access it and the responsiveness you want from the application, among other things. -- -- Regards, Alvin Bruney [MVP ASP.NET] [Shameless Author plug] The O.W.C. Black Book, 2nd Edition Exclusively on www.lulu.com/owc $19.99 "Redhairs" <redhair@u.s.a> wrote in message news:#GHoU4jTIHA.5788 (AT) TK2MSFTNGP06 (DOT) phx.gbl... In a web farm environment, how to store the user uploading files for future access? Store them in db, local file system or centralized file server? If trying to storing the file in local file system or centralized file server, how the web server receives the uploading file and sync to each web server's local file system? or the centralized file server? Should I create only one folder or lots of subfolders to organize the file structure for better access from file system? |
#4
| |||
| |||
|
|
In a web farm environment, how to store the user uploading files for future access? Store them in db, local file system or centralized file server? If trying to storing the file in local file system or centralized file server, how the web server receives the uploading file and sync to each web server's local file system? or the centralized file server? Should I create only one folder or lots of subfolders to organize the file structure for better access from file system? |
#5
| |||
| |||
|
|
In solutions that I've designed that have this as a requirement, I've typically used Network Attached Storage. In most cases, all the servers in the web farm are on the same gigabit network segment, and the NAS (which is usually multi-homed) sits on that same segment. In most cases, storing files in the database will lead to long term problems. As amazing as current databases are, they're still not file systems... -- Chris Mullins "Redhairs" <redhair@u.s.a> wrote in message news:%23GHoU4jTIHA.5788 (AT) TK2MSFTNGP06 (DOT) phx.gbl... In a web farm environment, how to store the user uploading files for future access? Store them in db, local file system or centralized file server? If trying to storing the file in local file system or centralized file server, how the web server receives the uploading file and sync to each web server's local file system? or the centralized file server? Should I create only one folder or lots of subfolders to organize the file structure for better access from file system? |
#6
| |||
| |||
|
|
In solutions that I've designed that have this as a requirement, I've typically used Network Attached Storage. In most cases, all the servers in the web farm are on the same gigabit network segment, and the NAS (which is usually multi-homed) sits on that same segment. In most cases, storing files in the database will lead to long term problems. As amazing as current databases are, they're still not file systems... -- Chris Mullins "Redhairs" <redhair@u.s.a> wrote in message news:%23GHoU4jTIHA.5788 (AT) TK2MSFTNGP06 (DOT) phx.gbl... In a web farm environment, how to store the user uploading files for future access? Store them in db, local file system or centralized file server? If trying to storing the file in local file system or centralized file server, how the web server receives the uploading file and sync to each web server's local file system? or the centralized file server? Should I create only one folder or lots of subfolders to organize the file structure for better access from file system? |
#7
| |||
| |||
|
|
Chris, What type of long term problems? Can you share please I store images in a database. Thank You, LVP "Chris Mullins [MVP - C#]" <cmullins (AT) yahoo (DOT) com> wrote in message news:%23pCiTsmTIHA.1208 (AT) TK2MSFTNGP03 (DOT) phx.gbl... In solutions that I've designed that have this as a requirement, I've typically used Network Attached Storage. In most cases, all the servers in the web farm are on the same gigabit network segment, and the NAS (which is usually multi-homed) sits on that same segment. In most cases, storing files in the database will lead to long term problems. As amazing as current databases are, they're still not file systems... -- Chris Mullins "Redhairs" <redhair@u.s.a> wrote in message news:%23GHoU4jTIHA.5788 (AT) TK2MSFTNGP06 (DOT) phx.gbl... In a web farm environment, how to store the user uploading files for future access? Store them in db, local file system or centralized file server? If trying to storing the file in local file system or centralized file server, how the web server receives the uploading file and sync to each web server's local file system? or the centralized file server? Should I create only one folder or lots of subfolders to organize the file structure for better access from file system? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |