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
NU.nl performance and our journey in the Django...
Search
Besma
February 24, 2016
Programming
0
86
NU.nl performance and our journey in the Django realm
These are the slides of my talk at the Django meetup hosted by Byte
Besma
February 24, 2016
Tweet
Share
Other Decks in Programming
See All in Programming
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
480
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.4k
dchart: charts from deck markup
ajstarks
3
1k
AI & Enginnering
codelynx
0
120
Oxlint JS plugins
kazupon
1
1k
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
330
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1k
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
230
AI時代の認知負荷との向き合い方
optfit
0
170
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
5
800
Apache Iceberg V3 and migration to V3
tomtanaka
0
170
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
990
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
390
Exploring anti-patterns in Rails
aemeredith
2
250
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
Technical Leadership for Architectural Decision Making
baasie
2
250
Navigating Weather and Climate Data
rabernat
0
110
Mind Mapping
helmedeiros
PRO
0
90
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
740
KATA
mclloyd
PRO
34
15k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
Transcript
[email protected]
NU.nl performance and our journey in the Django realm
Besma Mcharek-Boussif
[email protected]
Whoami @B35m4
[email protected]
Who are we? • The biggest Dutch news platform
– +1B pageviews
[email protected]
Our platforms • Web – Desktop and mobile •
Mobile – tablets, phones and smart watches
[email protected]
Development teams • Mobile team – Android – iOs
• Web/ApI and CMS team
[email protected]
Development process • DeVops mind set team • Tools
– Development: Jira, Bamboo, Hipchat – Monitoring: GA, New Relic
[email protected]
How do we work • Work within layers, depending
on the requirements
[email protected]
The nu.nl ecosystem
[email protected]
Web/Api team focus
[email protected]
Our output as Web/API team • Serving static pages
• Serve Push Notification for big news • Serve the raw data
[email protected]
Microservices • Projects that serve a single purpose •
Together projects create a microsystem that fits within the Sanoma ecosystem
[email protected]
Evolution the nu.nl stack • Time line – Past
– Current – Future...
[email protected]
Past ecosystem • The entire stack used to be
written in php • Development and maintenance by external party
[email protected]
Current ecosystem • Most of the stack in Django
• Development and maintenance by our team
[email protected]
Near future ecosystem • All of the stack in
Django • Development and maintenance by our team
[email protected]
Block structure • Business and editors decide on the
layout • Editors supply the blocks with content • Layout is served to FE and mobile
[email protected]
Challenges in the current setup Scale speed API errors
[email protected]
How do we deal with these challenges in general?
• Django security solutions • DRF as dataprovider • Caching • Rigorous testing
[email protected]
Performance sprint
[email protected]
How? Webservers • Software updated and servers rebooted •
Updated nu.nl stack to python 2.7 • Updated nu.nl stack from Apache to nginx • Disabled django.views.static.serve • Used Serpy as serializer
API server performance Before
API server performance After
[email protected]
Future challenges Personalization
[email protected]
Sanoma account
[email protected]
Personalized nu.nl
[email protected]
Other performance challenges • Pages are no longer static
• API: serving blocks instead of layouts to mobile applications
[email protected]
Challenges ahead
[email protected]
Questions