Dag Brattli on RxPy


Episode Artwork
1.0x
0% played 00:00 00:00
Oct 09 2015 33 mins   2

Visit our site to listen to past episodes, support the show, and sign up for our newsletter!



Summary



Dag Brattli is an engineer with Microsoft and in his spare time he created the ported the Reactive Xtensions framework to Python in the form of the RxPy library. In this episode we had the opportunity to speak with Dag and learn more about what ReactiveX is, why it is useful and how you can use it in your Python programs. It is definitely a very powerful programming patern when manipulating data streams which is becoming increasingly common in modern software architectures.



Brief Introduction




  • Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great.

  • Subscribe on iTunes, Stitcher, TuneIn or RSS

  • Follow us on Twitter or Google+

  • Give us feedback! Leave a review on iTunes, Tweet to us, send us an email or leave us a message on Google+

  • I would like to thank everyone who has donated to the show. Your contributions help us make the show sustainable. For details on how to support the show you can visit our site at

  • I would also like to thank Hired, a job marketplace for developers, for sponsoring this episode of Podcast.__init__. Use the link hired.com/podcastinit to double your signing bonus.

  • We are recording today on October 2nd, 2015 and your hosts as usual are Tobias Macey and Chris Patti

  • Today we are interviewing Dag Brattli about the RxPy project



hired-logo-dark-padding.pngOn Hired software engineers & designers can get 5+ interview requests in a week and each offer has salary and equity upfront. With full time and contract opportunities available, users can view the offers and accept or reject them before talking to any company. Work with over 2,500 companies from startups to large public companies hailing from 12 major tech hubs in North America and Europe. Hired is totally free for users and If you get a job you’ll get a $2,000 “thank you” bonus. If you use our special link to signup, then that bonus will double to $4,000 when you accept a job. If you’re not looking for a job but know someone who is, you can refer them to Hired and get a $1,337 bonus when they accept a job.





Interview with Dag Brattli



  • Introductions

  • How did you get introduced to Python?

  • For our listeners who haven’t heard of it before, can you describe what RxPy is and why someone might want to use it?

  • What problem domains are best suited for using the Reactive X approach?

  • What is involved in integrating RxPy into an existing code base?

  • When should we use RxPy over asyncio or asynchronous workers like Celery?

  • What resources or tutorials do you recommend people use when trying to understand how and when to use the Reactive X tools?

  • What in particular about Python lends itself to the ReactiveX pattern, and what features of the language does RxPy leverage in particular in its implementation?

  • In what ways does the Python implementation of the Reactive X framework differ from those of other languages?

  • The project description references the use of LINQ for querying the various data streams that RxPy enables consumption of. I had always heard of LINQ in the context of traditional database queries. What makes LINQ a good choice for stream processing?

  • I mostly hear about ReactiveX in terms of UI design, but the project description seemed to indicate it was much more generally useful. What are some of the less common and more interesting problems that RxPy lends itself to solving?


Picks



Keep In Touch