jquery - client side display results of asynchronous tasks [django] -
i'd know if there improve way/pattern of doing have in mind.
i have server side process executes asyncronous tasks. planning utilize celery this. asynchronous tasks can have sub tasks. though need review history of executed tasks , kid tasks, i'm not planning utilize celery result backend, hear task_finished signals , update existing django models i'm using logs needed.
the question around way study status of these tasks user?
so in web ui, there widget/block of html somewhere tasks , status listed. need display sub tasks grouped parent tasks , individual sub task status. on page, i'd poll using jquery everytime task executed , on interval.
my thought utilize atom according spec, strict rules around content element (link spec) allowed hold. specific concern around how represent kid tasks when using atom.
the other thought utilize straight json , parse accordingly.
does know of improve way/pattern utilize this?
jquery django asynchronous atom
No comments:
Post a Comment