Support the ongoing development of Laravel.io →
Cache Database Architecture
Last updated 2 years ago.
0

Hi,

I would do the "processing and calculation" by running a command every 4 hours and this should be called by a cron. That data is saved in a cache preferable to be Redis where is going to be read by the your application.

You can set the Redis expire to a certain time and if that passes you can leave the process to be done as it is done now just as a fallback .

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

pyrello pyrello Joined 21 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.