Backend Process Manager
Tymeac is a Backend Server -- the base
for persistent storage.
This is what operating systems call a "process".
Why separate the
Connection from the Application?
You define queues for your requests and the maximum number of application threads to
process those requests. These are what are known as logical processes*.
Since logical processes and client processes run independently of each other, the
interaction is asynchronous.
An asynchronous process requires a degree of management necessary to make it
Tymeac is a management
facility for these queues and threads. Frequently Asked Questions describes an asynchronous-process, asynchronous-threads
and a backend service.
Tymeac separates a request into its
component parts (request brokering) and places each part into a component queue. Each
queue has one or more associated application threads that can concurrently process
requests. Tymeac then either returns the
response to the requester or passes the response to another process.
- In its simplest form you may use Tymeac
as a background queue. That is, keep putting requests into a Tymeac
queue and let a single thread processes the requests. (Like you would for a print queue,
only with error recovery and control.)
- You may pass a request to Tymeac and
receive the concatenated return objects of all the components (a Synchronous Request.)
A simple request requires parallel queries to a marketing database and a sales
Tymeac places the request into two
separate component queues. A thread on the marketing queue accesses the marking database.
A thread on the sales queue accesses the sales database. Tymeac
returns the response from these accesses to the requester.
- You may pass a request to Tymeac
and not wait for the reply (an Asynchronous Request.)
A complex request requires the combined information from three processes as input
to a compute intensive process and the result sent to the requester on a dynamically
Tymeac places the request into three
separate component queues and returns control to the requester. When all three processes
complete, Tymeac schedules the compute
intensive process. When that process completes, Tymeac
schedules an Agent to send the response to the requester on a dynamically acquired
The possibilities are endless.