Question
Pegasystems Inc.
AU
Last activity: 7 Feb 2017 22:44 EST
Which is a better design - Listener doing the entire processing or Listener queuing the entire processing for an agent to take care of?
I have requirement, where a file listener parses a csv file and creates work objects for each of the record. The csv file contains more than 500 records.
Which one of them is a better design?
1. Letting the listener do the entire processing
OR
2. The listener queue the entire processing to an agent, which takes care of the processing.
My vote would be the listener queuing the entire processing to an agent, that ways the listener would be light weight.
Please let me know your views on this.