7
Web Application Servers Dean Jacobs BEA WebLogic

Web Application Servers

Embed Size (px)

DESCRIPTION

Web Application Servers. Dean Jacobs BEA WebLogic. The Right Question. Middleware is converging Web Application Servers = TP Monitors What new demands do the Internet and Java place on middleware?. System Architecture. Database. Browsers. Web Servers. Application Server Cluster. - PowerPoint PPT Presentation

Citation preview

Page 1: Web Application Servers

Web Application Servers

Dean Jacobs

BEA WebLogic

Page 2: Web Application Servers

The Right Question

• Middleware is converging Web Application Servers = TP Monitors

• What new demands do the Internet and Java place on middleware?

Page 3: Web Application Servers

Browsers

Database

Web ServersApplication Server

Cluster

System Architecture

Page 4: Web Application Servers

Web Servers

• Web Servers not integrated with middleware– Adds an extra server-side hop with no benefit– Obviates the front line of session concentration

• Web Servers integrated with middleware– Standard Web Servers must be supported– Front line session handling - load balancing and

transactions - must occur in Web Server plug-ins

Page 5: Web Application Servers

Relaxed Durability/Consistency Trade durability or consistency for performance:

avoid disk accesses by keeping state in memory.• Shopping Cart Stored as browser-session state

in a servlet engine. To avoid writing backups to disk, replicate in-memory on a secondary host.

• Catalog Data Changes infrequently and may be briefly out-of-date. To avoid disk reads, cache on many servers in a cluster. Update anywhere and lazily flush the caches.

Page 6: Web Application Servers

Fat Processes with Threads• Radically different process model: 2-3 processes

per host, each a logical machine• Multiple resource managers per process• Multiple threads accessing each resource• Threads are not isolated from each other

Page 7: Web Application Servers

Object Lifetime In-Memory

• CORBA relies on the programmer to release objects• Component models (EJB) prescribe object lifetimes• Programming language object models (RMI) require

DGC. How can that scale?