Check out the appserver project for using compute with grasshopper definitions
A workshop video on this technology can be found at