Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We are using Windows 2008 (EC2) and have application that stores large number of subfolders in a specific folder (i.e. root/subfolder1, root/subfolder2, root/subfolder3 etc.)

We are expecting tens of millions of subfolders and the question of scalability arised. Do you have any idea if Windows 2008 will be able to handle this? What about performance, is there a magic line after which any folder operations (e.g. creating new subfolder, or looking up exisiting) will drastically slow down? Are there any hard numbers?

As an alternative we are considering converting that flat structure into a tree like

root/subfolder1_/subfolder1
root/subfolder1_/subfolder11
...
root/subfolder2_/subfolder2

What is your opinion on that?

share|improve this question
add comment

2 Answers 2

This will greatly depend on the disk subsystem. On a shared virtual machine host (like EC2) this will be very hard to predict because usage will be dynamic.

The best think I can suggest is to try it out and see what happens. Write a batch file or powershell script to create folders and measure the time it takes. See New-Item and see this article/code to get started making a timer. Once you've done that, you should be able to get a good feel for how its going to handle.

share|improve this answer
add comment

helpful?: http://msdn.microsoft.com/en-us/library/aa365247.aspx

"The Windows API has many functions that also have Unicode versions to permit an extended-length path for a maximum total path length of 32,767 characters."

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.