Sam
06/04/2024, 4:23 PMJason Bosco
06/04/2024, 4:28 PMJason Bosco
06/04/2024, 4:28 PMas I assume I'll need to have a VM with 64gb of ram for each instance.That's correct
Jason Bosco
06/04/2024, 4:29 PMSam
06/04/2024, 4:50 PMJason Bosco
06/04/2024, 4:53 PMJason Bosco
06/04/2024, 4:54 PMSam
06/06/2024, 6:20 PMSam
06/06/2024, 6:23 PMJason Bosco
06/06/2024, 8:39 PMbut perhaps it would be better to do this as a Promise.all with the three seperated queries as Im more likely to get cache hits that wayYeah, from a caching perspective, you might want to separate the query for each ingredient in a separate single-search request, instead of using multi-search.
Jason Bosco
06/06/2024, 8:41 PMSam
06/07/2024, 1:18 PMSam
06/07/2024, 1:19 PMSam
06/07/2024, 1:21 PMYeah, from a caching perspective, you might want to separate the query for each ingredient in a separate single-search request, instead of using multi-search. (edited)I guess the catch is say if I'm searching for ["red wine", "spagetti", "coke"] and I do a federated search Im making one request vs three if it I do it in single requests but I guess this is still probably better if I gain better cdn caching and I can paralyse the requests to the typesense server
Sam
06/07/2024, 1:21 PM