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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Timothée Peignier
April 15, 2012
Programming
1
440
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
180
Et votre backoffice ?
tim
0
270
Mesurer (par)tout, tout le temps
tim
2
670
Mobile Web Performance
tim
1
330
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
590
SourceGeneratorのススメ
htkym
0
200
MUSUBIXとは
nahisaho
0
140
並行開発のためのコードレビュー
miyukiw
0
280
CSC307 Lecture 03
javiergs
PRO
1
490
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
270
Oxlint JS plugins
kazupon
1
970
組織で育むオブザーバビリティ
ryota_hnk
0
180
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
180
CSC307 Lecture 07
javiergs
PRO
1
550
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
120
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
Featured
See All Featured
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
150
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
68
エンジニアに許された特別な時間の終わり
watany
106
230k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
How STYLIGHT went responsive
nonsquared
100
6k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
350
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