I need to store about 100 thousand objects representing users. These users have a username, age, gender, city and country.
Users should be available for searching by age and any other attributes, but also by a combination of attributes (for example, women from 30 to 35 from Brussels). Results should be found quickly, as this is one of the server services for many connected Clients). Users can be deleted or added, but not updated.
I was thinking of a fast database with indexed attributes (e.g. h2 db, which seems pretty fast, and I saw that they have a mode in memory)
I was wondering if any other option is possible before moving on to the database.
Thanks for any ideas!
source
share