Hi guys,
so I ran into an issue, which I knew, was coming one day.
I have a community application where I have a table for registered frontend users.
I have stored all sorts of attributes in this table and we have fairly some users in that.
The software contains a search to search for other frontend users by various params like gender, age, country, language and more.
The problem I have is, it is the same table as the authentication table or where the users store their settings so I run into performance issues when we have high load.
I was thinking so far to copy the relevant data into another table and keep the two tables in sync using observers.
Has anyone solved such an issue in an elegant way? Any thoughts on this approach?
I was looking into switching to another DB but unfortunately there are external apps consuming this API so I have to return proper paginations. This makes it difficult to use DynamoDB or MongoDB for that.
Any thoughts / inputs are appreciated