16.11.2013 Views

Modeling the Aspects of Quality of Service in Web Services and ...

Modeling the Aspects of Quality of Service in Web Services and ...

Modeling the Aspects of Quality of Service in Web Services and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Type Attribute Attribute Name Example<br />

Application Specific Accuracy <strong>of</strong> results result_accuracy<br />

result_accuracy = 78<br />

weight = 100<br />

Interface requirements <strong>in</strong>terface_grammar<br />

<strong>in</strong>terface_grammar = “<strong>in</strong>t <strong>in</strong>t str<strong>in</strong>g<br />

real”<br />

weight = 10<br />

comm_protocol = https<br />

weight = 40<br />

Protocol used<br />

comm_protocol<br />

Security variables: type <strong>of</strong><br />

security – certificate <strong>and</strong> <strong>the</strong><br />

location <strong>of</strong> <strong>the</strong> certificate, etc… security_type<br />

Session state variables: session<br />

timeout, maximum number <strong>of</strong><br />

session variables allowed, keep<br />

alive timeout<br />

Time scale<br />

<br />

<br />

Acme Search <strong>Service</strong> B3<br />

<br />

25 <br />

<br />

<br />

<br />

In <strong>the</strong> scenario described above, Acme <strong>Service</strong>s<br />

Corp. <strong>of</strong>fers three SES’s, all us<strong>in</strong>g <strong>the</strong> same<br />

session_timeout,<br />

max_session_var,<br />

keep_alive_to<br />

time_scale<br />

General Value scale value_scale<br />

Cost scale<br />

Size scale<br />

Relative scale<br />

Price<br />

Turn around time <strong>of</strong> results<br />

B<strong>and</strong>width requirements<br />

Total data to be transmitted<br />

Reliability<br />

Log<strong>in</strong> Required<br />

cost_scale<br />

size_scale<br />

relative_scale<br />

cost_per_usage<br />

ta_time<br />

b<strong>and</strong>width_req<br />

est_data_size<br />

reliability<br />

req_log<strong>in</strong><br />

Table 1: <strong>Quality</strong> Attributes <strong>and</strong> Example Values<br />

security_type = SSL<br />

weight = 40<br />

session_timeout = 600<br />

max_session_var = 10<br />

keep_alive_to = 30<br />

weight = 10<br />

time_scale = seconds<br />

weight = 0<br />

value_scale = real<br />

weight = 0<br />

cost_scale = USD<br />

weight = 0<br />

size_scale = KB<br />

weight = 0<br />

relative_scale = %<br />

weight = 0<br />

cost_per_usage = 0.50<br />

weight = 101<br />

ta_time = 360<br />

weight = 90<br />

B<strong>and</strong>width_req = 256<br />

Weight = 10<br />

est_data_size = 1024<br />

weight = 10<br />

reliability = 99.999<br />

weight = 100<br />

req_log<strong>in</strong> = false<br />

weight = 10<br />

algorithm, algorithm B. Based on <strong>the</strong> QAs desired by<br />

<strong>the</strong> SC, <strong>the</strong> directory service calculates <strong>the</strong> (QV) <strong>and</strong><br />

returns it with <strong>the</strong> search results. The SC can <strong>the</strong>n<br />

determ<strong>in</strong>e to which SES it wants to connect to: Acme<br />

Search <strong>Service</strong> B2 <strong>in</strong> this case.<br />

9. Benefits <strong>of</strong> QoS<br />

In addition to <strong>the</strong> filter<strong>in</strong>g ability ga<strong>in</strong>ed dur<strong>in</strong>g<br />

discovery time by <strong>the</strong> SC <strong>in</strong> choos<strong>in</strong>g an SP, <strong>the</strong> SC<br />

can cache <strong>the</strong> returned QVs for later use. In recovery<br />

time, <strong>the</strong> QVs can <strong>in</strong>itially be used to fur<strong>the</strong>r<br />

<strong>in</strong>vestigate <strong>the</strong> possibilities <strong>of</strong> choos<strong>in</strong>g a backup.<br />

The backup <strong>and</strong> recovery benefits <strong>of</strong> add<strong>in</strong>g QoS is

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

Saved successfully!

Ooh no, something went wrong!