






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







-^
-^
Ensure all web servers are identical (no server-specific state)^ ⇒
don’t retain client state on web servers (hard to avoid …)
Randomly assign requests to servers (e.g., use an IP sprayer)
Avoid sending requests to a failed server
-^
-^
Brackets transactions (issues Start, Commit, and Abort)
Handles Aborts (returns cause of the Abort)
Does not access the DBMS
-^
-^
requires new
required
caller’s transaction, else start a new transaction
supported
caller’s transaction, else run outside of any transaction
not supported
Callee issues SetComplete when it’s done and willing tocommit, or SetAbort to abort.
Transparent Txn Bracketing (cont’d)
-^
Implements COM+ technology in Java: RequiresNew, Required,Supported, NotSupported
It came later, so there are two additions.
Mandatory – If caller is in a transaction, then run the callee inthat transaction, else raise an exception
Never – If caller is in a transaction, then raise an exception
-^
-^
-^
Start;get-request;Savepoint(“B”);.
if
(error) {Restore(“B”);
Commit;}
Commit;
-^
-^
which components share an address space
how many control threads per address space
-^
-^
Too much context switching
Too much fixed memory overhead per process
Process per user per machine, when distributed
Some OS functions scan the list of processes
Load control is hard
-^
-^
but it scales, with flexible configuration and control