codeigniter - Twig templates on volatile environment (EC2) -
I have an elastic beenstal environment with EC 2 examples as they are unstable, so we have to store those files Can not trust
This is a codiguration app using Trig template system and users can edit template files. Currently these template files are stored in the file system (VPS).
When we move into elastic beansstock, now we can store file templates as we do.
What's the best way to do it? S3? Flexibility (Memcatch)?
From your description it seems that you have two main requirements
- < As you have said, the use of filesystem storage is not scalable or reliable for your use.
I think you should consider using elenchike supported by dynamo DD. Since you care about persistence, alone, therapeutics is not a practical solution. Dynamo DD will provide you durability that does not provide allacetic. Less reading / writing flexibility is read in Dynamo DD, so it can be very fast for your use case.
Dynamo DB can read and write to you faster Here's a presentation on this topic that can help you:
Your Dynamo DB schema will depend on How to structure your data, if you want to keep a history of file editing, etc. In S3, a file that is cached using Elasticachach, but you can not get enough flexibility if you want to write parts of the file with S3, then if you edit the file, then every file will be re- would write. But with Dynamo DB you can get the benefit of structuring your storage so that you can edit the contents of the file on the demand. Besides, with S3 you have to remember that your reading will eventually lead to stability. Dynamo DB supports both strong and last compatibility.
Comments
Post a Comment