Closed tetsuzawa closed 2 years ago
13:19:05.272371 SCORE: 15537 (+15537 0(0%)) [ADMIN] 13:19:05.272501 ScenarioCount: map[bench.ScenarioTag]string{ "AdminBilling": "count: 5 (error: 0)", "AdminBillingValidate": "count: 6 (error: 0)", "OrganizerNewTenant": "count: 5 (error: 0)", "OrganizerPeacefulTenant": "count: 0 (error: 0)", "OrganizerPopularTenant": "count: 1 (error: 0)", "OrganizerPopularTenantHeavyTenant": "count: 1 (error: 0)", "Player": "count: 132 (error: 1)", "PlayerHeavyTenant": "count: 12 (error: 0)", "PlayerValidate": "count: 11 (error: 0)", "TenantBillingValidate": "count: 1 (error: 0)", } [ADMIN] 13:19:05.272552 score.ScoreTable{ "GET /api/admin/tenants/billing": 65, "GET /api/organizer/billing": 25, "GET /api/organizer/players/list": 40, "GET /api/player/competition/:competition_id/ranking": 10345, "GET /api/player/competitions": 990, "GET /api/player/player/:player_name": 2256, "POST /api/admin/tenants/add": 6, "POST /api/organizer/competition/:competition_id/finish": 40, "POST /api/organizer/competition/:competition_id/score": 52, "POST /api/organizer/competitions/add": 50, "POST /api/organizer/player/:player_name/disqualified": 11, "POST /api/organizer/players/add": 10, }
player_scoreのアップデートタイミング (POST /api/organizer/competition/:competition_id/score) でキャッシュを消す
key は competition_id, tennant_id, rankafter_str
scoreのアップデートタイミングでではcompettition_idとtennant_idしかないので、prefixにして全部消す