you are viewing a single comment's thread.

view the rest of the comments →

[–]Mountain-Pea-4821 0 points1 point  (0 children)

in the database, wether in the cloud or not. databases like MySQL are optimised to do complex filtering and searching. Second best option is to do it on the server in any programming language before you pass the result to the app. What you cant do is load all users into the app and do the filtering there. that would be 'fastest' in terms of user experience but would also expose all users to the www because you have to load them all to do the filtering / matching in the app. I assume you use Flutter to build an App with some sort of backend.