Jump to content

Extra redundancy


Recommended Posts

  • 3 weeks later...
On 3/16/2020 at 9:45 PM, andrewatfornax said:

1. Yes. It's definitely possible to have multiple servers with the same Revive Adserver code on them, all using a central DB.

What happens with the cron job? Should it be on all the php nodes or just 1 or does it handle multiple crons going off on multiple servers?

Thanks

Link to comment
Share on other sites

The maintenance process does have locking in place, to ensure that only once instance is triggered at a time, but personally, whenever I was managing a setup like that, I would put the Revive Adserver code on the central DB server too (even though it would not serve ads from there), and then run maintenance on that machine, so that there's no need for network traffic off-server to run maintenance.

Every millisecond counts, right? ?

Link to comment
Share on other sites

Thanks for the speedy reply!

Yeah we make heavy use of AWS and RDS so sadly cant put the code on the DB server but I always meant to double check for scaling purposes if the task could lock as most of the php nodes would just be exact mirrors.

I may spin a low end box up to handle the tasks but if I at least know it works as a mirrored then I can get under way with scaling anyway.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...