Mattermost-server: Parallelize plugin loading on startup

Created on 4 Dec 2019  路  4Comments  路  Source: mattermost/mattermost-server

Sever startup time is slow with 10+ plugins, since we bootstrap then serially. Investigate doing so in parallel to improve server startup speed.


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-20941

AreToolkit Medium Help Wanted PR Exists TecGo

Most helpful comment

Hi @RajatVaryani! Are you still interested in this ticket?

Hello @lieut-data. Yes, I am interested working on this. I could not work due to holidays. I will start the work pretty soon.

All 4 comments

@lieut-data I am happy to contribute to this one.
Can you please share the tool/statistics used to calculate the start up time?

Thanks, @RajatVaryani! No special tools: if you enable all prepackaged plugins, for example (configure bogus settings as needed just to get them to start up), and then restart the server, you'll see a long delay while everything is unpacked.

It would be great to start by logging some trace messages here that records the total startup time.

Hi @RajatVaryani! Are you still interested in this ticket?

Hi @RajatVaryani! Are you still interested in this ticket?

Hello @lieut-data. Yes, I am interested working on this. I could not work due to holidays. I will start the work pretty soon.

Was this page helpful?
0 / 5 - 0 ratings