Purple Server Home | Overview | API Documentation | Download

Purple Server Overview

overview.html Version $Id: overview.html,v 1.2 2003/02/05 21:16:43 alex Exp $

The Server

The following slides were taken from the presentation Building a Robust Multithreaded Server in Java

Queuing Model

Blocking Queue

JDK 1.2 Collections

Basic Object Model

Basic Object Model (Fig.)

img084.gif (10312 bytes)

Acceptor Thread

Clients Set

Receiver Thread

Receiver Thread: Alternative

Incoming Queue

Processor Thread

Full Object Model

Full Object Model (Fig.)

img092.gif (11093 bytes)

Problems List

Checker Thread

Auditor Thread

Non-Blocking Input Stream

Thread Safety Policies

Thread Safety Policies

Priority: Why?

Priority: Why?

Priorities: General Strategies

Priorities: Queuing Strategies

Priorities: Decisions

Priorities: Decisions

Priorities: Decisions

Priorities: Decisions

Priorities: Conclusion

Processor Thread Behavior

Processor Thread Blocking

Processor Thread Blocking

Multiple Processor Threads

Multiple Processors (Fig.)

img112.gif (8587 bytes)

How Many Threads?

Thread Pooling

Thread Pooling (Cont.)

Information Flow

Limiting Flow

Another Problem

Another Problem: Solutions

Debugging Techniques

Thread Dump

Bots