Master SOA Design Pattern Catalog
|
|


"Introducing SOA Design Patterns", SOA World Magazine (PDF)


"The Case for Single-Purpose Services: Understanding the Non-Agnostic Context and a Strategy for Implementation", SOA Magazine (HTML)


"REST-Inspired SOA Design Patterns", SOA Magazine (HTML)


"Service-Orientation and Object-Orientation Part I: A Comparison of Goals and Concepts", SOA Magazine (HTML)


"Service-Orientation and Object-Orientation Part II: A Comparison of Design Principles", SOA Magazine (HTML)


"Service Facade", InformIT (HTML)


"Non-Agnostic Context", InformIT (HTML)


"Domain Inventory", InformIT (HTML)


"Service Normalization", InformIT (HTML)


"Service Decomposition", InformIT (HTML)


"Canonical Schema", InformIT (HTML)


"Policy Centralization", InformIT (HTML)


|
|
|

Service Recurring (candidate)

|

Home > Candidate Patterns List > Service Recurring
|
|
How can services do a batch processing that runs periodically triggered by time event?
|
|
|

Problem

When there is need to do recurring job that will execute certain process with high load of data and notified specified SOA actors.
|
|

Solution

Creating recurring services framework that implements data pump loader, executor engine, and push notification services. Data pump loader is responsible to fetch data with some threshold load and send it to executor engine to do the batch processing. Every completed process will then sent to queue which will be consumed later by push notification services.
|
|

Application

Service recurring is defined with coarse grained services component consisting of data pump loader, executor engine, and push notification services. These three component communicated through messaging services
|
 |
 |
 |

Impacts

Will give some extra load to the servers when batch processing happens.
Give less effort for other activities then the business process implementation itself
Standardized services process
|
|
|
|
|
|

Status

Under Review
|
 |
 |
 |

Contributors

Masykur Marhendra
|
|
|
| |

Problem

In commercial industry, there will always products to be marketed. Customer who wants to use the products must do the registration first especially for subscribed products. Marketer must do balance deduction based on price plan offered to the subscriber in periodical manner. This recurring activity often occurs on almost whole product. With service recurring pattern hopefully can give usefulness on all products that needs recurring.


Figure 1 – Every different product will be recurred with different services.


Solution

Create recurring services framework that implements data pump loader, executor engine, and push notification services. Data pump loader is responsible to fetch data with some threshold load and send it to executor engine to do the batch processing. Every completed process will then sent to queue which will be consumed later by push notification services


Figure 2 - Service Recurring architecture.


Impact

Services engine pattern will give some extra load to the servers when batch processing happens. Meanwhile, it can give less effort for other activities then the business process implementation itself. What we need to focusing is only on business process implementation which is how the executor engine will do. Then, we can also have standardized services process (including audit trails, authorization, and authentication)lementing the same fragments in both processes, they are reused in the process orchestration management tooling.


Case Study Example

In telecommunication industries, almost every day markets a new product. One of it is Blackberry Internet Services. To be able to use this service, customer must subscribe first through UMB or SMS. Customer can choose weekly or monthly services. After they subscribe, on the next period customer’s balance will be deducted automatically whenever his/her balance still sufficient. This is where Service Recurring does the job. Load all subscriber number that registered , and then do balance adjustment according to the price plan that offered to each subscriber.


Figure 3 - Blackberry Services Recurring process begins with subscription process.

|
|
|