Re: task-distribution and multiple clients...

2007-09-04 Thread Jacek Trzmiel
Bram - Smartelectronix wrote: > I have some tasks (in my case songs that need "rendering") which are > executed on various amazon EC2 machines. I need to distribute each task > to one machine only and make sure there's no concurrent rendering. > > I tried this: > [...] > song_id = int

task-distribution and multiple clients...

2007-09-03 Thread Bram - Smartelectronix
Hello Everyone, I have some tasks (in my case songs that need "rendering") which are executed on various amazon EC2 machines. I need to distribute each task to one machine only and make sure there's no concurrent rendering. I tried this: @transaction.commit_manually def get_song_to_process(