Question
Tata Consultancy Services Ltd
CA
Last activity: 22 Mar 2022 3:37 EDT
Service Package : Stateless Vs Stateful
Hi Team,
I have a query on how Pega implements Stateful or Stateless processing in context of Service package.
Say i have a service package, having two REST services - A and B. And i have defined the processing mode as Stateful in the Service package.
So when Requestor 1 comes, there will no existing page in memory, and they have to start their processing from scratch. But when Requestor 2 access the same service, then do we persist the clipboard pages (from Requestor 1 session) in Requestor 2 as well in Stateful configuration. Or in other words, Can Requestor 2 still access the clipboard pages used by Requestor 1 ? Is this how Stateful configuration works ?
Or the state(clipboard pages) of the requestor is only persisted for the other services that are part of the service package ? i.e Requestor 1 can reuse the clipboard pages from Service A processing in Service B as well but when another requestor access the service, then all the pages are deleted from memory and the requestor starts Service A with no pages in memory.