IP Library Granted Patent US 11,997,161
Granted Patent B2
US 11,997,161 · App. 17/899,284 · Granted May 28, 2024

Distributing risk of multiple realms across multiple resources based on a realm risk model

Inventors: Ahi Kodi (Burlington, MA); Arun Sathnur (Boston, MA)
Assignee: Salesforce, Inc.
H04L67/1001G06F9/5083H04L43/0876
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,997,161
App. No.
17/899,284
Granted
May 28, 2024
Kind
B2
Abstract

Methods, computer readable media, and devices for distributing risk of multiple realms across multiple resources based on a realm risk model are disclosed. One method may include determining a time score based on an average response, a traffic score based on an average client request rate, and a risk score based on the time score and the traffic score for a plurality of realms, distributing the plurality of realms across a fixed number of resources based on the risk scores of the plurality of realms, and in response to a change in a risk score of a realm, redistributing the plurality of realms across the fixed number of resources based on a difference between a maximum risk score and a minimum risk score.

Claims (41)

1. A computer-implemented method comprising:

distributing a plurality of realms across a fixed number of resources based on the risk scores of the plurality of realms such that:

any one realm is distributed across at least two resources that are assigned an equal portion of the risk score of the any one realm; and

a difference between a sum of risk scores assigned to any one resource and a sum of risk scores assigned to any other resource is within a risk score threshold; and

in response to a change in a risk score of a realm, redistributing the plurality of realms across the fixed number of resources such that a difference between a maximum sum of risk scores assigned to a resource and a minimum sum of risk scores assigned to a different resource is within the risk score threshold;

wherein a risk score of a realm is based on one or more selected from a group consisting of: an average response time of the realm and an average request rate of the realm.

2. The computer-implemented method of claim 1 , wherein the average response time is calculated as an integer value based on an average response time calculated over a rolling time period assigned to one of a plurality of ranges, a range having a shorter average response time indicating a smaller integer value and a range having a longer average response time indicating a larger integer value.

3. The computer-implemented method of claim 1 , wherein the average request rate is determined over a rolling multi-day period and assigned an integer value based on the average client request over the multi-day period being within one of a plurality of ranges, a range having a lower average client request rate indicating a smaller integer value and a range having a larger average client request rate indicating a larger integer value.

4. The computer-implemented method of claim 1 , wherein a risk score of a realm is based on the average response time and the average request rate of the realm.

5. The computer-implemented method of claim 1 , wherein:

a realm comprises a web site;

a resource comprises a web service; and

distributing any one realm across at least two resources comprises configuring the at least two web services of the at least two resources to respond to a corresponding amount of traffic for the web site of the any one realm.

6. A non-transitory machine-readable storage medium that provides instructions that, if executed by a processor, are configurable to cause the processor to perform operations comprising:

distributing a plurality of realms across a fixed number of resources based on the risk scores of the plurality of realms such that:

any one realm is distributed across at least two resources that are assigned an equal portion of the risk score of the any one realm; and

a difference between a sum of risk scores assigned to any one resource and a sum of risk scores assigned to any other resource is within a risk score threshold; and

in response to a change in a risk score of a realm, redistributing the plurality of realms across the fixed number of resources such that a difference between a maximum sum of risk scores assigned to a resource and a minimum sum of risk scores assigned to a different resource is within the risk score threshold;

wherein a risk score of a realm is based on one or more selected from a group consisting of: an average response time of the realm and an average request rate of the realm.

7. The non-transitory machine-readable storage medium of claim 6 , wherein the average response time is calculated as an integer value based on an average response time calculated over a rolling time period assigned to one of a plurality of ranges, a range having a shorter average response time indicating a smaller integer value and a range having a longer average response time indicating a larger integer value.

8. The non-transitory machine-readable storage medium of claim 6 , wherein the average request rate is determined over a rolling multi-day period and assigned an integer value based on the average client request over the multi-day period being within one of a plurality of ranges, a range having a lower average client request rate indicating a smaller integer value and a range having a larger average client request rate indicating a larger integer value.

9. The non-transitory machine-readable storage medium of claim 6 , wherein a risk score of a realm is based on the average response time and the average request rate of the realm.

10. The non-transitory machine-readable storage medium of claim 6 , wherein:

a realm comprises a web site;

a resource comprises a web service; and

distributing any one realm across at least two resources comprises configuring the at least two web services of the at least two resources to respond to a corresponding amount of traffic for the web site of the any one realm.

11. An apparatus comprising:

a processor; and

a non-transitory machine-readable storage medium that provides instructions that, if executed by a processor, are configurable to cause the processor to perform operations comprising:

distributing a plurality of realms across a fixed number of resources based on the risk scores of the plurality of realms such that:

any one realm is distributed across at least two resources that are assigned an equal portion of the risk score of the any one realm; and

a difference between a sum of risk scores assigned to any one resource and a sum of risk scores assigned to any other resource is within a risk score threshold; and

in response to a change in a risk score of a realm, redistributing the plurality of realms across the fixed number of resources such that a difference between a maximum sum of risk scores assigned to a resource and a minimum sum of risk scores assigned to a different resource is within the risk score threshold;

wherein a risk score of a realm is based on one or more selected from a group consisting of: an average response time of the realm and an average request rate of the realm.

12. The apparatus of claim 11 , wherein the average response time is calculated as an integer value based on an average response time calculated over a rolling time period assigned to one of a plurality of ranges, a range having a shorter average response time indicating a smaller integer value and a range having a longer average response time indicating a larger integer value.

13. The apparatus of claim 11 , wherein the average request rate is determined over a rolling multi-day period and assigned an integer value based on the average client request over the multi-day period being within one of a plurality of ranges, a range having a lower average client request rate indicating a smaller integer value and a range having a larger average client request rate indicating a larger integer value.

14. The apparatus of claim 11 , wherein a risk score of a realm is based on the average response time and the average request rate of the realm.

15. The apparatus of claim 11 , wherein:

a realm comprises a web site;

a resource comprises a web service; and

distributing any one realm across at least two resources comprises configuring the at least two web services of the at least two resources to respond to a corresponding amount of traffic for the web site of the any one realm.

Assignments (2)
CHANGE OF NAME Recorded Dec 28, 2023
From: SALESFORCE.COM, INC.
To: SALESFORCE, INC.
Reel/Frame 066141/0902 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 12, 2022
From: KODI, AHI; SATHNUR, ARUN
To: SALESFORCE.COM, INC.
Reel/Frame 061058/0433 →
Continuity (2)
Continuation 17319300 · May 13, 2021
Related Publication 20220417320A1 · Dec 29, 2022