pontoon icon indicating copy to clipboard operation
pontoon copied to clipboard

Evaluate sync slowness for projects with project configuration

Open mathjazz opened this issue 3 years ago • 1 comments

We've noticed in projects with a lot of files that sync is very slow if the project configuration is used vs. when it's not. One such example is https://pontoon.mozilla.org/projects/foundation-website-content/, where adding a new file triggered a several hours long sync job. We should investigate possible performance optimizations.

Since https://github.com/mozilla/pontoon/pull/1750 we also force-sync the project every time the configuration file changes. We should explore the possibilities of eliminating or minimizing the need for a force-sync.

mathjazz avatar Oct 14 '22 20:10 mathjazz

As a data point:

  • I merged this change for mozilla.org (adding one file to Italian in mozilla.org).
  • I think the original sync in Pontoon timed out after 60 minutes. Another sync started an hour later.
  • What's even more problematic is that the notification is triggered immediately, but Pontoon won't find the strings when you click the link. In this case, it took about an hour (sync was still going).

flodolo avatar Sep 27 '23 13:09 flodolo