Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Work with Sessions interface shows a list of active Profound.js sessions.

Image Added

Click here for information on how to modify this setting.

Multiple Profound.js Servers

If your environment uses a load balancer with multiple Profound.js servers, you can enable a combined view of sessions on all server servers by specifying an object with a servers array for the workWithSessions configuration. For example:

Code Block
languagejs
workWithSessions: {
  enabled: true,
  servers: [
    "http://server1:8081",
    "http://server2:8082"
  ]
}

Click here for information on how to modify this settingWith this configuration, the servers must be able to reach each other on the network. If each server is configured with a full list of servers used by the application, then the combined Work with Profound.js Sessions interface (/sessions URL) can be accessed from any Profound.js server.

Dynamic Servers

If the list of servers is dynamic, the server property can be specified as a JavaScript function that returns an array of servers dynamically.

The function can either be synchronous or an async function.