Friday, May 21, 2010

iHackathon - coming soon

iHackathon 4 Charity

May 29th & 30th
Saskatoon and Halifax

Software developers. Graphic designers. Social media gurus. Marketing experts. Ninjas. Use your talents for good to help build an army of kick ass iPhone and iPad applications!

Thursday, May 20, 2010

asynctools - execute Google App Engine API calls in parallel

asynctools is stewarded by Vendasta Technologies; we're in the App Engine Pod at Google I/O.

Come by for a demo!

asynctools is a library allowing you to execute Google App Engine API calls in parallel. API calls can be mixed together and queued up and then all are kicked off in parallel. Callbacks can be used to operate over completed calls immediately, if desired.

Currently, wrappers for Query and UrlFetch API calls are available. More will come over time.

Additionally, CachedMultiTask provides a mechanism to transparently cache the results of the parallel API calls.

An example invocation kicking off a set of parallel data store queries is as follows:

# set up the async queries
runner = AsyncMultiTask()
for fbuid in facebook_user_ids:
query = db.GqlQuery("SELECT __key__ FROM Account WHERE facebook_id = :1", uid)
runner.append(QueryTask(query, limit=1, client_state=fbuid))

# kick off the work
runner.run()

# peel out the results
for task in runner:
task_result = task.get_result() # will raise any exception that occurred for the given query
print '%s: %s' % (task.client_state, task_result[0])

VendAsta is at Google I/O


I've been following the tweets and other action while Mike, Blair, Kevin and Jason attend Google I/O.

We've created a social networking game on top of our MashedIn technology. They guys down there are giving away an iPad for the most connected attendee at the conference. As people join and invite others we let them connect with their mobiles through various social networks - our technology allows us to establish the interconnectedness of people accross their social graphs and shows a leader-board style game board.

We use MashedIn, built on Google appengine, and our own asynctools library - the team managed to come up with this prototype in less than a week to demonstrate yet another application built on top of this technology. Or goal was to promote awareness among developers and get feedback on how we might best make an API available for others to use.



VendAsta
is at the developer's sandbox at Google I/O - stop by and visit Kevin or Blair to find out more...