Node.js Production Tips

download

1. Slug Routes:

slug-routes gives you the ability to use some unique piece of data to represent your records in URLs other than the ID.

https://github.com/felixkiss/slug-routes

 

2. Docker

Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud.

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-getting-started

https://docs.docker.com/get-started/

SWARM_sm

 

3. Canonical URL

It allows you to tell search engines that certain similar URLs are actually one and the same. Sometimes you have products or content that is accessible under multiple URLs, or even on multiple websites.

https://yoast.com/rel-canonical/

 

4. Node.js production experience, tips

From Python to Node.js, then back to Python, JS is Easy to learn, impossible to master

https://blog.geekforbrains.com/after-a-year-of-using-nodejs-in-production-78eecef1f65a

 

Paul Graham was asked about ideal programming language, he said, “I mean, we have had startups writing their code in PHP – and that worries me a little bit. But not as much as other things worry me.”

https://www.nemil.com/musings/shinyandnew.html

 

Hard won lessons five years with Node.js

https://blog.scottnonnenberg.com/hard-won-lessons-five-years-with-node-js/

 

Node.js and ES6 Instead of Java – A War Story

http://www.technology-ebay.de/the-teams/mobile-de/blog/nodejs-es6-war-story

 

Node.js single thread event loop is easy to stack tons of callback to crash the whole process, they have to manually restart the microservice after a period of time

http://blog.digg.com/post/141552444676/making-the-switch-from-nodejs-to-golang
5. Engineering Culture

Software development should be thought of as a cycle of continual learning and improvement rather a progression from start to finish, or a search for correctness.

https://medium.com/@kellan/five-years-building-a-culture-and-handing-it-off-54a38c3ab8de

 

Dogfooding culture, all employees install the latest version, test and report bugs.

https://codeascraft.com/2014/02/28/etsys-journey-to-continuous-integration-for-mobile-apps

 

“To keep the business going with a relatively small staff, we need to consistently punch above our weight.”

https://techcrunch.com/2015/04/27/etsy-cto-on-its-conservatively-crafty-tech-philosophy/

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money.
Follow me @Yaoli0615 at Twitter to get latest tech updates.

Resource:

A Smarter Way to Learn JavaScript. The new tech-assisted approach that requires half the effort

Secrets of the JavaScript Ninja

Node.js Design Patterns

Web Development with MongoDB and NodeJS

Node.js the Right Way: Practical, Server-Side JavaScript That Scales

Web Development with Node and Express: Leveraging the JavaScript Stack

Learn NodeJS in 1 Day: Complete Node JS Guide with Examples

Learning Node: Moving to the Server-Side

Getting MEAN with Mongo, Express, Angular, and Node

Advertisements

About liyao13

Yao Li is a web and iOS developer, blogger and he has a passion for technology and business. In his blogs, he shares code snippets, tutorials, resources and notes to help people develop their skills. Donate $5 to him for a coffee with PayPal at About Me page and read more professional and interesting technical blog articles. Follow him @Yaoli0615 at Twitter to get latest tech updates.
This entry was posted in CS Research&Application, Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s