STAF doesn't have any problems with 100 long-running handles in general.
Each STAF handle uses some memory in STAFProc (some for the handle itself,
including for its queue and some to manage the handle), but not usually
that much unless there's a lot of large messages on the handle's queue
that are not being handled in a timely manner. A queue is associated with
each STAF handle so the amount of memory the handle is using is more
dependent on how many messages are in the handle's queue and how large are
the messages (e.g. STAF/Process/End messages for STAF process that were
asynchronously started by that handle, etc).
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: Erik Mägi <erik.ma...@gmail.com>
To: staf-users@lists.sourceforge.net,
Date: 05/21/2013 04:40 PM
Subject: [staf-users] Static handle creation costs
Hi,
Could anybody with good understanding of how STAF works under the hood
give a short overview of what happens when a static handle is created (how
many threads per handle etc.).
I'm working on a distributed testing framework that uses one central
machine to manage/schedule/run/log tests and each test can run on one or
more remote test nodes. I want to know if creating a separate handle for
each node for communicating with the central machine is something I should
consider. Right now we have one handle per test, which, while
computationally less costly, it adds unnecessary complexity to our system.
So, if it is not too expensive, I would like to make things simpler by
giving each node its dedicated handle.
Currently the max number of nodes simultaneously communicating with the
central machine is around 15 but it can eventually grow up to ~100. Would
100 long-running handles be a problem for STAF?
Regards,
Erik
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring
service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users