Question

1
Replies
178
Views
Nikhil_Agarwal Member since 2015 37 posts
Posted: 3 years ago
Last activity: 3 years 10 months ago
Closed

Sticky session for event strategy tumbling window

Hi

We have developed an application which processes events from various sources like google analytics, MQ etc. These events are mostly transactional data e.g. purchase, debit, credit, account transfer etc. We have a event strategy which listens for duplicate transaction within 10 secs of tumbling window. The source of events are not on Pega server. How do I ensure the sticki-ness of the event based on a custom key e.g. visitorid or account num. 

E.g.

Transactions from same customer (visitorID : C1)

T1 : Swipe card at sales terminal. 

T2 : Swipe card at sales terminal again. 

Current Behaviour : 

T1 : LoadBalancer redirects  to appserver 1.

T2 : LoadBalancer redirects  to appserver 2.

Expected Behaviour : 

T1 : LoadBalancer redirects  to appserver 1.

T2 : LoadBalancer redirects  to appserver 1 (based on visitorID : C1).

How this scenario can be implemented ..?

Low-Code App Development Decision Management
Moderation Team has archived post
Share this page LinkedIn