Click here to Skip to main content
15,916,378 members
Home / Discussions / C#
   

C#

 
Questionhi Pin
hamed02129-May-09 23:44
hamed02129-May-09 23:44 
Questionhi Pin
hamed02129-May-09 23:42
hamed02129-May-09 23:42 
Questionhi Pin
hamed02129-May-09 23:40
hamed02129-May-09 23:40 
AnswerRe: hi Pin
Anubhava Dimri29-May-09 23:42
Anubhava Dimri29-May-09 23:42 
AnswerRe: hi Pin
Hamed Musavi29-May-09 23:52
Hamed Musavi29-May-09 23:52 
AnswerRe: hi Pin
Mohammad Dayyan29-May-09 23:56
Mohammad Dayyan29-May-09 23:56 
Questionhi Pin
hamed02129-May-09 23:40
hamed02129-May-09 23:40 
QuestionUser-Informations on DB or in RAM? Pin
softwarejaeger29-May-09 22:48
softwarejaeger29-May-09 22:48 
Hello,

i have a little decision-problem Smile | :)
I create a new server-application which works together with client-applications. The Server-Application must manage the users, which are signed in and are online. So... how should i save this informations? Is it better to store it in the RAM (i make a List<onlineusers> where the Classes with the UserInformations are in there), or should i better save them in a DB, where i have the passwords and so on too? My Problem is, i don't know how many users will use this client-application! There could be 100 users or 10 000 users!

But this wouldn't be the problem, the big problem is, that this server only exchange user-informations, and so if i have maybe 10 000 users and a lot of users asking for informations about other users i could get in trouble if i have the data in the RAM (maybe not enough RAM?) and if i have it in a DB i have a very big HardDisk IO! The TCP-Connections at last i MUST store in the RAM of course, so anytime i need informations in the RAM about my Users...

So, has somebody any idea which technique i should use to get the best performance out of it?

Many Thanks Smile | :)
AnswerRe: User-Informations on DB or in RAM? Pin
Manas Bhardwaj29-May-09 23:30
professionalManas Bhardwaj29-May-09 23:30 
QuestionReceive emails using POP3 Pin
alisolution29-May-09 22:47
alisolution29-May-09 22:47 
AnswerRe: Receive emails using POP3 Pin
Nicholas Butler29-May-09 23:15
sitebuilderNicholas Butler29-May-09 23:15 
JokeRe: Receive emails using POP3 Pin
Mycroft Holmes30-May-09 0:11
professionalMycroft Holmes30-May-09 0:11 
QuestionHow to display a column value from database to label Pin
Mads11529-May-09 21:23
Mads11529-May-09 21:23 
AnswerRe: How to display a column value from database to label [modified] Pin
Prasanth MS29-May-09 21:56
Prasanth MS29-May-09 21:56 
GeneralRe: How to display a column value from database to label Pin
Mads11529-May-09 22:28
Mads11529-May-09 22:28 
Questionprint job Pin
hassannikoo29-May-09 21:13
hassannikoo29-May-09 21:13 
AnswerRe: print job Pin
I Believe In GOD30-May-09 5:26
I Believe In GOD30-May-09 5:26 
QuestionImage Encrypton Pin
saadtahir29-May-09 21:01
saadtahir29-May-09 21:01 
AnswerRe: Image Encrypton Pin
Manas Bhardwaj29-May-09 23:33
professionalManas Bhardwaj29-May-09 23:33 
GeneralRe: Image Encrypton Pin
saadtahir30-May-09 18:56
saadtahir30-May-09 18:56 
AnswerRe: Image Encrypton Pin
Rajesh R Subramanian30-May-09 0:19
professionalRajesh R Subramanian30-May-09 0:19 
QuestionIPC Pin
Hamed Musavi29-May-09 20:07
Hamed Musavi29-May-09 20:07 
AnswerRe: IPC Pin
Nicholas Butler29-May-09 23:21
sitebuilderNicholas Butler29-May-09 23:21 
GeneralRe: IPC Pin
Hamed Musavi29-May-09 23:32
Hamed Musavi29-May-09 23:32 
GeneralRe: IPC Pin
Hamed Musavi29-May-09 23:42
Hamed Musavi29-May-09 23:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.