Django ORM
https://www.slideshare.net/perhapsspy/django-42665652
www.slideshare.net
https://docs.djangoproject.com/en/2.2/topics/db/examples/
docs.djangoproject.com
비동기 IO
- 필요한 이유, Worker 의 개념
http://egloos.zum.com/killins/v/3093026
Celery, Distributed task queue 혹은 worker
웹서비스에서 뒷단의 작업을 처리하는 별도의 프레임웍을 사용하는 케이스가 많은데 보통 이런 기능을 하는 프레임웍을 worker라고 많이들 부른다. 그중 파이썬으로 작성된 celery 및 worker의 간단한 개념을 정리해본다.사실 celery를 무엇이라고 불러야할지 명확하게 잘 모르겠다. Celery 공식 홈페이지에는 Distributed task queue
egloos.zum.com
메시지 큐 오픈소스: https://www.rabbitmq.com/tutorials/tutorial-one-python.html
RabbitMQ tutorial - "Hello world!" — RabbitMQ
Introduction Prerequisites This tutorial assumes RabbitMQ is installed and running on localhost on standard port (5672). In case you use a different host, port or credentials, connections settings would require adjusting. Where to get help If you're having
www.rabbitmq.com
- Demo
https://spoqa.github.io/2012/05/29/distribute-task-with-celery.html
Celery를 이용한 긴 작업 처리
처리 시간이 오래 걸리는 작업을 Celery를 통해 개선하는 방법을 알아봅니다.
spoqa.github.io
https://www.slideshare.net/JueunSeo1/django-64975491
www.slideshare.net
- Usage
https://www.linode.com/docs/development/python/task-queue-celery-rabbitmq/
How to Set Up a Task Queue with Celery and RabbitMQ
How to Set Up a Task Queue with Celery and RabbitMQ
www.linode.com
Docker 배포
https://github.com/chrisk314/django-celery-docker-example
chrisk314/django-celery-docker-example
Example Docker setup for a Django app behind an Nginx proxy with Celery workers - chrisk314/django-celery-docker-example
github.com
'Note' 카테고리의 다른 글
동적 라이브러리 경로 변경 (0) | 2019.07.24 |
---|---|
[Linux Debugger] strace (0) | 2019.07.03 |
오픈소스 가이드 (0) | 2019.06.30 |
Eclipse + Android SDK (0) | 2019.04.06 |
의존성 관리와 빌드 자동화 툴 (Dependency management and a build automation tool) (2) | 2019.03.30 |