taranjeet / taranjeet.github.io

https://taranjeet.co
Other
2 stars 0 forks source link

Management Commands in Django: Doing Async commands without using Celery. #39

Open taranjeet opened 6 years ago

taranjeet commented 6 years ago

Points

Possible content: Take an example - create an app, with a view that downloads a csv of books (book, author model). start with a simple approach of http response, then show some detail streaming http response and finally move to management commands. show how you can spawn a process in views. use of virtualenv as well. tell advantage of this method(no additional requirement of any queueing solution, figure out more). disadvantage - some time may be taken in spawning the process(but that can be ignored since it's mainly async).

taranjeet commented 6 years ago

Possible Title:

taranjeet commented 6 years ago

PR https://github.com/taranjeet/blog/pull/4