Replies: 1 comment
-
|
We cannot really answer this question as it's more a consultancy than a support-related one. If you're seeking specific guidance, we can connect you to one of our partners to help with this on a consultancy basis. Feel free to contact us for more details. That said, I can share my personal thoughts: I wouldn't recommend storing sessions and tokens through an API simply because of the additional overhead it would introduce per call. Sharing a single database or provisioning a database per application seems both viable, as long as you ensure proper schema separation and security when going for a single database option. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We are migrating our first SPA into BFF. One of the point of discussion is how we will persist the session and tokens. We've decided to store it in a postgres database but is now conflicted on how to structure this per project. Can you guys share your thoughts?
The first option probably the most straightforward but is getting some push back regarding the need to provision a dedicated db for each application. Option 2 is a compromise to only use a single DB. Option 3 will generate some latency and also end up using a single Db but we don't expect a high volume of sessions (<10,000) so I'm trying to simulate if this is feasible.
Beta Was this translation helpful? Give feedback.
All reactions