×

Rate limiting in a moderation framework of a database system

  • US 10,346,370 B2
  • Filed: 09/22/2016
  • Issued: 07/09/2019
  • Est. Priority Date: 08/30/2016
  • Status: Active Grant
First Claim
Patent Images

1. A rate-limiting method for a database system that implements a main database and implements a public community feed that enables members of the public community to post items to the feed over a network, to moderate the posting of items to the feed, the method comprising the steps of:

  • creating a set of at least one rate-limiting rule associated with the public community feed;

    wherein the rate-limiting rule specifies a type of user, a repeating time interval, an item count limit, and an action;

    storing the set of rate-limiting rules in a cache system in the database system outside of the main database;

    selecting and loading at least one of the rate-limiting rules from the cache system for execution, wherein execution of the selected rule includes—

    provisioning a tracker for the repeating time interval, wherein the tracker is implemented in the cache system outside of the main database, and the tracker is configured to automatically track the number of items posted to the feed during each time interval by each user of the specified type, utilizing windowed counters so as to reset each user'"'"'s posted item count upon expiration of each time interval, each windowed counter utilizing a time bucket field based on the repeating time interval; and

    upon detecting that a first user'"'"'s posted count meets or exceeds the item count limit in the selected rule, executing the action specified in the rule with regard to the first user.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×