I'm working on basic restaurant reservation system and was thinking about using Amazon DynamoDB for this project. That being said, I'm not even sure if DynamoDB is suitable for something like this or if I should stick to MySQL RDS since some of the queries may be quite complex.
Functionality I need:
User will submit a "Find Table" form with date, time and party size.
- Check
RESTAURANTtable if date and party size is even allowed. - Check
BLOCKEDtable for blocked dates (holidays and other closures) - Check
HOURStable making sure the restaurant is even open. - Check
TABLEINFOtable for a table based on party sizeANDcompare withRESERVATIONtable making sure the table is not already reserved for another guest during the same time
Any suggestions or tips on the DynamoDB database design especially hash & range use for something like this?
Or do you think MySQL database is better suited for this kind of app?
This is a quick DB design to give you better idea what I'm trying to do.
