DEV Community

Cover image for Popularity Depends on How You Define It: How 700 RSS Bot Posts Took Over DEV's Community Hub πŸ€–πŸ’₯

Popularity Depends on How You Define It: How 700 RSS Bot Posts Took Over DEV's Community Hub πŸ€–πŸ’₯

Dhruv Jani on November 05, 2026

A few days ago, I opened the Forem mobile app and navigated over to the Community Hub (/community) πŸ“±. Naturally, you expect the "Popular Community...
Collapse
 
dj29 profile image
Dhruv Jani •

And lets hear from the popular guys on DEV:
Sir @francistrdev, Sir @georgekobaidze, Ma'am @sylwia-lask, my fav @xulingfeng, @hemapriya_kanagala di, @technogamerz di and our beloved and currently most popular: @heyitsjem, Did it help?

Have A Great Day Everybody!

Picked as gem
Collapse
 
xulingfeng profile image
xulingfeng •

Bro, this is amazing! There are tons of accounts spamming bulk posts nonstop. As someone with a compulsion to clear notification red dots and a liking‑for‑likes habit, I was honestly getting overwhelmed. Congrats on fixing the issue and gaining great insights along the way!πŸŽ‰

Picked as gem
Collapse
 
dj29 profile image
Dhruv Jani •

Yeah really!
I mean 720, 250, 350 these are like insane numbers!
Nobody can type this much! I really wanted to fix this issue to ensure atleast we don't give spotlight to bots.

And thanks! Have A Great Day(or Night)! πŸ˜„

Thread Thread
 
xulingfeng profile image
xulingfeng •

Totally agree, those volumes are clearly impossible for human writers. It’s such a meaningful fix to keep real creators visible! As a QA person, I can easily imagine how many edge cases you needed to cover for this ranking logic. Have a good one πŸ‘οΈπŸŽ‰πŸ˜†

Collapse
 
georgekobaidze profile image
Giorgi Kobaidze •

This is absolutely fantastic! You're addressing the problem that has been driving me crazy. Like I don't even know what's real anymore.

I'm really tired of reading comments that are apparently written by bots. This platform is amazing, but it also has this problem that needs to be fixed as soon as possible.

Thanks for this!

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala •

Bhai, seriously, thanks a lot for fixing this! Seeing actual people who put real effort into writing finally get highlighted instead of random spam bots feels like a huge win πŸ˜ƒ

Collapse
 
francistrdev profile image
FrancisTRᴅᴇᴠ •

Hey Dhruv! I actually saw you contribute to this in real time! Good work on getting this in!

I do recommend to making it span over 6 months than having it in a single month. I am not sure if this is the use case, but there can be cases where a user makes a lot of posts and all of them are bot engagements. Something you might need to consider (not sure if you cover that already).

Otherwise, good work and thanks for the mention :D

Picked as gem
Collapse
 
dj29 profile image
Dhruv Jani • • Edited

Actually Sir @francistrdev, that's the thing. Bot posts are RSS feeds for which you don't need to go to dev.to to create post.

So in short I removed those posts into popularity consideration which were RSS feed posts and were from flagged users.

Also, keeping it in month helps cause over span of 6 months people can have a lot of posts and I've seen people post like 3 times a week. And we definitely want quality stats of posts for popularity.

But we can have something like popularity leaderboard for fun! But that'll probably ruin the fun of interactions and everyone will be posting, commenting for the sake of it.

I might be wrong but this is what I feel.

Now over to you.πŸ˜…

Collapse
 
francistrdev profile image
FrancisTRᴅᴇᴠ •

Ahh that makes sense! I don't think we need a leaderboard, though it's an idea.

Did you also have a use case where popularity is also based on the number of gems you have? I mention this because I notice that it does also count into your visibility as you become trustworthy.

That could help with the 6 month extension since it contributes to it and since it can't be rigged, according to @ben, I think it should work and would solve most cases. Unless the team chooses a Curator that turns out to be a bot, that's our fault lol.

Thread Thread
 
dj29 profile image
Dhruv Jani •

Yeah we can do that, maybe give the week, 1 month, 6 month filter like we have for posts.

But for now, from my knowledge, it isn't taken into account. We can do that.

Thread Thread
 
francistrdev profile image
FrancisTRᴅᴇᴠ •

Sounds good! Also, I think you will be a great DEVenger. Don't you think?

cc: @itsugo @georgekobaidze @hemapriya_kanagala @codingwithjiro

Thread Thread
 
dj29 profile image
Dhruv Jani •

Sure!!! Will be an honor.πŸ˜„

Collapse
 
dj29 profile image
Dhruv Jani •

πŸ€– 779 posts in a month. Almost zero reactions. And somehow, that's what popularity looked like.

What started as a random visit to DEV's Community Hub turned into a rabbit hole involving RSS bots, ActiveRecord, PostgreSQL query plans, and a rather unexpected 4.4x performance regression in my first attempted fix.

The best part? The final solution wasn't just about filtering bots. It was about understanding what the database was actually doing under the hood.

Huge thanks to @mikeydorje Sir who reviewed and helped get the fix merged into Forem! 🀝

Now I'm curious: Have you ever found a leaderboard, ranking system, or popularity metric being completely gamed by automation? I'd love to hear the story!

Collapse
 
technogamerz profile image
π“π‘πž π‹πšπ³π² 𝐆𝐒𝐫π₯ •

Dhruv, you’ve done a really wonderful job! Thank you so much for this. Have a Great night, and by the way, Happy Diwali! πŸͺ”βœ¨

Collapse
 
dj29 profile image
Dhruv Jani •

Thanks di.
For a moment I was like: I missed Diwali?πŸ˜…
But yeah, Have A Great Night!
And Happy Diwali! πŸͺ”βœ¨

Collapse
 
technogamerz profile image
π“π‘πž π‹πšπ³π² 𝐆𝐒𝐫π₯ • • Edited

You missed Diwali?! Really?
If you work with your headphones on, that's good otherwise, Diwali firecrackers will definitely give you a mini jumpscare!

Thread Thread
 
dj29 profile image
Dhruv Jani •

Na I meant, "Diwali" is on Sunday. Since its a 5 day festival, today is what we call in Gujarat: ΰͺ…ΰͺ—ΰͺΏΰͺ―ΰͺΎΰͺ°ΰͺΈ
But the festival and vacations have started!

Have A Great Night, di.

Thread Thread
 
technogamerz profile image
π“π‘πž π‹πšπ³π² 𝐆𝐒𝐫π₯ •

Is today Gyaras or Baras here? I mean, can I cook rice today? Tomorrow is Teras (Dhanteras), right?πŸ€”

Thread Thread
 
dj29 profile image
Dhruv Jani •

Here, we're celebrating Gyaras and I think(can be wrong) We cook rice but not khichdi during Diwali.
Tomorrow is dhanteras probably, cause its like 2 tithi are together on some day. Probably Baras and dhanteras tomorrow or Gyaras and baras today. But today is definitely Gyaras and tomorrow is dhanteras, Baras comes in between but doesn't stay for a whole day! and Chaudash on satursay and finally Diwali on Sunday.

Hope that helps, Di.πŸ˜„

Collapse
 
gracelee087 profile image
Sohee Lee •

Good point! πŸ‘

Collapse
 
dj29 profile image
Dhruv Jani •

Thanks!
Have A Great Day!

Collapse
 
yug_vasava profile image
Yug Vasava •

Great bro! keep going.

Collapse
 
dj29 profile image
Dhruv Jani •

Thanks!