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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Timothée Peignier
April 15, 2012
Programming
1
450
Un site web mobile en Django
Timothée Peignier
April 15, 2012
Tweet
Share
More Decks by Timothée Peignier
See All by Timothée Peignier
Dr. Rubocop
tim
0
190
Et votre backoffice ?
tim
0
280
Mesurer (par)tout, tout le temps
tim
2
680
Mobile Web Performance
tim
1
330
Other Decks in Programming
See All in Programming
おれのAgentic Coding 2026/03
tsukasagr
1
120
KagglerがMixSeekを触ってみた
morim
0
340
AI活用のコスパを最大化する方法
ochtum
0
350
ロボットのための工場に灯りは要らない
watany
12
3.2k
PHPで TLSのプロトコルを実装してみる
higaki_program
0
540
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
310
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
190
Claude Code Skill入門
mayahoney
0
440
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
4.8k
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
300
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
150
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
270
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
420
Ruling the World: When Life Gets Gamed
codingconduct
0
180
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Site-Speed That Sticks
csswizardry
13
1.1k
Writing Fast Ruby
sferik
630
63k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
500
The Spectacular Lies of Maps
axbom
PRO
1
650
Crafting Experiences
bethany
1
96
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
230
Embracing the Ebb and Flow
colly
88
5k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
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