unique visitor counter

Dependency tree for mashup

  • Category :
  • technology
  • July 25th, 2007

    As I was going through code at work, one of the call was spawning 12 threads to call various web service to populate its underlying data tables.

    Now, with all the mashup that are in place out there, wouldn’t it be nice to have a RoR module that will accept a dependency language for the different web service calls it needs (kinda like what make does) and spawn off the head vertices as seperate thread? I bet it’s already out there…

    Entry Filed under: technology

    1 Comment Add your own

    • 1. tyler rooney  |  July 26th, 2007 at 2:36 pm

      I’ve actually encountered that problem as well (except I don’t explain it the way you just did).

      I basically created a webServiceProxy object which initializes with a callback method such that when i need the data the appropriate webservice call is made and the data is transformed as needed. when something depended on other web service calls (like your head vertice example) it just used the other proxied object in question.

      either way, i’m still not crazy about my solution. it still requires too much code (although most of it is for transforming resulting xml into the objects I want in ruby)

    Leave a Comment


    Required, hidden

    Check Spelling
    Activate Spell Check while Typing

    Some HTML allowed:
    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Trackback this post  |  Subscribe to the comments via RSS Feed


    November 2021
    M T W T F S S
    « Aug    

    Most Recent Posts