|
Connect: a peek under the hoodConnect consists of visible and invisible parts. Here's a simplified, graphical representation of the architecture of PReS Connect.
The Workflow serverThe Workflow server (also referred to as the 'Watch service') executes processes independently, after a Workflow configuration has been uploaded and the services have been started. The Workflow server can run only one configuration at a time.
There are a number of services related to Workflow. The Messenger service, for example, receives the files sent to Workflow from the Designer and the Workflow configuration tool. Note that Workflow isn't strictly limited to Connect functionality. It was originally developed as part of the PlanetPress Suite. Many of the plugins in the Workflow configuration tool are older than Connect; they were left in for compatibility reasons, even though they aren't all useful or usable within Connect. However, the Connect plugins cannot be used with the PlanetPress Suite software. The Connect serverAs opposed to the Workflow server, the Connect server was designed to be used only with Connect. The Connect server performs several different tasks, all of which are related to Connect content and content management:
The Connect server is one of the components that has to be installed with Connect (see Installation Wizard). The Connect Server Configuration tool lets you change the settings for the Connect server, the engines and the service that cleans up the database and the file store. These settings can also be made in the preferences of the Designer. The Connect databaseThe Connect database is the database back-end used by Connect itself when processing jobs. It can be either the MySQL instance provided by the Connect installer, or a pre-existing (external) instance (see Database Considerations). Email content items are not stored in the Connect database.
A clean-up of the database is performed at regular intervals in accordance with the settings (see Clean-up Service preferences). The File StoreConnect has its own File Store which it uses for transient files. As of version 1.8, the File Store has become accessible for customer implementations. The Workflow configuration tool implements three tasks that allow you to Upload, Download and Delete files in the Connect File Store. The files can be accessed through the REST API, which means web portals could potentially access the files directly without having to go through a Workflow process.
The enginesMerge engine/s. A merge engine merges data with a template using the scripts in the template, in order to create (Print Weaver engine
Speed units (parallels)The number of 'speed units' is the maximum number of engines that can work in parallel, which is why they are also called 'parallels'. The output speed of all speed units together is limited to a certain number of output items (web pages, emails, or printed pages) per minute.
Each engine needs at least one speed unit. However, since the number of engines is configurable, and since small, medium and large jobs may run concurrently, the number of engines in use may not match the number of available speed units. When there are more speed units than there are engines in use, the Connect server distributes the speed units and the maximum output speed to the engines proportionally. The REST APIThe Connect server receives REST commands (see The Connect REST API CookBook), normally either via the Workflow service or from the Designer. This design allows the Connect functionality to be used by other applications. The server forwards the commands to the appropriate engine and returns the results to the caller. The results are the id's of the items (records, content items, job etc.) that are stored in the Connect database (see below). All Connect tasks except the Create Web Content task integrate the results in the Metadata in Workflow. The figure below shows the communication between Connect tasks and the Connect server in a Print process.
Printing and emailing from the DesignerTo print or send email from within the Designer, the Connect service has to be running. The service is started automatically when the Designer starts, but it may not be running if the Connect Server and the Designer are installed on different computers. The Connect service can be found on the Services tab in the Task Manager. |
|