Tryton - Issues

 

Issue8370

Title Speedup startup time
Priority feature Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type performance Components trytond
Assigned To ced Keywords review
Reviews 261531002
View: 261531002

Created on 2019-05-22.14:21:57 by ced, last changed by roundup-bot.

Messages
New changeset fcf448830aae by Cédric Krier in branch 'default':
Use threads to initialize pool at startup
https://hg.tryton.org/tryton-env/rev/fcf448830aae
New changeset 8c885b6c4e3b by Cédric Krier in branch 'default':
Use threads to initialize pool at startup
https://hg.tryton.org/trytond/rev/8c885b6c4e3b
review261531002 updated at https://codereview.tryton.org/261531002/#ps279401002
review261531002 updated at https://codereview.tryton.org/261531002/#ps253551002
msg49803 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-05-22.14:21:56
When there are many database or modules, it can take times before the server is listening because the pool initialization can be slow. We could improve that by initialize the database in separate thread and start listening before they end.
We can do that because the pool initialization is protected by locks.
History
Date User Action Args
2019-06-16 19:19:48roundup-botsetmessages: + msg50285
2019-06-16 19:19:44roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg50284
2019-05-22 16:31:01reviewbotsetmessages: + msg49809
2019-05-22 14:27:15reviewbotsetnosy: + reviewbot
messages: + msg49804
2019-05-22 14:24:46cedsetstatus: in-progress -> testing
reviews: 261531002
keyword: + review
2019-05-22 14:21:57cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)