Connection management
Connection management results in fewer connections being made to the messaging system which may improve performance. Existing connections are reused whenever possible. Two situations exist where connection sharing occurs:
- between cards and maps within a map
- between multiple maps running serially within the Launcher
In the situation in which connection sharing occurs between cards and maps within a map, the connection is described as "active" as long as at least one card or rule is accessing a database and has yet to be committed or rolled back (that is, there is an active transaction). When all cards or rules complete the database access, connection is "inactive", but still open.