Feature #2516
rgw: new bandwidth-only per-user log
0%
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
History
#1 Updated by Sage Weil over 11 years ago
- translation missing: en.field_position set to 1
#2 Updated by Sage Weil over 11 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
#3 Updated by Sage Weil over 11 years ago
- Target version set to v0.49
- translation missing: en.field_position deleted (
2) - translation missing: en.field_position set to 65
#4 Updated by Sage Weil over 11 years ago
- Status changed from New to In Progress
- translation missing: en.field_position deleted (
66) - translation missing: en.field_position set to 66
#5 Updated by Sage Weil over 11 years ago
- translation missing: en.field_position deleted (
67) - translation missing: en.field_position set to 3
#6 Updated by Sage Weil over 11 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.
#7 Updated by Sage Weil over 11 years ago
- Status changed from In Progress to Resolved
#8 Updated by John Spray over 5 years ago
- Project changed from Ceph to rgw
- Category deleted (
22) - Target version deleted (
v0.49)
Bulk reassign of radosgw category to RGW project.