Hi.
I would like to know what are the advantages of setting the stateless property to true in the integration server services?
Is this recommended?
Hi.
I would like to know what are the advantages of setting the stateless property to true in the integration server services?
Is this recommended?
It is recommended to keep top-level services as stateless always, unless it is called by clients for whom you want to maintain sessions (example: same client calling your service very often).
Setting stateless property to false will cause IS to send back cookies, maintain sessions in the IS, which adds up into heap usage and additional overhead in managing the sessions. setting it to true will avoid these tasks, however, auth happens everytime user attempts to connect.
Unless you want session to be maintained, set stateless property to true.
-Jay
This is helpful, thanks. I’d love to make this the thread where we clear up as many aspects of this as possible, as the docs could be clearer regarding which situations stateless is for.
For example:
Probably more, but if anyone knows the answer to any of those, please share