Use analytics to provide trending articles, replacing radioactivity which has scaling issues
Google Analytics is already running but has no API as far as i know.
Plausible is the simplest and so maybe the lightest to host and easiest to extend.
Matomo definitely has an API.
cc @wolcen https://stackoverflow.com/questions/61853696/using-matomo-api-to-get-top-10-visited-pages-starting-with-a-certain-url
And for telling Matomo which pages are articles, set custom dimension: https://matomo.org/faq/how-to/faq_35687/
For hosting for millions of page views: https://matomo.org/faq/new-to-piwik/faq_137/#faq_137
HOWEVER realizing that Radioactivity's problem is not in recording visits—if that were all, we could replace it with Drupal core's statistics module—but weirdly with the processing, and none of these analytics solutions would give a weighted trending score (recent visits counting more than older visits), that i know of.