Some Autobahn praise;)

#1

Background: Mozilla is likely the biggest user of Autobahn in terms of scale, with >100 million WebSocket connection being served:

https://mozilla-push-service.readthedocs.io/en/latest/
https://github.com/mozilla-services/autopush
https://wiki.mozilla.org/Firefox/Push_Notifications

And I missed this presentation by Ben (core dev of above):

From Python to Go, .. and back again
Ben Bangert, Mozilla, Oct 14, 2015

https://docs.google.com/presentation/d/1LO_WI3N-3p2Wp9PDWyv5B6EGFZ8XTOTNJ7Hd40WOUHo/mobilepresent?pli=1&slide=id.g70b0035b2_1_168

Here is the praise;)

A quick Python prototype….

* Used twisted/Python 2.7 using autobahn websocket library
* First draft passing integration tests in 3 hours
* Load-tested under PyPy, used dramatically less memory than Go
* Complete implementation in 4 days
* 100% code coverage in 2 weeks (Go version never got more than 65%)
* Mature libraries meant websockets ran better than before

And the Reddit discussion

https://www.reddit.com/r/golang/comments/3oztwi/from_python_to_go_and_back_again_mozilla_dev/

Cheers,
/Tobias

0 Likes