- high availability
https://n3tc4t.github.io/blog/simple-dbha-for-django-app
https://www.slideshare.net/fdintino/high-availability-django-djangocon-2016
profiling(성능분석):
• Hosted services: New Relic, Opbeat
• django-debug-toolbar, django-silk
• cProfile / pyprof2calltree / KCacheGrind for masochists
• WSGI middleware
monitoring(모니터링)
• Downtime notifications: Alertra, New Relic, Opbeat, Chartbeat
• Nagios and its many forks, Zabbix
Caching
• Use a CDN
• Proxy cache (Nginx, Squid, Varnish)
• {% cache %}, @cached_property, CachedStaticFilesStorage, cached template loader
• Page caching frameworks
• ORM caching: a mixed bag
Query optimization
• .prefetch_related(), .select_related()
• prefetch_related_objects() for generic foreign keys
• .values() and .values_list() where it counts, if possible
• Database parameter tuning, judicious indexing
uWSGI
• Broad and active community (넓고 활성화된 커뮤니티)
• Very thorough documentation (overwhelming, in fact) (친절한문서)
• Highly configurable (설정이다양함)
'TF' 카테고리의 다른 글
[Research] API gateway (0) | 2017.06.29 |
---|---|
[Research] microservice (0) | 2017.06.29 |
[Research] openstack (0) | 2017.06.27 |
[Research] Quota/Spike difference (0) | 2017.06.27 |
[Research] 스파이크( spike) (0) | 2017.06.27 |