A common performance optimization for a server process is to send the reply
to each request as early as possible, before final operations that are not
in the critical path (such as buffer cleanup, state updates, logging and f
ile updates). The operations after the reply form a 'second phase' of servi
ce. This does not delay the current request from the client, but may delay
succeeding requests. The net performance improvement depends on the number
of clients at a server, its utilization, and the proportion of the total wo
rk which is placed in the second phase. This dependence is explored using a
nalytic models that include an improved special approximation for two phase
s service in queueing networks, and layered queueing networks The result is
an approximate analysis for large and complex client-server systems, with
second phases. (C) 1999 Elsevier Science B.V. All rights reserved.