Unraveling Multimodality with Large Language Models.pdf
ScaleCamp 2009 - Last.fm vs Xbox
1. Scaling war stories
• Last.fm vs Xbox360
• Quick and hacky profiling
• Discuss
Wednesday, 26 May 2010
2. What happens when
scale is forced on you?
• 24 Million Xbox360 users
• Estimated ~5 times peak traffic increase
• No control over source of client
• External partner, with their own deadlines
• Must be reliable at launch. Err? (The PR
problem)
Wednesday, 26 May 2010
3. A dose of reality
• You won’t have the resources you’d like
• People (skills, availability,
• Budget (new servers would be nice)
• Time (more of this would be nice too)
Wednesday, 26 May 2010
4. B-b-but...
• It’s not an ideal world
• I’m not a systems developer (I spend half
my time on the front end)
• Quite hacky. Open to suggestions,
alternatives, your experiences
Wednesday, 26 May 2010
5. HTTP profiling
• Had a development Xbox
• Stuck a proxy box in the middle
• Profiled traffic with Wireshark
Wednesday, 26 May 2010
7. Making a list...
• API calls made
• In order, as uses cases
• Bad uses that can be factored out
• What breaks when call X is disbabled
• Proxy routed to a dev version of API
Wednesday, 26 May 2010
8. Xbox Beta
• Launched to 1,000 people (At midnight on
a Friday). Then to a further 9,000 people
• Gave a nice real usage sample
• Great, the most common calls are...
completely pointless.
• frequent != expensive (necessarily)
Wednesday, 26 May 2010
10. Abusing bash
Text
awk 'BEGIN
{FS="t"} {a[$2]++;b[$2]=b[$2]+$1}
END
{for (i in a) printf("%.2f %sn", b[i]/a[i]/
1000000, i)} '
Wednesday, 26 May 2010
18. Contingencies
• From invisible, to user affecting
• Disable DB writes, speed up and prevent
blocking on failure
• Suppress badly architected Flash Player (and
less evil taste-o-meter)
• Kill % of method calls at perlbal
Wednesday, 26 May 2010
20. Monitoring porn
• Launch control with: 3 projectors, 5 x 24”
monitors, a dozen dev/sysops with laptops
• A moose, a cow and a fail train
Wednesday, 26 May 2010