One thread that has run through much of Carl Hewitt's writing on Actors is the concept of a "sponsor" for a computation. This can be used to control things like execution of multiple independent solutions to the same problem so that alternatives can be terminated when any one of them finds a solution. It also could provide a basis for very fine-grained cost allocation. Carl's recent work on ActorScript, and technologies relating to "privacy friendly cloud computing", may support something like what you want.
I plan to include this kind of capability in my Organix/Humus system, but it's not really ready for commercial use. Contact me directly if you would be interested in having me work on a custom solution for you. On Mon, Mar 7, 2011 at 11:48 PM, Russ Abbott <[email protected]> wrote: > Thanks, Stephen. How come you only post announcements to Friam? > > About Google, they have an advantage over my situation. They can start and > stop the clock when they start and stop the application. I don't know that I > can do that for agents. Also, I have no control over whether something else > runs while an agent's code is running. In a side conversation it occurred to > me that this might be a good application for Aspect Oriented Programming. > But it would still be more work than I was hoping to do. It's strange this > hasn't been considered before. > > -- Russ > > > > > On Mon, Mar 7, 2011 at 1:54 PM, Stephen Guerin <[email protected]> > wrote: >> >> Hey Russ, >> >> You might look at how Google App Engine tries to get a handle on this >> when charging for CPU: >> http://code.google.com/appengine/docs/billing.html >> >> Josh has pointed out that there's some weird interpretations. For >> instance, they quote $0.10 per cpu hour but don't specify the CPU. Is >> it the canonical CPU at standard atmosphere? :-) >> >> Google "google app engine calculating one cpu hour" to see interesting >> corner cases. >> >> -S >> >> On Mon, Mar 7, 2011 at 12:56 PM, Gary Schiltz >> <[email protected]> wrote: >> > Interesting idea. Most Common Lisp implementations compile to native >> > machine >> > code, so it might not be too hard to instrument the generated code to do >> > some kind of bookeeping. There are quite a few open source >> > implementations >> > out there, e.g. Steel Bank Common Lisp (www.sbcl.org) or Clozure Common >> > Lisp >> > (trac.clozure.com/ccl). >> > ;; Gary >> > >> > >> > On Mar 7, 2011, at 12:38 PM, Russ Abbott wrote: >> > >> > I'm considering the development of an ABM in which the agents are >> > charged >> > for the computations they do. But I can't think of a language that >> > facilitates that. I know that in most languages one can look at the >> > real-time clock, but I can't think of a language in which one can look >> > at a >> > dynamic count of (virtual) instructions executed -- or even an dynamic >> > measure of the amount of CPU time devoted to executing >> > the instructions of >> > each agent. Am I missing something obvious? Can anyone help. >> > Thanks. >> > >> > -- Russ >> > >> > ============================================================ >> > FRIAM Applied Complexity Group listserv >> > Meets Fridays 9a-11:30 at cafe at St. John's College >> > lectures, archives, unsubscribe, maps at http://www.friam.org >> > >> >> >> >> -- >> --- -. . ..-. .. ... .... - .-- --- ..-. .. ... .... >> [email protected] >> 624 Agua Fria, Santa Fe, NM 87501 >> office: 505.995.0206 mobile: 505.577.5828 >> >> redfish.com | sfcomplex.org | simtable.com | ambientpixel.com >> >> ============================================================ >> FRIAM Applied Complexity Group listserv >> Meets Fridays 9a-11:30 at cafe at St. John's College >> lectures, archives, unsubscribe, maps at http://www.friam.org > > > ============================================================ > FRIAM Applied Complexity Group listserv > Meets Fridays 9a-11:30 at cafe at St. John's College > lectures, archives, unsubscribe, maps at http://www.friam.org > ============================================================ FRIAM Applied Complexity Group listserv Meets Fridays 9a-11:30 at cafe at St. John's College lectures, archives, unsubscribe, maps at http://www.friam.org
