The Twelve-Factor App by Kristian Glass

Notes taken during a talk at PyConUK #1 one code repo many deploys #2 what about declaring your dependencies, e.g. gcc compiled items, deply containers #3 read config from environment debug flag, db connections etc avoids secret leakage, add defaults make it language independent populating env – foreman, supervisor (d?), ansible, bash -whatever etc doismellburning – django app www.doismellburning. co.uk […]

» Read more

Performance

Notes taken during a Performance talk given at PyConUK. function calls c method instead cython instead Use operators Loops Avoid list comprehension is quicker than for loop over an emnumerator What is op? xrange vs range – no wasted memory NB: In python3 renamed range itertools Or use a c extension mstexttools Sorting l.sort vs sorted() – any iterator Key based: […]

» Read more

A Pinch of Salt by Scott Walton

Scott Walton gave a talk about how they use Salt, at their company Pebble. Slides can be found here: https://docs.google.com/presentation/d/1q82GUdE-zHUlTSYJxkIdW79CcewO3-KXuBwPe9ir_aA/edit#slide=id.p Salt is a remote config management tool, similar to: Ansible, Puppet, Chef. It seems from talks with others at PyConUK Ansible and Salt were being described more favourably than Puppet and Chef.  Either due to their complexity or through battle testing […]

» Read more
1 2 3 4 5 10