What are the best practices of scaling small scale webservices in AWS?
I’ve deployed an entreprise app in AWS, in the first time i was hosting it in t2.micro, the app is intensivily used in 15 minutes a day, with some light queries in work hours during the day, after performance problems (server went down for not enough RAM) during the 15 minutes operation i’ve upgraded EC2 and RDS to c1.medium. but this choice is not cost effective.
Best architecture for .NET + REACT in AWS?
I am building a web application with React + .NET Web API + SQL Server. I want to host them on AWS but i’ am confused about how to do it. From my research I have these options:
Is DynamoDB optimistic locking with one version attribute for each field in an item a valid design pattern?
It’s common to implement optimistic concurrency control in DynamoDB by giving each item in the database a top-level “version” attribute and only allowing an update of an item to succeed if the current version matches the expected version (see https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBMapper.OptimisticLocking.html).