Project

General

Profile

Actions

Feature #2516

closed

rgw: new bandwidth-only per-user log

Added by Yehuda Sadeh almost 12 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

- orthogonal to operations logs
- only aggregate user bandwidth usage (read, write) per date
- rgw sends a periodical update to the backend of user's usage
- admin command to get all bandwidth from a specific date up to a specific date
- admin command to trim user log

implementation:
- bandwidth info is kept in per-user object (actually, on more than one object to spread user load)
- info is kept on object's omap; date (epoch) as key, read and write usage as value
- new class method to add bandwidth info for a specific timestamp
- rgw aggregate bandwidth info per user and flushes that periodically to backend
- rgw rounds timestamp to nearest day/hour/minute -- probably hour?
- a new class method to delete bandwidth info for a specific timestamp
- radosgw-admin command to get user bandwidth info, by iterating over all the possible log objects for that user and aggregating the info

Actions #1

Updated by Sage Weil almost 12 years ago

  • Translation missing: en.field_position set to 1
Actions #2

Updated by Sage Weil almost 12 years ago

  • Translation missing: en.field_story_points set to 8
  • Translation missing: en.field_position deleted (1)
  • Translation missing: en.field_position set to 1
Actions #3

Updated by Sage Weil almost 12 years ago

  • Target version set to v0.49
  • Translation missing: en.field_position deleted (2)
  • Translation missing: en.field_position set to 65
Actions #4

Updated by Sage Weil almost 12 years ago

  • Status changed from New to In Progress
  • Translation missing: en.field_position deleted (66)
  • Translation missing: en.field_position set to 66
Actions #5

Updated by Sage Weil almost 12 years ago

  • Translation missing: en.field_position deleted (67)
  • Translation missing: en.field_position set to 3
Actions #6

Updated by Sage Weil almost 12 years ago

  • Assignee set to Yehuda Sadeh

I think the last thing we need here is to add it to the radosgw-admin test so that we don't break these commands in the future.

Actions #7

Updated by Sage Weil almost 12 years ago

  • Status changed from In Progress to Resolved
Actions #8

Updated by John Spray over 6 years ago

  • Project changed from Ceph to rgw
  • Category deleted (22)
  • Target version deleted (v0.49)

Bulk reassign of radosgw category to RGW project.

Actions

Also available in: Atom PDF