Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Un site web mobile en Django
Search
Timothée Peignier
April 15, 2012
Programming
460
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Un site web mobile en Django
Timothée Peignier
April 15, 2012
More Decks by Timothée Peignier
See All by Timothée Peignier
Dr. Rubocop
tim
0
210
Et votre backoffice ?
tim
0
290
Mesurer (par)tout, tout le temps
tim
2
710
Mobile Web Performance
tim
1
340
Other Decks in Programming
See All in Programming
SREの積み重ねがAI駆動開発のガードレールになった ― 7つの実践/SRE Guardrails The 7
tomoyakitaura
8
3.9k
なぜ関数型プログラミングで「型」と「証明」が語られるのか #fp_matsuri
kajitack
3
800
フィードバックで育てるAI開発
kotaminato
1
110
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
190
Embedded SREと共に達成した会員管理システムのAWS移行 - SRE NEXT 2026 ランチスポンサーセッション
niftycorp
PRO
1
2.3k
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
460
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
160
分散システム、なんですぐ死んでしまうん?耐障害性を高めたいあなたのためのレジリエンスパターン入門
mshibuya
7
5.7k
PHPだって関数型したい 〜できること、できないこと〜 / fp-in-php
jsoizo
0
190
Signal Forms: Details & Live Coding @enterJS 2026 in Mannheim
manfredsteyer
PRO
0
220
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
7
1.8k
1年で人数1.5倍、PR数5.5倍増。 品質とアウトカムはどうなったか、 何が効いたか
ike002jp
0
120
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
630
Mind Mapping
helmedeiros
PRO
1
280
Code Review Best Practice
trishagee
74
20k
WENDY [Excerpt]
tessaabrams
11
38k
The Language of Interfaces
destraynor
162
27k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
880
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
290
Joys of Absence: A Defence of Solitary Play
codingconduct
1
410
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
750
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
72
40k
Transcript
Un site web mobile en Django m.20minutes.fr
contraintes léger, rapide et versatile
léger RAM 256-1024 Mb CPU 600Mhz-1.2Ghz
léger Servir une version compressé Servir le strict nécessaire
django-pipeline concatenation + compression (js, css, html) + template js
https://github.com/cyberdelia/django-pipeline léger
rapide 100-500ms de latence 200kb/s-800kb/s en téléchargement
Limiter le nombre de requêtes Tricher sur les interactions rapide
rapide Donner une impression de rapidité
versatile Une seule implétementation pour tous les terminaux
versatile Servir la version la plus légère par défaut Pouvoir
servir pour n’importe quelle taille (images, vidéos, etc.)
versatile Tester, tester, tester.
le récap’ léger RAM/IO rapide Edge / 3G versatile Screen
/ OS
tenue en charge mesurer et réagir
Pages vues 6 645 000 Visites 3 125 000 en
chiffres #
Varnish Apache + modWSGI architecture MySQL & Redis
mixins class VideoListView(CacheControlMi xin, PaginationMixin, ListView): paginate_by = 10
cache_timeout = 60 https://gist.github.com/1231560
jitter class VideoDetailView(JitterCacheC ontrolMixin, DetailView): cache_range = [40, 80]
https://gist.github.com/1231560
mesurer applicatifs infrastructure logs notifications
mesurer applicatifs + infrastructure statsd collectd metrology https://github.com/cyberdelia/metrology
mesurer logs
mesurer notifications à toute l’équipe
réagir Métriques importantes à portée Date et contenu du
dernier déploiement
réagir Visualiser les problèmes et leur résolutions
réagir Avoir un accès direct aux erreurs
prévenir Vérifier et tester automatiquement hooks + tests +
ci + rollback
prévenir git hooks (pep8 + pyflakes) https://gist.github.com/2343286 self.assertMaxQueries(5) https://gist.github.com/2320495
le récap’ tout mesurer réagir en fonction prévenir en amont
Merci beaucoup (ne soyez pas timide, posez une question et
passez me dire bonjour ensuite) @cyberdelia