Question : Suggestion to store a huge amount of data sortable

Hi,

I need to store maximim 100.000 users in an application. Each user has an age, gender, city, country, username (unique).

The problem is that I should be able to access those users by specifying a range of age, city, gender and country (it's a search function), in a fast way (because this is a Client request in a Client-Server NIO environment application. The Server responses must be fast to process all Client's requests).

The other problem to take into consideration is that a user may need to be deleted (disconnect)  based on their username, or added (connect) with all the information.

I need ideas.
Thank you

Answer : Suggestion to store a huge amount of data sortable

To get the fastest possible performance, you'll need to be very specific on how the user is allowed to search. Otherwise a db with appropriate indexes would be the way. The former is the only way you could make it worth 'reinventing' the latter
Random Solutions  
 
programming4us programming4us