vendredi 22 mars 2019

Laravel - Model Cache in AWS with multiple instances

I am developing a Laravel web app. For database performance we decided to cache the data models.

The project uses the package genealabs/laravel-model-caching for the models cache. But now I am thinking that multiple instances in multiple amazon regions won`t share the cache files, so I need a separated disk for cache purposes.

I was thinking about implementing an S3 bucket for cache sharing, but I cannot figure how to implement it. Is there a better way? How to do the implementation on Laravel?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire