Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ITT 2015 - Simon Tennant - Your App Just Got So...

ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project

Simon Tennant covers some of the challenges of building your own messaging stack such as security, scalability and cross-device message synchronisation. He looks at time-to-glass optimisations that can improve the users' experience and how to quickly embed messaging into your app. The talk also covers how the Buddycloud messaging stack works and how they are building a developer community around open source and open protocol based messaging.

Istanbul Tech Talks

April 27, 2015
Tweet

More Decks by Istanbul Tech Talks

Other Decks in Programming

Transcript

  1. In 2014 in-app messaging use doubles as users switch from

    social media to messaging Sources: [1] [2]
  2. “Eventually, every mobile app becomes a chat app. I keep

    getting reminded.” @johnolilly (John Lilly, Partner @ Greylock, former CEO @ Mozilla) “We believe that messaging is one of the few things that people actually do more than social networking.” Mark Zuckerberg, Facebook CEO In 2015 messaging is everywhere “The new Apple Watch's forthcoming messaging app has us imagine a world where we tell our loved ones we're alive in a literal yet visceral way—by sharing our heartbeat” ReadWrite.com
  3. Developers •  Increases app interaction •  Increases app re-launches • 

    Increases app stickiness •  User-to-user help - reduces support costs Why is in-app messaging so important? Users •  Feel part of a community •  Is a reaction to the rigid structure of existing social-networks •  Quick help (e.g. AirBnB's in-app messaging quickly connects the guest with their host)
  4. Anything new yet? Anything new yet? Anything new yet? Anything

    new yet? Anything new yet? Anything new yet? Anything new yet? Anything new yet? Anything new yet? I'm online. Keep me updated. Mkaycheersbye. I'm going offline
  5. XMPP •  Real Time •  Identity •  Security •  Scalability

    •  Discovery •  Interoperability •  Authentication •  Authorization •  Provisioning •  Presence
  6. But... XML? Where's my REST API? Mobile and Push? I

    want to send a file? Just chat?
  7. A small diversion into microservices In computing, microservices is a

    software architecture style, in which complex applications are composed of small, independent processes communicating with each other using language-agnostic APIs. These services are small, highly decoupled and focus on doing a small task.
  8. The inbox Problems •  slow discovery and retrieval •  networks

    aren't always online Solution: The Inbox approach •  improves time to glass •  catches up on missed posts when servers come back online
  9. but wait there's more •  API server •  Push server

    •  Friend finder •  Taste engine •  Search
  10. Support Documentation Developer community Open Source License Buddycloud SDK Social

    activity stream User + group messaging File sharing Complete backend stack Messaging Push Search Hosting Seamless scaling Security updates All data is fully portable Solution: A complete messaging stack