Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 702895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:46:16+00:00 2026-05-14T03:46:16+00:00

I was working on a project a few months ago, and had the need

  • 0

I was working on a project a few months ago, and had the need to implement an award system. Similar to StackOverflow’s badge system. Badges

I might have not implemented it in the best possible way, and I am curious what your say in it would be.


What would a good way to track user activities, needed for badge awarding be?

Stackoverflow’s system needs to know of a lot of information, and I also get the impression that there would be a lot of data processing complicating things.

I would assume that SO calculates badges once or twice every 24, and that maybe logs are stored or a server dedicated to badge calculation.


Thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T03:46:17+00:00Added an answer on May 14, 2026 at 3:46 am

    I don’t think is as complicated as you think. I highly doubt that SO calculates badges with some kind of user activity log (although technically the entire database is a user activity log). When I look at the lists of badges, I don’t see anything that can’t be implemented by running a SQL select query.

    Some of the queries could be pretty complicated, and there might be some sort of fancy caching mechanism, but I don’t see any reason why you would have to calculate badges in batches.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So this was working on this project a few months ago. I'm using Google
A few months ago, I was working on a PHP project in Aptana Studio.
I have been working on a project for a few months now and my
I am upgrading a project I had working previously. This code worked a few
I've been working on a java spring project for a few months now. I
I've been working to a C++/CLI project in the last few months. Now I'm
I was working for a few months on the project without even noticing this,
I am adding a few new features to a small project i'm working on
I'm working on setting up NHibernate for a project and I have a few
I'm currently working on a re-platforming project, part of which involves a few dozen

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.