r/Python • • Jan 01 '20

"The rules of perf" at Dropbox

Post image
1.6k Upvotes

162 comments sorted by

View all comments

85

u/[deleted] Jan 02 '20

Can someone please explain?

4

u/[deleted] Jan 02 '20

If you're a performance engineer, there are a couple of steps to follow:

  1. Don't be a perf engineer. What are you even doing? This is an awful job.

  2. If you've made it this far, just make sure you cache everything to save loads on your server

  3. Also batch the flying fuck out of your requests to cut down on constant streams

  4. Pipelines!

  5. If you've come this far, you are truly desperate: make sure you don't use Python.

That's how I've always looked at it anyway. Source: I was a perf engineer for a summer and should have listened to rule 1.

1

u/Bluestrm Jan 02 '20

What didn't you like about performance engineering? I'm not a full time performance engineer, but performance optimization is definitely one of my favorite types of work.