28.06.2013 Views

Papers in PDF format

Papers in PDF format

Papers in PDF format

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Aria.recorder is also capable of spawn<strong>in</strong>g completely new “virtual” Aria.recorders<br />

that each answer on different communication ports. This is very useful to adm<strong>in</strong>istrators<br />

that may be host<strong>in</strong>g multiple websites and need to guarantee access bandwidth to each site<br />

as well as manage the activity account<strong>in</strong>g <strong>in</strong><strong>format</strong>ion from one site separately from that of<br />

another site.<br />

Aria.recorder may run as a s<strong>in</strong>gle process, but the number of threads used by the eng<strong>in</strong>e<br />

are user configurable and can be changed dynamically. It can support hundreds of threads<br />

which are only limited by the memory and swap space of the specific hardware <strong>in</strong> place.<br />

There are six basic classes of threads:<br />

• Accept<br />

• Buffer<br />

• Update<br />

• Transaction<br />

• Scheduler<br />

• Reaper<br />

Web adm<strong>in</strong>istrators can allocate the maximum number of threads to each class, depend<strong>in</strong>g<br />

on specific hardware limitations to optimize system resources.<br />

The Accept thread grabs the data stream<strong>in</strong>g from the Aria.monitor and throws the data<br />

onto a connection stack. The Buffer thread then grabs the data from the connection stack<br />

and places it <strong>in</strong>to a buffer stack, releas<strong>in</strong>g the Accept thread. The Buffer stack can expand<br />

<strong>in</strong> memory to accommodate peak loads, so the data can be processed later as more system<br />

resources become available dur<strong>in</strong>g off-peak hours. If Andromedia’s Aria.reporter is<br />

creat<strong>in</strong>g real-time reports, then additional hardware can be added at the site to m<strong>in</strong>imize<br />

buffer<strong>in</strong>g and accommodate the immediate process<strong>in</strong>g of all captured data. (A future<br />

Release will call an API to read the latest updates.)<br />

The Transaction thread parses the buffered data through a series of functions that are<br />

extensible based on specific site and/or application needs. The unique architecture of this<br />

extensible thread provides tremendous flexibility for configur<strong>in</strong>g Aria.recorder. The<br />

functions used by this thread are customizable for specific site and/or application needs,<br />

and can be easily modified as requirements change over time. All real-time data needs are<br />

controlled by this thread. Data elements that have been tagged for real-time access are fed<br />

directly <strong>in</strong>to memory and made immediately available to the application count<strong>in</strong>g on it.<br />

The Scheduler thread is used as a filter to purge <strong>in</strong><strong>format</strong>ion on a periodic basis. It is<br />

used for sampl<strong>in</strong>g purposes and for creat<strong>in</strong>g reports based on persistent data that has been<br />

previously captured. The Reaper thread is used for ag<strong>in</strong>g the data and clear<strong>in</strong>g disk space<br />

by delet<strong>in</strong>g obsolete data based on user specified rules. Aggregate <strong>in</strong><strong>format</strong>ion on the<br />

______________________________________________________________________________<br />

The Aria Architecture Page 18 Andromedia, Inc.<br />

White Paper July 1996

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!