25.01.2015 Views

Cost-Based Optimization of Integration Flows - Datenbanken ...

Cost-Based Optimization of Integration Flows - Datenbanken ...

Cost-Based Optimization of Integration Flows - Datenbanken ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5 Multi-Flow <strong>Optimization</strong><br />

the query <strong>of</strong> o 3 (Invoke) such that additional information for all messages <strong>of</strong> the batch is<br />

loaded from the external system, which led to an improvement due to fewer plan instances.<br />

The naïve (time-based) approach mainly depends on the waiting time. An increasing<br />

waiting time causes a larger number <strong>of</strong> messages in every batch and therefore it causes a<br />

decreasing number <strong>of</strong> batch plan instances. As a result, the relative execution time per<br />

message might decrease and message throughput increases. However, the naïve approach<br />

has the following major drawback:<br />

Problem 5.4 (Distinct Messages in the Batch). Due to the simple (time-based) model<br />

<strong>of</strong> collecting messages, there might be multiple distinct messages in the batch according to<br />

the attributes used by the operators <strong>of</strong> P ′ . It follows that we need to rewrite the queries to<br />

external systems. Figure 5.3 illustrates common cases <strong>of</strong> those queries.<br />

Q:<br />

Q’:<br />

Q’:<br />

service interface<br />

get( x )<br />

Q:<br />

σ A=100<br />

S<br />

σ A=100 ᴠ A=200<br />

S<br />

σ A

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!