Page MenuHomePhabricator

Fast Vandalism Detection
Closed, DeclinedPublic

Description

User story: As an editor, I want to be able to detect vandalism between the time an edit is submitted by a users and that edit appears on the site (hypothetically lets say 250ms).

Constraints: SPPEEEEED.

Event Timeline

One way to mitigate the model's slowness could be to trigger this only on edits done by non-trusted users like IPs and non-autoconfirmed users. The other piece is that models rely on rev_id to look up features (content added, content removed, etc.), with pre-save models, you have to send all of them over the wire. That might be doable to use stash edit API and open it up to lift wing models somehow. @Krinkle might be interested.