Support the ongoing development of Laravel.io →
Cache Database Architecture
Last updated 2 weeks 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 weeks ago.
0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

pyrello pyrello pyrello Joined 21 Feb 2014

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.