My design is like this: multiple Data instances, and each Data holds a RandomAccessFile object, so when multiple clients access the database, every Data instance will create a file pointer. I have read some posts, it seems that this is not a good aproach because the operating system may not allow you to open so many files. I have tried to create 3000 threads in Windows 2000, each thread update one record, it seems no problem for me. I just wonder, under normal situation, there won't be more than 1000 clients using the software at the same time, so is this aproach really so dangerous and may lead to fail? Is there anyone pass the exam with this kind of aproach? [ January 16, 2004: Message edited by: Jonathan Liu ]
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads