Python in Production

栏目: IT技术 · 发布时间: 4年前

内容简介:I’m missing a key part from the public Python discourse and I would like to help to change that.The other day I was listening toIt’s about moving from a huge

I’m missing a key part from the public Python discourse and I would like to help to change that.

The other day I was listening to a podcast about running Python services in production. While I disagreed with some of the choices they made, it acutely reminded me about what I’ve been missing in the past years from the public Python discourse.

It’s about moving from a huge Zope app (I’ve never used Zope) to a hybrid of Zope surrounded by Flask microservices (amen to Goodbye Microservices ), about mindblowing Postgres features you may not know about (but are overkill for me), and they explain how and why they picked their cloud provider (I run nothing in the cloud).

And yet despite the fact that the details aren’t relevant to me, the mindsets , thought processes , and stories around it captivated me and I happily listened to it on my vacation.

Python conferences were a lot more like this. I remember startups and established companies alike to talk about running Python in production, lessons learned, and so on. Nowadays I feel like I’m one of the few remaining people talking publicly about doing more with Python than scripting AWS and/or Kubernetes (Instagram and to a certain degree Spotify being notable exceptions). The remaining places where we get to talk about these things are insider IRC channels, Twitter, and open spaces at PyCon. Even just being able to constructively disagree with someone is a gift in itself.

The scientific stack and education have carried Python through the Python 2 to 3 transitions that was – as my friend Glyph put it – a huge disaster and I’ll always be grateful for that. Nonetheless, nowadays I often feel strangely estranged at many Python conferences.

And while Node, Go, and Rust certainly ate much of that market, I know for a fact that the number of companies running Python services is not in the single digits.

But from my time on the PyCon US program committee I also know that they are not rejecting such talks out of spite. It’s simply that the vast majority of proposals nowadays reflect the composition of the Python community: science and education. The amount of accepted talks that are not from those two areas are usually way out of proportion with the submissions.

An Offer

So in a completely egoistical move, I would like to encourage people who do interesting stuff with Python to run websites or some kind of web and network services to tell us about it at PyCons, meetups, and in blogs. To help with that, I’m open to mentoring people who feel like they might have something to share but find the process daunting. At this point I have a 7 for 7 acceptance rate at PyCon US and I know a thing or two about speaking at conferences – so I think I can increase your chances to get through.

People keep saying that the hard production/web problems are solved and Python is boring. But that’s patently not true:

  • Many companies are going through the Python 2 to 3 migration right now . Often, “just use six and port all of it” is not an option and other techniques are employed. Some are well-known but not by everyone. A lot of time is wasted right now by everyone figuring it out in their own.
  • Most people are not running their apps in Kubernetes in the cloud – often for good reasons. Why? And how?
  • Docker is old news and yet it’s not a solved problem as my friend Itamar’s site proves: https://pythonspeed.com/docker/ . Did you know that using Alpine-based base images for Python apps is a terrible idea?
  • The async ecosystem today is where the sync ecosystem was ten years ago: we have many frameworks and experiments and it’s both exciting and overwhelming if you try to follow it closely.
  • Standards like OpenAPI and GraphQL have emerged. There’s a bunch of libs and frameworks of varying maturity – someone is probably using them? How do they fit into larger systems?
  • There are much better patterns at using micro frameworks like Flask or Falcon than returning dictionaries and strings. Armin talked about this four years ago and yet I don’t see people talk about this at all.
  • Is there finally an OAuth 2.0 library for Python that won’t make its users want to walk on LEGO bricks? (I legitimately don’t know – I just remember it being a huge pain point years ago.)

I could go on and on. Not all of these topics will get you a spot at PyCon US but if the ecosystem showed more presence at smaller conferences, meetups, podcasts, and blog posts, it would help everyone. And I’d feel less lonely which of course should be everyone’s ultimate goal.

Your chances of me helping are increased if you’re part of an URM and/or if I find your topic interesting. Please accept my apology if I can’t help you specifically, but I’ll try to find time for as many people as my time permits.

Please reach out: https://hynek.me/about/ .


以上所述就是小编给大家介绍的《Python in Production》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

深度探索C++对象模型(影印版)

深度探索C++对象模型(影印版)

Stanley B. Lippman / 中国电力出版社 / 2003-8-1 / 42.00

本书重点介绍了C++面向对象程序设计的底层机制,包括结构式语意、暂时性对象的生成、封装、继承和虚拟——虚拟函数和虚拟继承。书中向你表明:理解底层实现模型,可以极大地提高你的编码效率。Lippman澄清了那些关于C++系统开销与复杂性的各种错误信息和猜测,指出了其中某些成本和利益交换确实存在。他在书中详述了各种实现模型,指出了它们的发展方向以及促使其发展的根本原因。本书涵盖了C++对象模型的语意暗示......一起来看看 《深度探索C++对象模型(影印版)》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

MD5 加密
MD5 加密

MD5 加密工具