r/sysadmin • u/alienth • Mar 21 '12
We are sysadmins @ reddit. Ask us anything!
Greetings fellow sysadmins,
We've had a few requests from the community to do a tech-focused AMA in /r/sysadmin, so here we are. The current sysadmin team consists of myself and rram. Ask us anything you'd like, but please try to keep it sysadmin-focused!
Here's a bit of background on us:
alienth
I've been a sysadmin for about 8 yrs. My career started on the helpdesk at an ISP where I worked my way into my first admin gig. Since then I've worked at a medium-sized SaaS provider, Rackspace, and now reddit. My focus has always been around Linux (and a tiny bit of Solaris).
rram
I'm Ricky. My first computer was an Amiga at the ripe young age of two. Since then, I was the sysadmin at The Tech and on the Cloud Sites Team at the Rackspace Cloud with alienth. I have experience with Debian, Ubuntu, Red Hat, and OS X Servers.
EDIT [1302 PDT]: Hey folks, we're going to get back to working for a bit. We'll definitely be hopping in here later today to answer more questions, and we'll continue to do so when we can throughout the week. So please feel free to ask if your question hasn't already been answered. Thanks for the great questions! -- alienth
113
u/CaptainLoud Mar 21 '12
Can we get a $ history | tail -n 20 from whatever production server you are logged on right now?
52
u/Doormatty Mar 21 '12
Starting from scratch, what would you do differently if you had the chance?
41
u/30thCenturyMan Mar 21 '12
What kind of security concerns do you factor in? Have you ever hired an outside auditor to break into your apps?
34
u/stahnma Mar 21 '12
What components in your infrastructure are synchronous vs async? Are you doing much with message bus technology behind the scenes?
33
u/JYOuyang Mar 21 '12
IPv6?
32
u/mpete510 Mar 21 '12
What automation tools do you use to make sysadmining simpler?
26
u/[deleted] Mar 21 '12 edited Mar 21 '12
Are your memcache servers running only memcache, or do they also run other services (http etc.)?
What do you use to handle logging? (Syslog, custom logging class in application code etc..)
How do you consolidate logs? (nfs, syslog over udp, etc.)
What queue'ing program do you use? (something custom, off the shelf?)
What implementation (both server and client) of memcache do you use? (memecahed, memcache)?
Does reddit use any sort of messaging bus? If so which one?
What does your data-warehousing/metrics setup look like? Do you utilize hadoop at all?
50
u/Stevenger Mar 21 '12
What do you think the best advice you would give to people who want to someday be a sysadmin, where should we start?
22
u/minideezel Mar 21 '12
When we get the "High Load" page, what/how is it deciding to give us that message?
43
u/Michichael Mar 21 '12
What are the last five processes you've found yourself automating?
What was the biggest challenge each of you faced when you picked up the reins?
Categorize your current issues - how many times do you find yourself fighting fires vs spending time on meaningful projects?
Any big projects in the pipeline?
What kind of monitoring software/metrics do you use to gauge performance?
Do you find yourselves handling network, software, hardware, or other issues more often than other categories?
What kind of planning goes into projects?
Has being owned by a big corporation impacted how you handle your budget and asset management?
21
u/synth3tic Mar 21 '12
What's the biggest challenge in running a site that sees so much traffic?
20
u/CaptainTitus Mar 21 '12
Ever get a work-free vacation?
20
u/Stereo Mar 21 '12
Reddit has been far more stable lately; it used to be notoriously crashy. What did you do to fix it?
20
u/carlaas Mar 21 '12
What are the most common attacks that you have to deal with? Was any of them successful? If so, how was it and how it was solved?
16
u/dboak Mar 21 '12
What is the single best thing you've done to get away from "sleeping next your laptop to reboot the site when it goes down"
2. What is the coolest technology you currently get to use?
3. How many of you are there?, what does the on-call schedule look like?
4. Do you also get into the reddit code, or are you stricly infrastructure sysadmins?
5. What is the expected salary range for someone looking for a job?
6. Be honest, how much work did you get done when you took reddit offline during the SOPA protest? I'd love to have a planned downtime window like that. :)
14
u/[deleted] Mar 21 '12
Is amazon forthcoming with you when they have capacity/network problems? Or do they just tell you every hour it should be fixed within the next hour?
14
u/angrymonkeyz Mar 21 '12
What tools do you use to simulate loads?
12
u/minideezel Mar 21 '12
How much work and how many servers are dedicated to internal office services that don't involve the site?
12
u/horseloverfat Mar 21 '12
How different is it administrating a cloud environment than your own hardware?
12
u/dasmim Mar 21 '12
What is your deployment process like?
What sort of tools do you use (or have made) to automate deployments?
How often do you deploy?
Who does/can do deployments (you guys, devs?)
Are there any statistics you monitor aside from obvious ones (response time, server health, etc.) that give insights into potential problems (logins per minute, posts per minute, etc.)?
Do you have any sort of autoscaling in place to provision/turn off servers ?
What types of data do you store in PostgreSQL vs Cassandra?
22
u/carlaas Mar 21 '12 edited Mar 21 '12
What was the most difficult problem that took reddit down?
What was the silliest one?
11
u/thesaintjim Mar 21 '12 edited Mar 21 '12
Hi,
Can you please tell me what your average day at Reddit is like?
Love,
Your former co-worker.