News for hackers. Stuff that matters.
Re:Deploys at Slack by Saaster on Wednesday April 08, 2020 @08:33PM (#22818679)
Plain EC2, backend in PHP.
Re:Deploys at Slack by echelon on Wednesday April 08, 2020 @08:54PM (#22818807)
> Plain EC2, backend in PHP.

That's slightly horrific. Weirdware NIH deploy system, no containers, PHP.

Re:Deploys at Slack by meritt on Thursday April 09, 2020 @03:28AM (#22820523)
> That's slightly horrific.

I'd argue that the contemporary infatuation with mastery of complex toolchains as being the only possible solution to modern technical problems is far more horrific.

Smart businesses focus on simple, effective solutions and avoid hiring engineers who obsess with rewriting everything using the latest over-hyped technology.

Re:Deploys at Slack by windowsworkstoo on Wednesday April 08, 2020 @10:29PM (#22819264)
Why so? They just haven't jumped on the meme-tech train, at least wrt to this setup.

Running an actual process on an actual server has been around since time immemorial, as has doing the "atomic" deploy thing (which I'm guessing is just updating a symlink from cold to hot).

The approach is refreshingly sane.

Re:Deploys at Slack by aprdm on Thursday April 09, 2020 @12:01AM (#22819662)
Lol.

You would be surprised at how 99.9% of the companies work. Including a lot of departments inside Google, Amazon and Netflix.

Maybe you were being sarcastic and I felt for it since you stressed it a bit too much.

Re:Deploys at Slack by Saaster on Thursday April 09, 2020 @02:22AM (#22820273)
Look at almost all successful companies and they're pretty "boring" under the hood: GitHub and Stripe are Ruby on Rails, Facebook is PHP, Google is Java (still almost all new code written in 2020)... it gets the job done. Yes, they do some optimizations (HHVM etc.), but nobody is considering rewriting FB, Stripe or Google services in the language du jour.

The complexity of the infra and deployments are always relative to the size of the company, and no two companies are alike there. Small or big, it's all bespoke. Even if a few pieces are shared as open source projects, there's a veritable iceberg of complexity in the form of inhouse knowledge and tooling in each of the companies, there is nothing even close to a standard deployment system in either green field startups or FAANGs today.

Re:Deploys at Slack by icedchai on Wednesday April 08, 2020 @10:09PM (#22819179)
If I was using PHP, I wouldn't use containers either. Just sync the latest code over, change a sym link to the new build, done.
Re:Deploys at Slack by conradfr on Thursday April 09, 2020 @06:36PM (#22827924)
That seems a little bit simplistic for today's workflow as there's chances you'll need to to restart php-fpm anyway, discard/refresh some cache (Doctrine metadada ...), maybe update your composer / vendor directory and its autoloading files, maybe run db migrations and more.
Re:Deploys at Slack by 1f97 on Thursday April 09, 2020 @04:53AM (#22820848)
capistrano is perfect for that. we use it for all our deployment needs and it has been wonderful!
Re:Deploys at Slack by mcpeepants on Thursday April 09, 2020 @06:49AM (#22821310)
second this. I haven't needed cap in a while for the work I'm doing, and I don't often see it mentioned (perhaps because I'm not looking) but it's a fantastic tool for managing atomic deployment.
Re:Deploys at Slack by leftnode on Wednesday April 08, 2020 @10:32PM (#22819281)
And yet...it just works. And scales!
Re:Deploys at Slack by spoopyskelly on Thursday April 09, 2020 @03:13PM (#22826111)
The only horrific thing is that you think that.