Page MenuHomePhabricator

Profile application requests to see what kind of read/write DB traffic we should expect
Open, MediumPublic

Description

(see T127390: Meet with Security and Ops about a long-term productionization plan for background)

To better accommodate the dashboard database under in Labs, we'll need to know a little more about its traffic profile.

@Ragesoss, would it be possible to get some aggregates from your production logs to get a better sense of controller#action hits and so forth? I've used request-log-analyzer in the past but I've no idea if that's a viable option anymore.

Event Timeline

dduvall updated the task description. (Show Details)

Here's some database profiling from Wiki Ed production for 24 hours. The lion's share of the transactions are probably part of the data update process (which gets more intense as the number of students in active courses, and their number of revisions and articles, grows), rather than being driven directly by website users.

database profile 1.png (1×1 px, 196 KB)

database profile 2.png (1×1 px, 218 KB)

database profile 3.png (298×1 px, 36 KB)

And here is some profiling of transactions hitting the controllers.

transaction profile 1.png (1×1 px, 181 KB)

transction profile 2.png (448×1 px, 55 KB)

greg removed dduvall as the assignee of this task.May 16 2017, 3:47 PM