Known limitations

Before you use Decision Server Insights, make sure that you are aware of the known limitations.

The following features have limitations.

Table 1. Insight Designer limitations
Feature Description
Default values in business model definitions Default values for time, date, date and time, and any user-defined concepts, or enumerations are not supported, see Mandatory and default values.
Concepts in the business object model

Concepts (generic objects that are owned by one or more entities) are generated as regular Java™ classes that have a default object equality. Using the default implementation, two references are equal only if they refer to the exact same object.

Therefore, if you write a rule condition that tests for concept instances in a list by using equality, or something that uses implicitly equality, for example a collection contains() method, the default implementation of object equality that is based on identity is used.

Offset time Operations and values for offset time (UniversalTime) are not available in the rule language.
Event emission When an agent sends an event to itself, or when an agent creates a chain of events that ends up coming back to the same agent, the system can be compromised. Although Decision Server Insights has mechanisms that detect and prevent recursion beyond a predefined limit, it is not possible to detect all situations. For this reason, it is important to pay special attention to event flows that involve internal events.
Binding to parent entity in agent descriptor In the agent descriptor, you cannot bind an event to the parent type of an entity.

For example, consider a business model, where a patient entity inherits from a person entity, and a message to person event is related to a person entity. If the agent is related to a patient entity, you cannot bind the event to the person entity. You cannot write the following mapping between the event and the person entity:

'healthcare' is an agent related to a patient,
processing events:
 - message to person, where this patient comes from the person of this message to person 
Language The agent descriptor and the connectivity definition files can use the en_US language only, independently from your Eclipse language settings. The business model definition files can use the en_US language only, except for names of attributes and concepts, which can also use the fr_FR, de_DE, zh_TW, zh_CN and iw_IL languages. The rule agent's rule files (.brl) and global aggregate files (.agg) can use the fr_FR, de_DE, zh_TW, zh_CN and iw_IL languages.
Creating a test client project When you create a test client project with the wizard, you must start and configure the Insight Server locally.

To learn more about installing Insight Server locally, see Installing the default development environment.

OSGi services To use an OSGi service with a solution project, the interface of the service must be self-contained. The signature of the service must not refer to classes that are outside of the package of the service.
Deploying solution projects If a solution project contains packages from JRE that are not java.* packages, you must import them manually in the manifest file of the project to prevent errors when you deploy the project.

For more information, see Finding useful information in log files.

Loading and submitting events from Insight Designer All of the testing files (common definitions, entity loaders, event sequences, and test scenarios) must be written in English. Even if you have a dictionary in your business model, the editor does not support other languages.
Table 2. Insight Server limitations
Feature Description
Production server memory capacity
The memory capacity that is required across a production server involves the following parameters:
  • The number of entities.
  • The rate at which events are received by the system.
  • The replication policies of each server.
  • The size of the entities.
  • The size of the events.
When you use rule agents, the following parameters are also taken into account:
  • The number of events that are routed to each agent.
  • The time horizon that is defined for the agent.

A production server stores all of the required information in memory. If there is insufficient memory, the server can run out of workable memory and the system is no longer able to process incoming events.

It is important to calculate the number of servers and the amount of memory that is required to handle a particular load. An IBM® representative can help you to calculate the correct configuration for your production server.

Transaction support for events through JMS It is not currently possible to establish a two-phase transaction between JMS and the runtime object grid. If a failure occurs when one of the transaction sessions is committed but not the other, the inbound event or outbound event might be delivered more than once.
Table 3. Global aggregate limitations
Feature Description
Time horizon for event aggregates By default, there is an implicit time horizon for event aggregates of one day. For example, an event aggregate written as define 'all events' as the number of test events corresponds to the number of test events within the last day. After 24 hours, events are discarded from the aggregation when new events arrive. As a result, the actual time horizon can be different on each server in a production topology that receives incoming events.

You can modify the time horizon, but increasing this value might affect performance. For more information, see Modifying the event time horizon.

High availability When servers are stopped and started, there might be a short time window where events are lost and solution aggregates are not available. If a server fails, incoming events might not update an event aggregate.
Performance Solutions with event aggregates reduce the number of events per second that a server can process. A solution that includes only rules has better performance than a solution with event aggregates.