CredComSoc / CreditCoopTech

Credit Coop Tech
Mozilla Public License 2.0
1 stars 1 forks source link

Switch to Structured Database #32

Open EugeneJoe opened 1 year ago

EugeneJoe commented 1 year ago

I've had an initial look at the app and it seems the data is fairly consistently structured. So I don't think we actually get any benefit from using MongoDB over a structured database. Perhaps we should consider switching to a structured database for better performance?

EugeneJoe commented 1 year ago

@utunga thoughts on this?

utunga commented 1 year ago

You could argue that that might have been better to use a structured rdbms.. but at this point it's not really that important.. we.won't see significant (or even noticeable) performance improvements from switching and it would be a non trivial amount of work to change.

Structuring the app so that it retains context/state browser side in a more streamlined way and using events to update that data only when needed would on the other hand have a huge effect on performance and be a similar amount of work to refactor.