Go to Post I hope FIRST hurries up and releases the regional schedule soon. I have a vacation schedule to plan. - Koko Ed [more]
Home
Go Back   Chief Delphi > Other > FIRST-related Organizations > The Blue Alliance
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 22-06-2010, 15:50
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,030
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: [TBA]: TBATV v4 Development Log

Quote:
Originally Posted by Pat Fairbank View Post
I assume you're using Python?

I've run scripts before on App Engine that have created a few hundred objects in one go, and they seem to work okay (in the cloud, at least; it totally kills the local development server whose datastore implementation just can't compete with Bigtable).

I don't have any experience with this, but I'm pretty sure you can pass an optional RPC object argument that can specify a callback, to both the URL fetcher and the datastore, to make them act asynchronously. That way, you should be able to run operations simultaneously.
Yup, we're using Python. I've actually found the cloud to be slower than the local SDK. Maybe there have been improvements in the SDK, but the roundtrip time on the synchronous RPCs in the cloud adds up.

Making datastore tasks asynchronous and non-blocking is very attractive. I'll have to read up on RPCs. Thanks for the pointer!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[TBA]: [TBA] Curie 2006 and soap108.com jblay The Blue Alliance 3 21-04-2010 00:25
[TBA]: Kickoff 2009 Liveblogging Site Development Greg Marra The Blue Alliance 23 30-12-2008 18:37
[TBA]: h.264 Video Analysis, and Improving TBATV Video Quality artdutra04 The Blue Alliance 5 29-09-2008 00:29
[TBA]: API Client Development Greg Marra The Blue Alliance 21 04-05-2008 20:06
[TBA] TBA Presents... Soldering and Multimeter Tutorials Greg Marra General Forum 0 27-01-2007 20:15


All times are GMT -5. The time now is 02:19.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi