ResourceList Filter Example needed with actual data that works with GraphQL

This is pretty simple if all you are doing is loading data in memory and filtering on it. What if you say have a list of 20000 customers and want to filter the gql query every time new filters are submitted?