TIBCOSoftware / TIBCOSoftware/bwce-docker

BWCE Startup takes too long

Open
#53 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
22
Forks
40
PR merge metrics
No merged PRs in 30d

Description

** This is a feature request **

I would like to suggest that the pattern of implementation for the BWCE startup scripts be changed as there is large amount of time spent during runtime startup that could have been executed during the build phase of the Application image that has been built on top of the BWCE image.

The normal pattern of usage is that the start.sh & setup.sh are executed during the deployed service image startup. This means that during the deployed service startup the is copying files and unzipping the runtime on the image. This incurs a large amount of CPU usage during startup and is not in line in having an immutable image that is loaded as changes are being made during runtime.

I would suggest that the setup.sh is being used for two purposes - build and execute of the tibco service. If we can separate the run activities possibly into a run.sh from the build activities in the setup.sh then the deployed service image build could be separated into multi stage build process one step that builds the image publishes it into the run image.

Changing this implementation pattern would be a large benefit to the runtime startup performance of the deployed bw component

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the referenced start.sh and setup.sh scripts to understand which file-copying and runtime-unpacking steps occur at deployed service startup. Compare those steps with the proposed build and run separation, and consider the multi-stage image flow; done means build work occurs during image creation while runtime startup only performs execution activities.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
build-system, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.