HomeCoursesThe Hacker's Guide to Scaling Python
AI-powered learning
Save

The Hacker's Guide to Scaling Python

Learn about Python's scalability, concurrency, and distribution via CPU scaling, event loops, queue-based distribution, and building REST APIs to optimize and deploy high-performance applications.

4.5
99 Lessons
2 Projects
9h
Join 2.9 million developers at
Join 2.9 million developers at

Learning Roadmap

99 Lessons1 Project13 Quizzes1 Challenge

1.

Scaling

Scaling

Step through scaling Python applications using multithreading, distributing systems, and service-oriented architecture.

3.

Event Loops

Event Loops

7 Lessons

7 Lessons

Work your way through event loops, asynchronous code, and efficient network management using asyncio.

4.

Functional Programming

Functional Programming

5 Lessons

5 Lessons

Grasp the fundamentals of functional programming in Python, its toolkit, and practical applications.

5.

Queue-Based Distribution

Queue-Based Distribution

10 Lessons

10 Lessons

Dig into Python's queue-based distribution, focusing on RQ and Celery for scalability.

6.

Designing for Failure

Designing for Failure

5 Lessons

5 Lessons

Tackle exception handling, retry strategies, and Tenacity for robust Python applications.

8.

Lock Management

Lock Management

9 Lessons

9 Lessons

Step through managing locks to ensure safe access and prevent data corruption.

9.

Group Membership

Group Membership

9 Lessons

9 Lessons

Unpack the core of managing group membership in distributed systems using the Tooz library.

10.

REST Interfaces

REST Interfaces

11 Lessons

11 Lessons

Master the steps to build scalable and efficient REST APIs with Python frameworks.

11.

Deploying on PaaS

Deploying on PaaS

7 Lessons

7 Lessons

Break down the steps to deploying Python applications on various PaaS platforms.

12.

Testing Distributed Systems

Testing Distributed Systems

5 Lessons

5 Lessons

Map out the steps for testing, environment setup, and service management in distributed systems.

13.

Caching

Caching

7 Lessons

7 Lessons

Investigate caching to enhance Python app performance, covering local, memoization, and distributed methods.

14.

Performance

Performance

8 Lessons

8 Lessons

Master the steps to optimize Python performance through profiling, disassembling code, and efficient memory use.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Author NameThe Hacker's Guide toScaling Python
Developed by MAANG Engineers
ABOUT THIS COURSE
Python, in all of its greatness, is often dismissed when needing to write performant and distributed applications. It’s considered to be slow and not suited for the task. In this course, you will find that with the right implementation of Python, you can write applications that scale horizontally, perform well, and are distributed. To kick things off, you’ll learn about CPU scaling, concurrency, and event loops, all of which are crucial for implementing a distributed system. After that, you’ll move on to queue-based distribution, lock management, and group memberships, which are fundamental concepts for maintaining availability and consistency in distributed applications. In the last half, you’ll learn how to build a REST API, how to deploy your app to a PaaS, and how to optimize your application's performance. By the end of this course, you’ll be more productive with Python, you’ll be able to write faster applications that are distributed, and you’ll have a great new skill that is highly coveted.
ABOUT THE AUTHOR

Julien Danjou

Open Source hacker for the last 20 years, I contribute and maintain a lot of Python code and libraries.

Learn more about Julien

Trusted by 2.9 million developers working at companies

These are high-quality courses. Trust me the price is worth it for the content quality. Educative came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks

A

Anthony Walker

@_webarchitect_

Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!

E

Evan Dunbar

ML Engineer

You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it.

S

Software Developer

Carlos Matias La Borde

I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site

S

Souvik Kundu

Front-end Developer

Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content.

V

Vinay Krishnaiah

Software Developer

Built for 10x Developers

No Passive Learning
Learn by building with project-based lessons and in-browser code editor
Learn by Doing
Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go
Learn by Doing
Future-proof Your Career
Get hands-on with in-demand skills
Learn by Doing
AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"
Learn by Doing
Learn by Doing
MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies
Learn by Doing

Free Resources

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath