How we use Python at Bitbucket

Download How we use Python at Bitbucket

Post on 12-Apr-2017

347 views

Category:

Software

2 download

TRANSCRIPT

MARK ADAMS SOFTWARE DEVELOPER BITBUCKET @MARKADAMSHow we use Python at Bitbucket(tldr; We use it for everything)W H AT I S B I T B U C K E TWhat is Bitbucket?Distributed code hostingPerfect for individuals or teams Git or Mercurial Free for 5 users +Unlimited private repositoriesTry it out! - http://bitbucket.orghttp://bitbucket.org Main web application https://bitbucket.org REST APIhttps://api.bitbucket.orgWeb Tier HA Proxy TCP load balancing Nginx SSL Termination PostgreSQLRelational database RedisCachingWeb TierC E L E RYDistributed Tasks Celery Used for asynchronous event processing Sending notifications Updating pull requests Updating activity feed RabbitMQ used as the message brokerO R O C H IOrochi Translated 8-branched giant snake" Abstraction library for Git and Mercurial Written entirely in Python Simplifies the interaction with repositoriesGit & Hg have similarities: Both store your code Both have commits Both have branchesDjango CeleryOrochiStorage LayerG I T + H G O P E R AT I O N SGit & Hg Operations HTTP WSGI apps - One for Git, One for Hg SSH OpenSSH - Customized! Launches another process (conq) to perform authentication and execute DVCS operationsCan you guess what language?Nope, GoBut really PythonWe dogfood our stuff!Feedback?MARK ADAMS SOFTWARE DEVELOPER BITBUCKET @MARKADAMSWere hiring!MARK ADAMS SOFTWARE DEVELOPER BITBUCKET @MARKADAMS