
Saravana muthu, OSS Enthusiast, CFML (Adobe ColdFusion, Railo & OpenBD) Developer, CTO @MitrahSoft ( http://t.co/Wr3Dt73AIV ) LinkedIn::http://t.co/mmgDXwmVXU
Bangalore India
Joined December 2008
- Tweets1.2K
- Following704
- Followers541
- Likes55
A Go habit that's saved us more than once:
Every outbound call gets a context with a deadline.
No deadline means one slow dependency can quietly pile up goroutines until the service falls over.
ctx, cancel := context.WithTimeout(ctx, 2*time.Second)
defer cancel()
#golang
ColdFusion upgrade tip:
Before touching the new version, do three things:
1. Find the deprecated tags and functions you still use
2. Lock down the admin and drop unused services
3. Write tests for the few workflows that earn money
Then the upgrade gets boring. #ColdFusion #CFML