Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

efficiency of shared hash table

Status
Not open for further replies.

smsinger3

Programmer
Oct 5, 2000
192
US
Hello. I have a hash table that I share among all sessions of my website. What is the performance if I have many users trying to add and read information at the same time?
Will asp.net make all the other users wait or lock up in some way? I even added a class module that I use as an entry in this hash table. (I'm trying to pass things between modules and not use session variable or the database). Here's what my hash table looks like:

Type Info
department as long
division as long
userclass as clsUser 'Another class module I wrote
End type
Public Shared hshTable as New HashTable()

I then add the Info to the hshTable and use it in many modules.

Is this even a good idea?

Thanks for your help,

SteveS
sms@hmbnet.com


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top