| Products | Versions |
|---|---|
| Spotfire Server | All |
Problem Scenario:
A user belongs to Group Test 1 (configured to route to Resource Pool 2) and attempts to open a DXP analysis file that was previously Web Cache-processed on Resource Pool 1. The user expects the session to connect to Resource Pool 2 based on their group's routing rule.
Observed Behavior:
The Spotfire Server successfully routes the user's session to Resource Pool 1 (Web Player Instance 1) instead of Resource Pool 2. This behavior, while potentially unexpected, is the correct and intended design of the Spotfire Server's routing mechanism.
Technical Explanation of Routing Priority:
Spotfire Server's routing mechanism follows a clear hierarchy, prioritizing rules or states associated directly with the DXP file itself before considering user or group-based assignments. User and group rules are applied only if no file-level specific routing instructions exist.
When an analysis file request is made, the server evaluates routing based on the following priority:
Once the applicable routing rule determines the target pool, resulting in one or more available service instances to choose between, the router selects the final Spotfire Web Player instance using the following criteria in order:
Therefore, in this scenario, the DXP file's existing Web Cache on Resource Pool 1 takes precedence over Group Test 1's general routing rule to Resource Pool 2, as the system prioritizes the file's pre-existing state.
All
To ensure DXP files route according to specific user/group rules or to enforce explicit file-level routing, consider the following best practices:
This article explains how Spotfire Server prioritizes file-specific states and rules, such as a pre-existing Web Cache or explicit Scheduled Update (SU) rules over general user or group-based routing rules.
When a DXP file has a pre-existing Web Cache on a particular Spotfire Web Player instance or is explicitly configured for Scheduled Updates on a specific Resource Pool, the server prioritizes this file-specific routing over any general user or group assignment. This ensures the analysis opens in its designated or cached environment, even if the accessing user belongs to a group assigned to a different Resource Pool.