Page MenuHomePhabricator

Performance review of Extension:SimilarEditors
Closed, DeclinedPublic

Description

Description

The SimilarEditors extension uses the similar-users service to find similar users, based on edit history. It adds a special page that accepts a user name or IP address as input, and displays the results, along with a QuickSurveys survey. It is accessible by checkusers.

The extension will initially be used to gather feedback from checkusers, so that the service can be improved. In the future, the service might be made accessible to a wider audience, and it might be via a completely different user interface.

Preview environment

Beta cluster link: https://en.wikipedia.beta.wmflabs.org/wiki/Special:SimilarEditors

(The service only works with English Wikipedia, so we have had to account for this in the extension: T309618)

Which code to review

(Provide links to all proposed changes and/or repositories. It should also describe changes which have not yet been merged or deployed but are planned prior to deployment. E.g. production Puppet, wmf config, or in-flight features expected to complete prior to launch date, etc.).

Performance assessment

Please initiate the performance assessment by answering the below:

  • What work has been done to ensure the best possible performance of the feature?
    • Not much has been custom-built in this extension - we've used UI components out of the box, and
  • What are likely to be the weak areas (e.g. bottlenecks) of the code in terms of performance?
    • This should be fairly lightweight on the MediaWiki side: just a form and a single page of results (maximum 50 - see T304525).
    • Awaiting results from the similar-users service is the most likely bottleneck (which has been observed in testing)
    • There is also a delay while waiting for the QuickSurveys survey to load after form submission
  • Are there potential optimisations that haven't been performed yet?
    • Other than the known problems with the service (see above), none that we know of
  • Please list which performance measurements are in place for the feature and/or what you've measured ad-hoc so far. If you are unsure what to measure, ask the Performance Team for advice: performance-team@wikimedia.org.
    • We have been measuring ad-hoc while testing the feature as it is developed, using a test dataset with realistic data

Event Timeline

@Tchanders I don't have a plan for what we need to measure to ensure performance. I would defer to you and the rest of the technical team to determine potential performance bottlenecks and how to measure those. Is that okay?

@Tchanders I don't have a plan for what we need to measure to ensure performance. I would defer to you and the rest of the technical team to determine potential performance bottlenecks and how to measure those. Is that okay?

Sure - thanks

The team has acknowledged this task and appreciates the heads up. I have moved it to our "Future Goals" which means we'll do our best to fit this into Q4 (Apr-Jun). I do note that it is 3 days instead of 21 days before the start of the quarter (doc), so it might take until May or June. Would that be okay?

If this is intended as early request for Q1 instead, let us know. In that case, I would suggest that we also meet early on and perhaps help review an early plan to set aims and/or save work later on. We can do the "proper" review later in that case, once the extension is previewable in Beta.

Thanks @Krinkle - I think we're hoping to deploy this to production around June, so around end Q4 - start Q1. It should be on Beta well before then. If it's more feasible to do the performance review in Q1 I think that would be fine, especially if it's not typically a production deployment blocker, as the docs suggest: https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment#Preparing_for_deployment

We'd be happy to have an early meeting - would be great to plan ahead.

Tchanders renamed this task from [WIP] Performance review of Extension:SimilarEditors to Performance review of Extension:SimilarEditors.Jun 14 2022, 1:06 PM
Tchanders updated the task description. (Show Details)

Hello @Tchanders, is this ready for a performance review? I see that the first timeline was to hit production by June, do you have an updated timeline? thanks

@Tchanders: Could you please answer the last comment? Thanks in advance!

Tchanders claimed this task.

Hi @larissagaulia, thanks for asking. This project has recently become stalled... @Niharika should we change the status of this task?

Krinkle changed the task status from Open to Stalled.Jan 6 2023, 11:56 PM
Krinkle triaged this task as Medium priority.