News for hackers. Stuff that matters.
Re:What Is ‘Site Reliability Engineering’? by SwellJoe on Thursday April 20, 2017 @03:20AM (#14154613)
I have a theory that Google invented the SRE because they didn't know how to hire system administrators, but they knew how to hire software engineers. So, they just hired software engineers and told them to figure out the systems.

I say this only partially in jest.

Re:What Is ‘Site Reliability Engineering’? by StreamBright on Thursday April 20, 2017 @07:23AM (#14155704)
This is not true at all. Most of the great first SRE were systems engineers (this is how Amazon used to call SREs) who understood the entire stack from the UI down the the network packet and OS kernel level. Most software engineers do not have serious networking or operating system knowledge. On the top of that, there is a reason why performance engineers are so rare, understanding the complex computing systems we have is not an easy task. System administrators are able to configure your services but not necessarily know all the details of the operating system and file systems that is required to be an SRE. I think you are trying to oversimplify this subject quite a bit.
Re:What Is ‘Site Reliability Engineering’? by jacquesm on Thursday April 20, 2017 @07:32AM (#14155742)
> Most of the great first SRE were systems engineers (this is how Amazon used to call SREs) who understood the entire stack from the UI down the the network packet and OS kernel level.

Aka the 'full stack developer' as opposed to the 'full stack developer' that knows both JavaScript, PHP and how to install the base distribution of CentOS.

Re:What Is ‘Site Reliability Engineering’? by metaphorm on Thursday April 20, 2017 @01:02PM (#14158521)
you're commenting on sloppy use of language. you're right, we do tend to abbreviate and exclude relevant descriptive words. the "full stack developer" that knows both JavasScript and PHP (or whatever), and probably some database stuff, and how to config a HTTP server, and a few other bits of web odds and ends is really a "full stack web application developer". usually there is enough context to know if "web application" has been abbreviated out of the term though.

as for the other kind of "full stack developer", the legendary creature that is equally comfortable doing UI scripting and Linux Kernel hacking...well personally I've never met one. mythical beast in my experience.

Re:What Is ‘Site Reliability Engineering’? by throwaway2016a on Thursday April 20, 2017 @09:42AM (#14156507)
> Most software engineers do not have serious networking or operating system knowledge.

Anecdotally, this seems wrong but may actually be sadly right.

I don't know how you can get through a decent Computer Science program without knowing these things. Although, I acknowledge quality in CS programs vary hugely.

We had to write an Operating System (with basic memory and process management), know the OSI model up and down, and be able to deep dive into TCP/IP and UDP packets. In addition to coding and math.

I'm actually pro software "engineer" but perhaps we should draw the line somewhere on a bare minimum of skills required. Probably about the line of an ABET accredited undergraduate BS in CS degree?

Re:What Is ‘Site Reliability Engineering’? by pzh on Thursday April 20, 2017 @10:13AM (#14156783)
Why are people surprised? Taking all the coursework in Math, Programming, Algorithms, Operating Systems, Computer Networks, Security and Cryptography, Distributed Systems, Databases, etc., and also learning and internalizing all that knowledge is a significant time investment. Yet many people here would be offended at the idea that you can't be a proper engineer without a CS degree, and would insist that all you need is a three-month JS/Angular bootcamp and then you're golden. A formal CS degree in itself may not be a requirement, but the time investment in acquiring the knowledge sure is.
Re:What Is ‘Site Reliability Engineering’? by StreamBright on Thursday April 20, 2017 @09:54AM (#14156598)
I can speak of based on the ~100 interviews I conducted hiring SDEs. There are very few who could pass an SRE I/II interview, yet I know of few.
Re:What Is ‘Site Reliability Engineering’? by dmoy on Thursday April 20, 2017 @12:02PM (#14157883)
What's the pass/fail rate for sde though? If you interview 100 and 10 pass through to sde, and 2 of those could do sre, that's not actually that bad.
Re:What Is ‘Site Reliability Engineering’? by Sean1708 on Thursday April 20, 2017 @11:13AM (#14157390)
Because Bachelor's degrees don't give you a serious knowledge of or experience in anything, they give you shallow knowledge of and experience in a broad array of topics.
Re:What Is ‘Site Reliability Engineering’? by snowwrestler on Thursday April 20, 2017 @11:42AM (#14157672)
This is just not true. Engineers in many disciplines other than CS (mechanical, electrical, civil, etc) begin serious professional work with only a bachelors degree.
Re:What Is ‘Site Reliability Engineering’? by throwaway2016a on Thursday April 20, 2017 @12:38PM (#14158249)
> other than CS

This is simply not true as well. CS majors also can begin serious work with just a BS degree. I have no idea what school(s) the parent topic is refering to but remind me not to recommend people go there...

Four years is a LOT of time to get deep on multiple CS topics not just a broad overview. If you finish 4 years of serious study and don't have deep knowledge of a few things you did college wrong.

College is the only time in your adult life where your only job is to learn. It is incredible that many of us get that opportunity and that some people come out of it with just broad knowledge is disappointing.

In my CS program, senior and most of junior year were almost entirely specialized courses where we had a choice to pick a topic that interests us and deep dive. (AI, graphics, networking, bioinformatics, big data, programming language theory, etc). All the general studies were mostly done by the end of sophomore year.

Re:What Is ‘Site Reliability Engineering’? by snowwrestler on Thursday April 20, 2017 @10:29PM (#14162682)
That's great. The "CS grad who doesn't actually know how to write production software" is a well-trod trope, but hopefully it is less true than it used to be.
Re:What Is ‘Site Reliability Engineering’? by dsfyu404ed on Thursday April 20, 2017 @04:37PM (#14160608)
You are absolutely wrong in those examples. Those fields are so broad that there is not time to specialized in college. They only learn the fundamentals.

You could have two identical ME grads go on to specialize in completely different things. One guy might spend his entire career working on hypoid gear sets and another might work exclusively on marine diesel rotating assemblies.

Ditto for EE, CE and so on.

Re:What Is ‘Site Reliability Engineering’? by mentat on Thursday April 20, 2017 @04:26PM (#14160509)
How it runs in the ideal case is different from experience in how it "actually" runs and fails. That's the biggest gap IMHO.
Re:What Is ‘Site Reliability Engineering’? by graycat on Thursday April 20, 2017 @11:15AM (#14157403)
> reason why performance engineers are so rare, understanding the complex computing systems we have is not an easy task.

At times it has been possible to make some progress on the complexity by regarding each application, virtual machine, server, server cluster, or server farm as a network of queues and apply queuing theory and/or Monte Carlo simulation. In addition some of the old work in optimization under uncertainty likely applies.

Re:What Is ‘Site Reliability Engineering’? by srean on Friday April 21, 2017 @01:55PM (#14167710)
Have you looked at stochastic network calculus ?

Network of queues can become hrrendoulsy difficult to analyze unless one assumes memoryless arrivals etc etc. Network calculus and stochastic network calculus simplifies things a great deal by going after bounds rather than exact answers. You might like it

Re:What Is ‘Site Reliability Engineering’? by graycat on Friday April 21, 2017 @04:15PM (#14169045)
I never heard of "Network calculus and stochastic network calculus". Certainly no such topics were in any of the applied math grad courses I took.

For "going after bounds rather than exact answers", for analyzing network performance, there is a hugely simplifying approach: Just look at the bottlenecks and largely f'get about the rest; maybe that is related to what you mentioned.

For network queuing, really I was suggesting using that as a paradigm to formulate an analysis; I accept that analytic solutions are unpromising -- more generally, the exact probabilistic calculations out of queuing theory research are complicated even for simple cases. So, for solutions, i.e., actionable information, use Monte Carlo.

Once I knew a guy at IBM's Watson lab who was big on such things. There was a claim that at one time his work was useful in designing some of an IBM mainframe I/O subsystem. He had some software that I used once. His software wanted to collect the usual descriptive statistics, but I wanted the sample paths from the Monte Carlo, got those, and did more analysis of those.

Re:What Is ‘Site Reliability Engineering’? by srean on Friday April 21, 2017 @04:42PM (#14169278)
> I never heard of "Network calculus and stochastic network calculus".

...and now you have :)

> Certainly no such topics were in any of the applied math grad courses I took.

Yeah they are a newer development. Stochastic network calculus more so. Network calculus is older, it even has a wikipedia page https://en.wikipedia.org/wiki/Network_calculus A key idea is convolution but in the max-plus algebra and martingale large deviations.

> For network queuing, really I was suggesting using that as a paradigm to formulate an analysis;

Indeed. SNCs can be a helpful tool there. Yes they are bounds, but a lot of progress has been made to make them tight https://arxiv.org/pdf/1303.4114.pdf they arent quite there yet numerically but tight enough to give an intuition. NC bounds are a lot looser.

Re:What Is ‘Site Reliability Engineering’? by samfisher83 on Thursday April 20, 2017 @09:43AM (#14156521)
If you take comp sci you are required to take a class in os and networking. I think many swe are cs majors.
Re:What Is ‘Site Reliability Engineering’? by StreamBright on Thursday April 20, 2017 @09:53AM (#14156587)
Yes, and those classes teaches you the theory while when you are working for companies you need to know the practical side of things. In our country even the theory is lagged behind the practical usage by 5-10 years. Funnily enough most the senior SREs I know do not have any formal education in CS (anecdotal evidence).
Re:What Is ‘Site Reliability Engineering’? by dsr_ on Thursday April 20, 2017 @11:16AM (#14157423)
[quoting myself from quite a while ago]

Once upon a time there were programmers.

Then there were systems programmers and application programmers. Systems programmers wrote operating systems and utilities for them. App programmers wrote apps. There was a lot of crossover.

Then there were operators, systems programmers and application programmers. Operator was a junior position who did physical things (mount tapes, plug in cables) and ran commands to do things on the systems. They usually moved up to being…

Systems administrators, who did some programming in service to the systems, but not too much. The more senior a sysadmin was, the more time they spent programming and the less time they spent doing physical things… unless they wanted to do that.

Sysadmins started to specialize. People who configured switches and routers and talked to telephone companies became “network engineers”. People who spent time working on firewalls and security policies and thinking about that became “security engineers”. Junior people who read scripts to end users became the helpdesk. And so forth.

Then we noticed that a bunch of people were doing things manually when they should be automated. This was especially bad in places where there were no senior sysadmins or systems programmers. But we did have the internet, and senior sysadmins got together and started writing tools to make their lives easier: infrastructure automation.

You probably know the story from there, but I’ll wrap up with one more important point: you know how when writing a business application you need to have a subject matter expert who actually knows what they are doing? Operations is exactly the same way. All the automation in the world won’t help you if you don’t have someone around who knows what they are doing. Some people can outsource this to “the cloud”, but not everyone.

Re:What Is ‘Site Reliability Engineering’? by acchow on Thursday April 20, 2017 @06:10AM (#14155380)
My impression is many sysadmin at the time didn't really understand the systems they were dealing with - that kind of problem solving, hacking, and mapping the territory comes with software engineering. So why not just hire software engineers?
Re:What Is ‘Site Reliability Engineering’? by StreamBright on Thursday April 20, 2017 @10:19AM (#14156838)
You think if a sysadmin does not understand the topic a software engineer magically will? I think the biggest obstacle of understanding systems the level SREs do is lack of proper documentation and formal education. This is why Google introduced the SRE university and also created the following doc.

https://landing.google.com/sre/book.html

What I mean by proper documentation is that you do not have all the knowledge in one place. I have spent countless hours of preparing to SRE interviews by reading source code and hunting for additional write ups that explain various OS functions, file systems, networking details. The amount of text you have to go through to get the knowledge is intense. The best way to become an SRE is to be hired one at Google or Amazon and just learn from your senior co-workers. Catch 22. :)

Re:What Is ‘Site Reliability Engineering’? by saalweachter on Thursday April 20, 2017 @12:06PM (#14157925)
My rule of thumb is that the difference between a sysadmin and a programmer is that the sysadmin has read the documentation for all of software they use.
Re:What Is ‘Site Reliability Engineering’? by tyingq on Thursday April 20, 2017 @09:06AM (#14156270)
I don't see either path as having an overwhelming advantage.

What happened here is that the scale of sysadmin tasks escalated to the point where software engineering skills brought some advantage. It did not, though, negate the importance of traditional sysadmin skills.

The best people in this space are those that can bridge both worlds. Not just "SRE" either. Devops is also a hybrid role, as is performance engineering.

Look at Adrian Cockroft's background as an example.

Re:What Is ‘Site Reliability Engineering’? by inopinatus on Thursday April 20, 2017 @09:42AM (#14156515)
DevOps is a concept, not a role. It means breaking down the silos and allowing processes, ideas, capabilities to run across both SWE & operations teams. I never knew a really first-class *nix sysadmin who wasn't also a kernel hacker, so this isn't anything new, it's just got a label.

Probably the most devops-y thing you can do in an applications environment is operate a continuous delivery pipeline.

The most un-devops-y thing you can do is start a devops team.

Re:What Is ‘Site Reliability Engineering’? by tyingq on Thursday April 20, 2017 @09:46AM (#14156541)
Whether it's correct or not, it's a named title people are hiring for. https://www.indeed.com/q-DevOps-jobs.html

So I thought it worth mentioning as one of those hybrid roles.

Re:What Is ‘Site Reliability Engineering’? by inopinatus on Thursday April 20, 2017 @10:35AM (#14156975)
That's a great example. There's nothing in those job listings that wasn't, conceptually speaking, in the job description of a system engineer or sysadmin thirty years ago.

In this usage of "DevOps" it's a buzzword, and I recommend you should avoid anyone who puts buzzwords in your job title, because it speaks volumes up front about their culture and values and clarity of thinking.

I really do like the descriptor Site Reliability Engineer, though, for exactly the same reasons.

Re:What Is ‘Site Reliability Engineering’? by traf68 on Thursday April 20, 2017 @10:47AM (#14157112)
It allows the company to save on dedicated resources in my experience.

A lot of first-class *nix admins in my generation have a problem dealing with dev ideas in system context. In the company I am at now we have gone a step further and allowed dev/mgmt to control ops|prod and reserved system to sidestep the crapulence of this concept.

Re:What Is ‘Site Reliability Engineering’? by hashhar on Thursday April 20, 2017 @05:49AM (#14155272)
You may be saying it in jest but I've seen it to be true (sample size of 1).

I am a recently graduating (this summer) CS undergrad from India and was offered the chance to interview for a customer service offering company (think Zendesk) for the role of a Site Reliability Engineer. The take home tests they gave me heavily reflected that they were looking for an engineer instead of a sysadmin as nowhere during the interview did they discuss about anything other than Chef, Terraform, Nginx and other things that mainly deal with deployment and devops and have very little to do with "reliability". They didn't have anything about networks or fault-tolerance.

PS: I really liked the interview process though in that they had take home tests and there was a good depth of discussion relating to those tests the next day. I eventually won't be joining them because of some information about their office culture in their India office. Sad.

Re:What Is ‘Site Reliability Engineering’? by StreamBright on Thursday April 20, 2017 @10:23AM (#14156878)
When you are applying for SRE outside Google and Amazon or maybe Facebook it mean something entirely different. Usually they just use SRE for describing sysadmins, or a little bit more, maybe adding some automation knowledge. Getting hired as an SRE at Google and Amazon is extremely challenging task, lots of areas where you need to be proficient.
Re:What Is ‘Site Reliability Engineering’? by vertex-four on Thursday April 20, 2017 @06:03AM (#14155344)
I would suggest that what other companies call "SREs" is not likely to be what Google calls SREs, given the difficulty of implementing it correctly.
Re:What Is ‘Site Reliability Engineering’? by markdown on Thursday April 20, 2017 @06:34AM (#14155488)
Freshdesk?
Re:What Is ‘Site Reliability Engineering’? by hashhar on Friday April 21, 2017 @06:14AM (#14164286)
No. Kayako.
Re:What Is ‘Site Reliability Engineering’? by jasode on Thursday April 20, 2017 @06:58AM (#14155601)
>they didn't know how to hire system administrators, but they knew how to hire software engineers

Setting aside your partial jest, I think Google's approach of hiring "programmers" to fill the role of SRE makes perfect sense for their organization.

The "sysadmin" can have a wide range of meanings and responsibilities but many will have experience managing COTS[1] software like Oracle RDBMS, Peoplesoft HR, MS Exchange email server, etc. A typical system admin can then use complimentary COTS tools like Microsoft SCOM System Center Operations Manager, HP OpenView, IBM Tivoli, CA Unicenter/Spectrum. On Linux, it would be similar tools like Nagios, Zabbix to monitor Apache webservers, Mysql, etc.

In Google's case, they didn't cluster a bunch of COTS Oracle dbs together to serve web surfers. Instead, Google wrote a proprietary platform like BigTable or Spanner[2]. As a result, they also want additional software that monitors the health of Spanner. Since none of the monitoring tools from enterprise vendors like HP/MS/CA are adequate (because they have no out-of-box software-agents for Spanner), they need another layer of programmers to write custom management/monitoring tools. Those programmers are the SREs.

All the above enterprise tools from HP/MS/CA/etc including the mother db server, the agents, the plugins are written in C/C++. If your hiring job description is "system admin", most candidates will not have the skills to develop those enterprise monitoring tools from scratch. Yes, many sysadmins have programming skills to write Bash/Powershell scripts. E.g. a bash script might have a polling loop that checks for an error file existence and then has if/else/fi to send an email. However, that's not the same programming skill as developing a proprietary version of HP OpenView and MS SCOM. Most traditional sys admins do not write low-level C code like Zabbix.[3]

Basically, if you're a company that writes complex proprietary softare and none of the existing enterprise monitoring tools can manage it, you'll have to hire programmers instead of sysadmins as the baseline skillset for SREs.

[1] https://en.wikipedia.org/wiki/Commercial_off-the-shelf

[2] https://en.wikipedia.org/wiki/Spanner_(database)

[3] e.g. https://github.com/zabbix/zabbix/blob/trunk/src/zabbix_serve...

Re:What Is ‘Site Reliability Engineering’? by devonkim on Thursday April 20, 2017 @08:30AM (#14156030)
Most sysadmins on the market primarily have worked in manners and tooling hardly different between cost and revenue centers, and for Google they needed admins that are actually knowledgeable about software engineering to make them effective in a revenue center.

It's laughable what kind of tools were written for enterprise systems back in the late 90s, so it's no surprise that absolutely none of them would meet Google's rate of growth requirements either.

Furthermore, given the licensing patterns of most enterprise software suites, it'd potentially become cost prohibitive to deploy COTS ops software at Google scale anyway even with Google scale money.

There's obviously still some cost centers to big tech companies (Facebook has contract positions open for doing service desk customizations last I checked) but custom tooling everywhere makes sense when you have justifiable reasons that nobody will be able to serve your needs besides yourself.

Re:What Is ‘Site Reliability Engineering’? by technofiend on Thursday April 20, 2017 @08:22AM (#14155983)
Makes me wonder what they pay and how they get over the usual SV prejudice against hiring people over 30. I read their SRE description a while ago and thought it sounded perfect for me, but if you end up there and for whatever reason it doesn't work out you'll end up losing a lot of money leaving SV again. It's not cheap to uproot yourself and move across country and it's not like anyone else in SV will hire folks over a certain age; at least that's what I'm left to conclude after lurking HN for a few years.
Re:What Is ‘Site Reliability Engineering’? by pm90 on Thursday April 20, 2017 @08:54AM (#14156195)
Eh...what? Don't be fooled by what you read here. Take a few interviews and find out for real if that's the case. I would be really surprised if that were the case, especially at Big Co's where their staff is (comparatively) older than at Startups.
Re:What Is ‘Site Reliability Engineering’? by lclarkmichalek on Thursday April 20, 2017 @04:22AM (#14154857)
Eh, I think they say something similar in the book. The other side of it was that they wanted a software engineering approach to systems administration (which completely depends on your opinions of the respective professions)
Re:What Is ‘Site Reliability Engineering’? by SwellJoe on Thursday April 20, 2017 @05:41AM (#14155237)
It seems to be mostly working for them, though I think companies that haven't gone so far down that rabbit hole are also doing fine. One of the premises of SRE that I occasionally take issue with is "build your own tools". That's a fine idea, sometimes, but it also results in NIH syndrome, which has a real cost.

Obviously, Google is operating at a scale that no one ever has before (and almost no one else does or ever will), and so, sometimes they have to invent the technologies for doing it. But, the somewhat dismissive tone of the SRE literature I've read that implies system administrators scale linearly while SREs scale drastically higher is kind of off-putting, and misrepresentative, I think. Sysadmins have been scaling systems for as long as there have been systems; sometimes just one person or a small team in the data center, running the whole show for quite large companies.

Re:What Is ‘Site Reliability Engineering’? by dj_jorjinho on Thursday April 20, 2017 @05:00AM (#14155057)
The opposite also occurs: a SysAdmin gets hired to do DevOps, but they're not qualified to be Software Engineers. The results is that, if you're not looking, your ops code ends up a series of "scripts" instead of a series of well structured tools.

But I guess this depends on the company culture to begin with.

Re:What Is ‘Site Reliability Engineering’? by skywhopper on Thursday April 20, 2017 @08:09AM (#14155908)
Given the tone of the first answer, I would say this is correct, as they clearly didn't hire any good ones, anyway.