I want to build a Node.js MVC app. My data is stored in dynamoDB. I'm looking for a suitable framework for this. I'm mainly debating between:
I prefer to have associations support between models so that I'll not need to implement it myself in my code. Can anybody advise what are the props and cons of both options? Can i do with the second option everything I can do in the first option but with less code? Any other recommendations?
Firstly, this is very opinion based question. So, I would just give my opinion. This does not mean one is far better than the other.
I have used Vogels for some use cases. I have found it very useful. Some of the advantages of Vogels are:-
1) Parallel scans - Helps to improve performance which developers would most likely come across at some point of the project especially if you are going to maintain millions of records in DynamoDB
2) Supports both global and local secondary indexes - Based on the query pattern, the application would most likely require index on tables. So this feature is very helpful
3) Data type and validation support using Joi (Joi Link)
4) Automatic addition of audit timestamp fields such as updatedAt, createdAt
5) Automatic key value generation in UUID format
6) Chainable API for query and scan operations - You can chain multiple filter conditions with limit option for pagination and sort the results as well
7) Load multiple models with in a single request (Batch get items feature)
8) Basic streaming api
9) Some good sample codes for many features which is very important for developers