PyCon Pune 2018

PyCon Pune

Using python and microservices to fuel WebPush at Mozilla

Submitted by Mansimar Kaur (@mansimarkaur) on Friday, 15 September 2017

Technical level: Beginner

Abstract

Ever wondered how the push notifications you get actually reach to you from the time you click on ‘Allow notifications’ to seeing the notifications actually appear on your screen?
This talk will cover in detail how the WebPush technology works followed by a discourse on how to build a backend for handling webpush subscriptions and sending notifications coupled with lessons learnt while developing a push microservice at Mozilla.

Outline

What is Web Push?

  • A brief about what the webpush technology is and how it works.
  • What are service workers and their role in webpush.
  • What are push servers and their role in webpush.
  • How to subscribe to push notifications

How we built a webpush microservice using Python at Mozilla?

  • What are the various components?
  • How to handle authentication for requests?
  • What are channels and how to implement them?
  • How to implement subscription to a channel?
  • How to implement publishing to a channel?

Speaker bio

Mansimar was a software developer intern at Mozilla and as part of her internship, developed a PubSub channels based push microservice. She has spoken at FOSDEM 2017 and EuroPython 2017 about the webpush technology and has written a series of articles about her work and webpush technology. She worked on Brew as part of Google Summer of Code 2017 with Homebrew. Previously, she was also an intern with HackerRank. Being an ardent open source enthusiast, she has contributed to Kinto - a minimalist JSON storage service, Brackets - a code editor by Adobe and also has a string of self-projects that she’s proudly maintaining.

Links

Slides

https://docs.google.com/presentation/d/161Om8lLaXJYF5nqrYkoP8Zzm26Kxh8LpXAZ76LoYDSc/edit?usp=sharing

Comments

  • Kushal Das (@kushaldas) Reviewer a year ago

    Thank you for submitting the talk to PyCon Pune. The talk selection team will contact you here in case of any queries. Meanwhile, please make sure that you provide a link to the presentation slides.

Login with Twitter or Google to leave a comment