Skip to main content
Version: 2.18.X

Deploying

This section discusses methods for organizing, preparing, and managing deployments.

Grouping Like Deployments with Tags

Tags are an excellent way to subdivide functional sections of the project. They are especially useful in large projects that contain upwards of a hundred or more patterns.

Tags have customizable labels that can be assigned to patterns. Each pattern can be assigned more than one tag.

Once an outline of patterns has been created, consider how to logically divide functional groups in your patterns. As you build the models, tag the patterns accordingly. That way, if specific updates or changes need to be made to a particular group or subgroup, patterns or event types of that group can be quickly isolated.

Tags can also be created to tag groups of patterns that are to be deployed together. Cogynt's deployment settings conveniently allow selecting patterns by tags (as opposed to selecting patterns one by one, which is time consuming and prone to human error).

Identifying When to Create Deployment Templates

Deployments contain information about the source and destination of data. When patterns are deployed, each input and output topic in the patterns is created and mapped to the configured data source.

Deployment templates serve as deployment configuration templates. Not all deployments have the same resource requirements. Depending on the size and complexity of the deployment, resources are configured differently. Deployment templates allow modelers to create custom default configurations for multiple deployments at once. This is especially convenient in a large project with lots of deployments comprising similar patterns and complexity.

tip

Suppose that you have planned several deployments of either a small, medium or large size. You can decide on the resources and configurations needed for each of those sizes using deployment templates.

Thus, when you have 5 large deployments, 11 medium deployments, and 15 small deployments, you only need to select the appropriate deployment template for each size, rather than customizing every single deployment manually.

Despite the benefits of creating deployment templates, their number can quickly get out of hand if not properly managed. To keep things under control, the modeler should aim to keep the number of deployment templates to a minimum. A good rule of thumb is to only create a deployment template if three or more deployments can share it.

tip

If the performance for one of the medium deployments is struggling with the default configuration set in the medium-size deployment template, the user can tweak the configurations directly in the deployment setting to override any setting in the medium-size deployment template. This is better than the more costly option of jumping straight to the large-size target and risk using more resources than necessary.

If the issue is unique to that deployment, there is no need to modify the template itself.