Support for asynchronous messaging  Systems management support

Chapter 1: Introducing EAServer

Asynchronous processing support

Most server processing is driven by client interaction. However, some tasks are best performed asynchronously. For example, you may need to maintain copies of cached data retrieved from a slower source, update search indexes on a regular schedule, or perform lengthy calculations. EAServer provides two vehicles to support asynchronous processing:

External processing

EAServer’s C++ component model allows you incorporate legacy C and C++ business logic code into a component. However, if legacy code is unstable, it can cause the server to crash.

Beginning in version 4.0, you can configure C++ components to execute within a dedicated external process. EAServer spawns a subprocess to execute the component, and issues component invocations using interprocess communication. See Chapter 14, “Creating CORBA C++ Components,” in the EAServer Programmer’s Guide for more information.





Copyright © 2003. Sybase Inc. All rights reserved. Systems management support

View this book as PDF