DEV Community

Discussion on: What are the changes in Forem code for displaying postviews on DEV?

Collapse
ben profile image
Ben Halpern

I believe that change was mostly refactoring the logic about how this was done without substantial changes to the frequency or actual behavior (not that this couldn't change in the future).

The change was that instead of updating some of this logic right in the controller periodically, it is instead updated in an asynchronous "worker" because this update is not high priority.

Yes, this logic will be deployed to all Forems, as they are re-uses of the same exact code, configured by admins.

Collapse
amananandrai profile image
amananandrai Author

Thanks for your reply and awesome explanation. I would further like to know what a "worker" is and a bit more about worker for a beginner like me to understand.