r/sre • • Nov 08 '24

Python for SRE

What level of python skill needed for a SRE role?

0 Upvotes

18 comments sorted by

20

u/thecal714 AWS Nov 08 '24

Depends on the role. Some don't need python at all.

2

u/ReliabilityTalkinGuy Nov 09 '24

We’ve gone very wrong somewhere along the way if any of them require one specific language at all. 

2

u/murzeig Nov 13 '24

It would sure signify the lack of flexibility. Each of our teams pick whatever languages they want to complete their goals. Picked for performance, ease of development, or existing frameworks to complete a given task.

The best bet is to be passingly familiar with many languages to stay flexible.

15

u/alopgeek Nov 08 '24

It doesn’t have to be Python explicitly. Just the ability to solve problems programmatically.

3

u/lupinegray Nov 08 '24

You'll need to know a scripting language of some sort. Bash is frequently used, but for more complicated logic, Python works better.

11

u/drakgremlin Nov 08 '24

For an SRE role you need to be proficient in the languages used to implement the software you support. Wether that is Python, bash, Java, Go, etc.

2

u/fubo Nov 09 '24

But also the languages used for tooling. There are plenty of places where the production code is in (say) Go or C++, but the tooling is in Python, for instance.

-12

u/Sea_Asparagus5286 Nov 08 '24

How python works? Can you give me some examples?

3

u/jdizzle4 Nov 08 '24

if you can't answer this question on your own, SRE is not the right role for you

1

u/rnike879 Nov 08 '24

For me, I've needed it to both eliminate toil (automate otherwise tedious manual tasks) and/or enhance monitoring. For the former, it's about finding tasks that are good candidates for automation and implementing automation effectively, and for the latter it can be something like synthetic web monitoring using libs like selenium or playwright. Another example is that we use slack a lot, and we've made a bunch of apps to do stuff like incident handling and intake requests for our team

-2

u/Sea_Asparagus5286 Nov 08 '24

Thanks it helps ...

11

u/MrButtowskii Nov 08 '24

python is not a skill. Problem solving, thinking through is. You can always look up documentation.

4

u/big_fat_babyman Nov 08 '24

Enough for you to do your job? 🧐

2

u/1544756405 Nov 08 '24

Where I worked, candidates were expected to be competent in some programming language -- it didn't have to be python. If you have the choice, do the interview in the language you're most comfortable with.

2

u/WashEither1329 Nov 08 '24

How is competency usually measured in interviews? Are companies that use Leetcode completely lost?

2

u/hajimenogio92 Nov 08 '24

I'd say pretty comfortable with python or golang. It depends more on what the tech stack you'll be working with. It could be a Java or C# shop

2

u/ReliabilityTalkinGuy Nov 09 '24

You don’t need to know Python to be an SRE, but you do need to know how to code. An SRE is a software developer asked to work with an operational focus. So as long as you’re proficient in at least one language and ready to learn others as needed (Python, C, C++, Java, Golang, Rust, etc) you should be fine. 

0

u/[deleted] Nov 09 '24

For me it is useful for scripting, manipulating key value data things into csv files for generated reports for example. However Python is not the goal, it is a tool, sometimes I use bash and it is fine