Misc.Jan 23, 2020
RokuCIeopatra

why is python still used for microservices at Lyft?

a lot of companies have moved away from python except for data science and adopted go for services. Lyft already gifts 14 cents from every ride to Amazon. Why doesn’t it try to reduce its AWS footprint by using a more efficient stack? With python, there’s no true multithreading due to the global interpreter lock, so you need different processes, with each having their own copy of the code in memory. The end result is that you need a whole lot of computing resources to scale. #python #aws #go #makingbezosrich

Add a comment
Facebook hblk Jan 23, 2020

Lyft has no infra

Xperi gjammjga86 Jan 23, 2020

Python GIL is more of an issue for cpu bound workloads, but most backend systems are doing work that is io bound.

Roku CIeopatra OP Jan 23, 2020

Web frameworks add a lot of overhead. A lot of cpu cycles are spent doing things behind the scenes Like http parsing, deserialization, etc.

Microsoft lather Jan 23, 2020

Lyft is useless stack

Google eFcb15 Jan 23, 2020

If they are using real awas lambdas then there is no real difference to switching to another language if its written well. In AWS the 2 biggest sink holes for spend are unused / underused epcs and detached storage that is no.longer needed. At my last company we built a lot of automation to be able to spin up test environments as needed for builds and testing and it saved a ton. So if you really want to make a difference work on thier devops systems they will pay in spades if you do

Intel This&That Jan 23, 2020

The memory and cache layer + compiler is the real question to ask. These days python is viewed as scripting almost and less of a real (heavy engineering) language. Great for applications but crappy for performance and microservices.

Lyft LmRM52 Jan 24, 2020

We are in process to migrating all the work to php by end of 2020.

Facebook hblk Jan 24, 2020

Do you guys have your own hhvm and powerful cpp backend?

Lyft LmRM52 Jan 24, 2020

Wtf is that?

Lyft vRju16 Jan 24, 2020

Some is in Python, but most new stuff is in go. It's hard to justify porting over existing python code short of giving interns projects

Uber basket Jan 24, 2020

ROI could be there if it’s saving you cores

Lyft bjsuu366cz Jan 24, 2020

we are moving to Rust

Lyft Tgvyhb Jan 24, 2020

We are moving to Fortran and lisp

Roku Wu Zetian Jan 24, 2020

Love it. Should I go so a boot camp to be prepared?

Dropbox 🐝hind Jan 28, 2020

Just migrated a bunch of dynamically generated functions from Python to Go recently, wasn’t fun.