my vendor need to setup RFA8.1 Java on Linux connecting to TREP server for 2 session at a time (use same user and same network port for both session)
session 1 for real time data feed, this session always connected,
session 2 for schedule task.
so please advise, what they do are practical or not?
Multiple sessions refer to a connection will have separate connection instance created for each session by default. You can setup RFA8 connect to TREP server 2 session at a time. Normally, Use of multiple Session instances allows segmenting information, perhaps to separate different types of market information.
I understand that for schedule task, session 2 does not need to always connect to the server (just connect to the server according to the schedule). However, session 1 always connects to the server. Using multiple sessions allows the session 2 is not created or does not connect before the schedule time meanwhile the session 1 still connects. This will help you to reduce memory usage and resource used by the session 2.
Hope this help.