Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
NU.nl performance and our journey in the Django...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Besma
February 24, 2016
Programming
87
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
Other Decks in Programming
See All in Programming
Workers Cache を知る
syumai
0
370
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
440
sbt 2.0: takeoff
eed3si9n
0
160
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
270
ジョジョの世界をXRで再現する
mofurune
0
170
最近”作らせてる” ローカルAIアプリの話
akit37
0
480
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.1k
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
phperだってパンチカードでコーディングしたい
o0h
PRO
0
340
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
630
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
330
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
630
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
First, design no harm
axbom
PRO
2
1.3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Automating Front-end Workflow
addyosmani
1369
210k
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