• Post Reply Bookmark Topic Watch Topic
  • New Topic

NX: Is this that bad?  RSS feed

Jonathan Liu
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!