|
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.
|