Overview
Explore the development of MAX, an open-source real-time messaging service and activity stream engine built on top of Pyramid. Learn about the design and implementation of this "WhatsApp"-like RESTful API, which has become a key feature for a social intranet at BarcelonaTech University. Discover how state-of-the-art Python technologies such as Gevent, WSGI, and multi-threaded queue processing were utilized to create a high-performance system. Gain insights into the simple yet scalable architecture that supports over 30,000 connected users, including students, teachers, and university staff. Understand the security measures implemented through oAuth 2.0 resource owner password credentials flow, powered by the custom Osiris oAuth server. Examine the use of MongoDB as the general storage backend and RabbitMQ over websockets for real-time messaging support. Delve into topics such as context management, routing, tweens, messaging design, and potential integrations, while exploring resources for community building and further development.
Syllabus
Intro
Python @UPCnet and @Barcelona Tech
What is MAX?
Old styled forums
What is a context?
Contexts
Real life examples
Features Summary
Components overview
Osiris
MAX (Routing)
MAX (Tweens)
Messaging Design
MaxBunny
WSGI MaxClient
Potential integrations
Community building?
Resources
Taught by
EuroPython Conference