Return to homepage

Comments

Ruslan

Alex, hi again,

a one more point I'm wondering about is how to scale this technique and prevent the dB overload in case of frequent requests.

F.ex. it might be the real case when most of users starts to work at the same time (beginning of the working day, or start the lesson etc.) so the peaks of scoped and total visits log requests will appear.

Could you please share some example how to sort this, f.ex. queueing to Redis first, or another solution?

Thanks in advance for that and for covering the actual topics in your courses!

Cheers Ruslan

  • 0
Josh

Why didn't you just add "Index" and "Show" to SeriesController instead?

  • 1
Ruslan

Hi Alex,

you're legend, thanks a lot for the new awesome course, your videos keeps inspiring me to learn a lot of Laravel, please keep posted!

A quick question or the point for your consideration, is it possible to make the 'visit' models calcs correctly working when the model caching has been applied, or?

Thanks, Ruslan

  • 1
Alex

Hey Ruslan. Did you mean when you cache a collection of models and you wanted to still get back the scoped and total visits?

  • 0
Ruslan

Hi Alex, yep, I meant exactly that, how to get the scoped and total visits worked in case of cached collection of models. Thanks.

  • 0