Instead of ERROR 500, it might read ???We??™re
sorry! The application is currently having difficulty handling your request.???
Approaches.to.Building.More.Resilient........................
Web.Applications
Numerous challenges face application developers and architects developing scalable Web
applications that also maintain performance and reliability. In the previous section, we
covered five scenarios that often plague Web applications: data source contention; performing
too many tasks; care and maintenance; platform and network capability; and exception
handling. With each of these areas, we explored some of the popular approaches for addressing
the problem space.
In this section we examine alternative approaches to these problems that have proven best
practices in our own architecture and application design. We will cover:
??? Caching strategies for high-availability Web applications: beyond storing copies of
HTML (Challenger et al., 1998; Iyengar et al., 1997)
??? Asynchronous task processing within Web applications: removing non-essential linear
logic from high-volume transactions (Grand, 2002)
??? Building self-reliant autonomous behavior: encapsulating through services achieving
tight integration with true loose coupling (Birman et al.
Pages:
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310