We have a laravel 5.1 app that we set up to use Redis, along with spiritix/lada-cache. We went this route because it gave really good performance on App Engine. Then, during testing one of our users complained that items were missing on a page whereas they showed up on another page. When we ran the same code with a remote connection to the same db we didn't get the same results. This led us to consider that lada-cache was an issue. We flushed the cache and could then see the same data from different the different pages.
Subsequent net searches brought us to this: Queries build by Eloquent\Builder instead of Query\Builder and this:Eloquent Models not updating / flushing Cache correctly. Both huge issues (assuming there hasn't been a fix).
First, are there any alternatives aside from Laravel's out of the box memcache which is not so fast? Second, if Redis is the way to go, are there any go arounds that we can use that bypass the above issues?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire