View Single Post
  #2   Spotlight this post!  
Unread 21-06-2010, 16:37
Greg Marra's Avatar Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
no team (The Blue Alliance)
Team Role: RoboCoach
 
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

Things are up and running on the dev server, but hitting timeout deadlines is a problem. Generally, I think datastore ops take a long time because they are remote procedure calls that need to dial outside of the server actually executing the code and are blocking. The way around this is to group together datastore ops and execute them all at once, which is a bit more complicated to code but almost certainly better form.

In particular, I am getting punked by getting match results. With 100 matches on an event page, and 6 MatchTeam objects to deal with per Match, this means we are creating hundreds of objects to do a match result update. I am not sure what the best way around this is - probably some very aggressive transaction bucketing.
__________________
Formerly Bobcat Robotics - Team 177 and X-Factor - Team 2124, now The Blue Alliance
Reply With Quote