Optimizing the startup time for an independent integration server
You can optimize an independent integration server to speed up server startup, which is particularly relevant in cloud container environments.
Before you begin
Watch the following video, which demonstrates how to optimize the start-up time of an integration server: How to optimize integration server start-up time
About this task
Server startup can be slower than is desirable, especially when you run in containers with
restricted CPU provision, because the server must load every component. Parts of the server that are
not needed can be switched of by configuring the server's server.conf.yaml file
as described in Configuring an integration server by modifying the
server.conf.yaml file. However, while the product does not run the functions that are
switched off, the server still loads or creates the underlying resources that would be required if
the functions were switched on. Loading the resources adds to the startup time. Server startup time
can be reduced by optimizing the server. This process analyses the content of a server's work
directory and determines which parts of an integration server are needed at startup. The purpose of
optimization is to speed up server startup in cloud container environments. Optimization applies to
independent integration servers only and is not suitable for integration servers that are managed by
an integration node. Server optimization is suitable when:
- Server content is fixed for each IntegrationServer run.
- Server startup times are important and need to be as short as possible.
Procedure
If you intend to populate the integration server work directory with compilable resources such as maps, you must compile the resources. You can compile the resources before you deploy them by completing step 3. Alternatively, you can compile the resources during deployment as described in step 4.
What to do next
- After the server.components.yaml is created, you can edit it directly to enable or disable components by setting them to true or false.
- If you no longer want the server to be optimized, then you can delete the server.components.yaml file from the work directory. The server then starts up exactly as it did before you optimized it. Unlike server.conf.yaml file, the server.components.yaml file does not support a copy in the overrides directory.