News for hackers. Stuff that matters.
Re:Open-sourcing Teletraan, a code deployment system by contingencies on Friday February 12, 2016 @08:24PM (#11091942)
Run Deploy Agents on each host through your provisioning process

If that's the requirement, a serious question might be: why not just deploy code through your provisioning process?

My personal impression is that the key issue with most systems in this area is that they whitewash, ignore or blur the reality that network topology, security, service codependencies, data security, build and deployment pipelines and so forth need to be managed at some level, may not be the same across all infrastructure, and requirements in these spaces can frequently be nontrivial with competing concerns. Thus, individual solutions typically only function for a subset of cases while ignoring the fact that others exist.

A clear description of the limitations of the approach of the tool would be useful.

Corosync/pacemaker is one mature solution in this area with a focus on HA and the capacity to navigate logical topology changes (due to faults, errors, etc.) in real time to resolve service interdependencies towards a defined 'goal state'. Extremely powerful, with a huge library of 'OCF resource agents' (service definitions) already written.[0] However, it also uses the 'agent on each machine' architecture. Where a small number of services are deployed at large scale in a parallel configuration I believe an agentless configuration methodology with PXE and IPMI power control is a more efficient node management path, though it obviously negatively impacts HA.

PS. 'Features' like rollback and 'hotfix' are arguably negligible if you have a reasonable service build process incorporating versioning.

[0] https://github.com/ClusterLabs/resource-agents

Re:Open-sourcing Teletraan, a code deployment system by sagichmal on Saturday February 13, 2016 @09:02AM (#11093931)
> why not just deploy code through your provisioning process?

Because provisioning operates with a much larger timescale, with a different fundamental understanding of the act of manipulating remote state. In a word, it's too slow.

In fact it seems to me that this tool is itself still too slow, like a half-step between Chef/Puppet/Ansible (system provisioning) and Kubernetes (application scaling). The future is clearly in the commodification of hardware and network, i.e. immutable infrastructure and cattle-not-pets.

Re:Open-sourcing Teletraan, a code deployment system by contingencies on Saturday February 13, 2016 @04:26PM (#11095734)
> In a word, it's too slow.

{{citation-needed}}

PXE boot is a few seconds... restores perfectly known state at all layers of the stack and thus has lots of guarantees.

Re:Open-sourcing Teletraan, a code deployment system by Xeroday on Friday February 12, 2016 @02:39PM (#11089869)
Here's the latest blog post, which includes the link to the code: https://engineering.pinterest.com/blog/open-sourcing-teletra...
Re:Open-sourcing Teletraan, a code deployment system by dang on Friday February 12, 2016 @03:43PM (#11090385)
Re:Open-sourcing Teletraan, a code deployment system by bjohnso5 on Friday February 12, 2016 @02:44PM (#11089924)
Thanks, appreciate the updated link
Re:Open-sourcing Teletraan, a code deployment system by ryanfitz on Friday February 12, 2016 @03:26PM (#11090263)
We use Teletraan heavily. Currently we have about 500 deploys per day, including the auto deploys.

Slightly off topic, I'm a big fan of continuous deployments, but 500 deployments a day seems excessive. Assuming an 8 hour work day, thats more than 1 deploy every minute. Its great that this system works that seamlessly, but are there really benefits with deploying that frequently?

Re:Open-sourcing Teletraan, a code deployment system by eva1984 on Friday February 12, 2016 @03:41PM (#11090372)
I think they are talking about different services though.
Re:Open-sourcing Teletraan, a code deployment system by ieatpancakes on Friday February 12, 2016 @04:40PM (#11090859)
Some services probably have continuous deploy too
Re:Open-sourcing Teletraan, a code deployment system by yakk0 on Friday February 12, 2016 @04:43PM (#11090884)
Nice name. If people don't get the reference, Teletraan was the name of a series of computers from the Transformers series: http://tfwiki.net/wiki/Teletraan_I_%28G1%29
Re:Open-sourcing Teletraan, a code deployment system by bjohnso5 on Friday February 12, 2016 @02:31PM (#11089814)
Title is a bit misleading, should be more like "Pinterest announces intent to open-source Teletraan, a tool for code deployments"

EDIT: Xeroday helpfully pointed out that there IS a link to code in another blog post in the same series.

Re:Open-sourcing Teletraan, a code deployment system by moondev on Friday February 12, 2016 @07:45PM (#11091796)
What does a "host" mean in context of deployment with this tool? Does it mean that you spin up instances and then deploy over and over on the same set?
Re:Open-sourcing Teletraan, a code deployment system by ketralnis on Friday February 12, 2016 @09:14PM (#11092098)
Someone like AWS has a minimum amount of time they bill for an instance for. It's usually 1 hour. If Pinterest is deploying 500 times a day, the cost of spinning up all new instances every single time would be pretty excessive. A lot of companies have a fixed set of app servers that stay up most of the time, then another set of dynamic ones that spin up and down with traffic.

So yes, it probably does mean that they are deploying more than once to the same set of servers.

Re:Open-sourcing Teletraan, a code deployment system by kevan on Friday February 12, 2016 @06:00PM (#11091324)
Perfect timing, we just started building a system for this at a hackathon in the past two days, hopefully we can use this instead.
Re:Open-sourcing Teletraan, a code deployment system by whatnotests on Friday February 12, 2016 @06:30PM (#11091452)
Pinterest is talking about deploying code. Meanwhile, the rest of the world is moving toward deploying containers.
Re:Open-sourcing Teletraan, a code deployment system by mindcrime on Friday February 12, 2016 @10:53PM (#11092431)
"There is no silver bullet". - Fred Brooks