A week ago I went to FOSDEM 2016. On the first day, I attended to some talks in the Python devroom and in the Containers and Process Isolation devroom. These are some notes and links from the talks.
The first three talks belonged the the Python devroom cycle.
Jordi Soucherion (@jordixou) talked about Python tips, tricks and dark magic. Nice fast-paced list of quick tricks, specially suited for beginners. Nonetheless, I learned a couple of new tricks, like the fact that finally
always executes, even if we return in the except
block.
Yuri Numerov (@achifaifa) gave a talk on How to (actually) make games with Python. A very refreshing short talk about making games without a framework (no pygame involved). Straight to the minimal definition of a game, the rules, the winning conditions, etc… I encourage you to have a look on the notebook so maybe you’ll rethink what a game is.
The next talk was entitled Why, but why, async and await keywords have been included in Python 3.5 by Ludovic Gasc (@GMLudo). After a brief review of the concepts of concurrence and parallelism, he explained why he thought that the new keywords, as syntactic sugar for defining and calling coroutines, are better than the previous decorators and yield from
syntax. Basically, he points out that it is more newcomer friendly, hides complexity and has same semantics as C#.
Then, I entered the Containers and Process Isolation devroom and stayed there for the rest of the day. The room was fully packed, I had to sit on the floor right next to the speaker in order to attend to the first talk!
Michael Hrivnak (@michael_hrivnak) talked about Docker for Developers. The focus of the talk was the scenario in which you organization does not use Docker but you use it for your own development and testing of applications in a consistent way. Good introduction to Docker for this use case.
Ray Tsang (@saturnism) spoke about Scaling with Kubernetes, Automatically!. Ray is a developer advocate at Google and demoed us how a Kubernetes cluster of infinispan containers can grow dynamically via the kubectl scale
command. I think he used this tool to make it more visually appealing. He also had a cluster of Raspberry Pi running a cluster of Kubernetes, which he used in another talk that he gave. The how-to of the making of the cluster can be found on a series of posts on the Kubernetes blog.
Aditya Patawari (@adiyapatawari) presented his talk about Fault Tolerance with Kubernetes. Well, more than a talk, it was a hands-on session based on a simple example of a replication controller managing a pod, and seeing in action how it reacts to killing a pod.
There was also a very interesing talk of Ian Downes about Powering Twitter’s infrastructure with containers. He said that the compute nodes of Twitter are based on a Mesos + Aurora architecture, and that the Completely Fair Schedule of the Linux kernel is not the best option for every process because it does not know how much of the work the thread has accomplished.
David Drysdale spoke about Capsicum: Capability-based sandboxing. This was not a talk about containers but process isolation. It was about Capsicum, a framework that aims to define security rules both in a fine-grained and simple approach.
Finally, Maciej Pasternacki (@mpasternacki) talked about Jetpack: a container runtime for FreeBSD. A bright and funny talk about an on-progress alternative to containers on FreeBSD, based upon the appc/spec container specification, ZFS for layered infrastructure, jails for pod management, a fat binary written in Go (and no services involved) and Makefiles instead of Dockerfiles. Not production-ready but a very interesting approach that shares the good engineering practices and slow but steady approach that FreeBSD is proud of. Brilliant!