Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Spacelog (part one)
Andrew Godwin
October 22, 2011
Programming
2
200
Spacelog (part one)
My half of a presentation that James Aylett and I gave at Oxford Geek Nights (early on in 2011).
Andrew Godwin
October 22, 2011
Tweet
Share
More Decks by Andrew Godwin
See All by Andrew Godwin
andrewgodwin
0
80
andrewgodwin
0
63
andrewgodwin
0
270
andrewgodwin
0
240
andrewgodwin
0
44
andrewgodwin
2
640
andrewgodwin
1
120
andrewgodwin
0
36
andrewgodwin
0
96
Other Decks in Programming
See All in Programming
itosho525
1
370
azdaroth
0
170
adoranwodo
0
220
hirotokirimaru
1
430
line_developers_tw
0
1.3k
line_developers_tw
0
550
malvinstn
1
650
line_developers_tw2
0
110
ajstarks
2
550
ippey
0
180
inoue2002
0
270
xrdnk
0
130
Featured
See All Featured
cromwellryan
101
5.9k
philhawksworth
190
17k
malarkey
119
16k
nonsquared
81
3.3k
kastner
54
1.9k
addyosmani
310
21k
skipperchong
7
670
holman
461
280k
brad_frost
156
6.4k
frogandcode
127
20k
stephaniewalter
260
11k
3n
163
22k
Transcript
Spacelog James Aylett & Andrew Godwin Oxford Geek Night 20
/dev/fort Because normal holidays just don't have enough work in
them. Picture: Matt Ogle
None
None
OCRd, Scanned, Typewritten
It's text. It should be diffable.
Text files. They're webscale.
Everything in one directory.
Text files are "indexed" into Redis
Our site is embarassingly cacheable. Scott Beale / Laughing Squid
Two Redis databases - index into one while we serve
from the other
Varnish and CloudFront to make the server a lot happier
Django Redis (redis-py) Xapian
Django Redis (redis-py) Xapian Not Too Much JavaScript
Django Redis (redis-py) Xapian Not Too Much JavaScript A little
bit of evil
None
Lessons
Build sites without user state That pesky login system just
gets in the way.
Only use old content The further before the UNIX epoch
the better.
Coal fires can be quite smoky Open some windows, or
just run away
Hollywood is often wrong Don't trust their dramatisation of history.
Fin. Hold 1 on that next talk, Aquarius.