MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
Chat in Space with MongoDB
1. Chat in Space with MongoDB
OR HOW CAN WE LEVERAGE MONGODB TO
W R I T E A N A P P L I C AT I O N T H E E F F I C I E N T W AY
Benjamin Paillereau,
Platform Product Manager at eXo Platform
JAN. 2013
2. AGENDA
1 − Who Am I
− Very quickly, it’s not that important
2
− Why MongoDB ?
− Now, that’s the question !
− Develop faster, be clever with MongoDB flexibility.
3 − Go In The Cloud With MongoHQ
− Some lag but for a good reason
− Asynchronous is the key.
4 − Demo Time !
−
− I want a good reason for you to stay till the end
− Let’s have fun with your iPhone, iPad, Notebook…
− … and win some goodies !
www.exoplatform.com - Copyright 2012 eXo Platform
2
4. B E N J A M I N PA I L L E R E A U
− Design – Develop – Deliver
− Design : talking with people about what they love, hate, would like
− Thinking about new ways of providing web applications
− Develop : yes, since 30 years, that’s what I do and love to do
− But mostly with Java in the last 15 years or so.
− Deliver : what is an app if it’s just a POC ?
− I tend to write web apps to be used or hope they will be.
− Platform Product Manager at eXo Platform
− Since I wasn’t born in a rich family, I need a real job
− but I have the coolest one ever, thanks to this incredible company
− And I can DDD as a Daily routine.
− I’m also a runner and happy father but that’s off topic for
today’s talk
www.exoplatform.com - Copyright 2012 eXo Platform
4
6. WHY MONGODB?
− Perfect Match for my Chat App
− It’s Document oriented
− It’s about a lot of messages
− Flexibility
− How flexible is it?
− Writing strategies
− Performance
− One Collection versus Large Number of Collections
− Indexes
− Scalability
− Jmeter tests and results
www.exoplatform.com - Copyright 2012 eXo Platform
6
7. Go into the Cloud with MongoHQ
OR HOW CAN WE MANAGE THE LAG?
8. GO INTO THE CLOUD WITH MONGOHQ
− MongoHQ
− Be ready to develop in 5 minutes
− Lag : Manage it the Right Way
− Use Javascript to save your day
− Store locally what you can
− Avoid unnecessary server calls
− Asynchronous is the Key
− User Interface feedback, it’s Mandatory
− Leverage Client side frameworks
www.exoplatform.com - Copyright 2012 eXo Platform
8
9. Demo Time
L E T ’ S H AV E S O M E F U N A N D W I N S O M E
GOODIES
10. DEMO TIME
− Public Mode
− Take your mobile device or your laptop
− Goodies
− For the first one to find how to link with Wolfram in the Chat
− For the best java code posted in the Chat
http://x.x.x.x/chat
www.exoplatform.com - Copyright 2012 eXo Platform
10
11. Thank You J
EMAIL: B PA I L L E R E A U @ E X O P L AT F O R M . C O M
TWITTER : B PA I L L E R E A U
GITHUB : GITHUB.COM/BENJP
A SPECIAL THANK TO 10GEN FOR THE
O R G A N I Z AT I O N O F T H I S E V E N T !