DEV Community

Top Mistakes That Back End Developers Make

John Au-Yeung on July 02, 2020

Subscribe to my email list now at http://jauyeung.net/subscribe/ Follow me on Twitter at https://twitter.com/AuMayeung Many more articles at http...
Collapse
 
junkern profile image
Martin

Those are all good points, but in my opinion deploying on a Friday is NOT a mistake.

If you are scared of deploying on a Friday, than you are not confident enough with your deploys and you should invest in your CI/CD pipeline, all kinds of tests (unit, integration, e2e) and blue/green deploys.

Collapse
 
pzelnip profile image
Adam Parkin

I think absolute statements are often incorrect. I agree with this comment in principle (if you're not confident in your deployment process then that's a smell that should be addressed), but to say "you should feel comfortable deploying at any time" is a goal to strive towards that not everyone is in a position to do.

For example: say you have a very large complex legacy application. Currently deployments of that system are risky. Sure you should absolutely strive to address that, but that process doesn't happen overnight, so in the interim a policy of "no deploys the day before the weekend" is a pretty reasonable compromise until your CI/CD pipeline (if that's even possible for your business) is sophisticated/robust enough to ensure that breakages are infrequent on releases.

Collapse
 
junkern profile image
Martin • Edited

I agree with you on all points! I know that my absolute statement ("always deploy") is something only a few companies can successfully pull off, but I wanted to counter the "never deploy on Fridays". Because what happens, if it takes more than 1 day to resolve an incident following a deployment? Don't deploy on Thursdays and Fridays! And the list goes on and on until there is a release day once a month/quarter when the stars align perfectly :D

Collapse
 
aumayeung profile image
John Au-Yeung

Having an automatic pipeline for deploy and rollbacks definitely reduce the risk a lot.

Collapse
 
graystrider profile image
GrayStrider

Better safe than sorry 😉

Collapse
 
harleypasoz profile image
HarleyPasoz

Great! Very helpful tips to avoid 🙂

Collapse
 
aumayeung profile image
John Au-Yeung

Thanks

Collapse
 
xpavlic4 profile image
Radim Pavlicek

Big Commit before you go on vacation. And better version of it is when you cannot revert it.

Collapse
 
bernardbaker profile image
Bernard Baker

These are all valid points.

Collapse
 
prafulla-codes profile image
Prafulla Raichurkar

Nice Article!

Collapse
 
aumayeung profile image
John Au-Yeung

Thanks

Collapse
 
yeo_alexandra profile image
Alexandra Yeo

Great points!

Collapse
 
aumayeung profile image
John Au-Yeung

Thanks.