УкраїнськаEnglishmRussian
Вхід/Новий
У темі немає нових постів

Startup speed


Автор Повідомлення
Повідомлення створено: 17. 01. 2024 [14:52]
walhi
Sergey Karpesh
Автор теми
Зареєстрован(а) с: 26.01.2016
Повідомлення: 29
Good afternoon. I wanted to know if there was a way to speed up the launch of OpenSCADA. I have N identical controllers with a large number of logical parameters (in the form of a tree). Startup with one controller takes approximately 20-30 seconds. The running system works quickly. Is it possible to speed it up?
I don't need to save the computation context. I tried to specify the same table for all controllers, but this does not affect the speed and when any controller is deleted, they all break at once (the tables are deleted).
Повідомлення створено: 17. 01. 2024 [19:44]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 3750
"walhi" wrote:

Good afternoon. I wanted to know if there was a way to speed up the launch of OpenSCADA. I have N identical controllers with a large number of logical parameters (in the form of a tree).

Starting was optimised in maximum and it depends only from the storage features and used DB, about that read:
• for starting in different environments — http://oscada.org/wiki/Special:MyLanguage/Sub-projects/Embedding_and_PLC#PerfSystems
• for DB productivity, like to SQLite — http://oscada.org/wiki/Special:MyLanguage/Modules/SQLite#Tests

Learn, learn and learn better than work, work and work.
Повідомлення створено: 18. 01. 2024 [07:18]
walhi
Sergey Karpesh
Автор теми
Зареєстрован(а) с: 26.01.2016
Повідомлення: 29
In my case, it would be optimal to load the configuration of the first controller from the database, and clone the remaining N-1, since they only differ in the transport address and individual archivers (about 20 values per controller). But, as I understand, this cannot be done now. In any case, thanks for the tip. I'll look into the issue with other storage facilities.



2462