#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
MAX: Realtime messaging and activity stream engine
1. Activity stream and
conversation engine
(MAX)
Víctor Fernández de Alba (@sneridagh)
Carles Bruguera (@sunbit)
MAX is a project founded by @UPCnet and @BarcelonaTech
2.
3. History
• First commit on August, 2011
• Initially designed as the key feature for the
BarcelonaTech university concept of social
intranet
• The university’s social intranet concept is on the IT
roadmap since 2007 and it has been developed
with limited resources since then
10. Activity stream
• Stores activity from
users and
applications
• The applications
can impersonate
users to feed the
stream with useful
information
oAuth
server
API
MongoDB
11. Context oriented
• Subscriptions are made against contexts
• A context is something with an unique URL
• An user can have n subscriptions to contexts
• The user timeline is composed of all the activity
generated in these contexts
17. Queues and consumers
• Designed for huge loads (conversations specially)
• RabbitMQ queues
• gevent consumers with WSGI API client
• Push (iOS and Android notifications)
• Twitter streaming traking consumers for contexts and
users
• Conversations
18. Frontends
MAXui.js
• jQuery, no framework but
using modern JS
development good
practices
• Can be instantiated
virtually in any web site
given the username and
oAuth token and MAX
server
• Stomp.js (STOMP over
websockets) powered
19. • Native apps
• Stream,
conversations,
subscriptions
• Support for push
notifications
Frontends
iOS & Android