nus-cs2103-AY2122S1 / forum

18 stars 2 forks source link

Transaction processing and event driven architectural style #454

Closed marcuspeh closed 3 years ago

marcuspeh commented 3 years ago

How is transaction processing architectural style different from event-driven architectural style? Is transaction processing kind of automated whereas event requires some input?

rohit0718 commented 3 years ago

i feel that many of the styles given are not strictly mutually exclusive. imo, event driven style seems to be a more specific form of transactional style (where the events are the transactions).

damithc commented 3 years ago

Transactions are entities that are passed along and eventually, processed e.g., a new data item originates in the GUI, passed along to the storage layer, and saved in the database. Events are 'happenings' others subscribe to, and react to e.g., several components of a GUI might change when a user clicks on a button.

marcuspeh commented 3 years ago

Thanks for explaining Prof!