We are currently using Express' static app to serve our JavaScript and CSS. A best practice for scalable sites is to push any static content onto a Content Delivery Network (CDN). If you have ever used Facebook (they do have a pretty large user base), you have used a CDN. If you inspect your Facebook profile, you will see a domain come up again and again, fbstatic-a.akamaihd.net
. This is the CDN that Facebook uses for static assets. A CDN will have multiple servers across the world with the same content. Based on where the request comes from, the CDN will return the closest source. We are going to do something similar with this application using Amazon Simple Storage Service (S3).
Building Scalable Apps with Redis and Node.js
By :
Building Scalable Apps with Redis and Node.js
By:
Overview of this book
Table of Contents (17 chapters)
Building Scalable Apps with Redis and Node.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Backend Development with Express
Extending Our Development with Socket.IO
Authenticating Users
RabbitMQ for Message Queuing
Adopting Redis for Application Data
Using Bower to Manage Our Frontend Dependencies
Using Backbone and React for DOM Events
JavaScript Best Practices for Application Development
Deployment and Scalability
Debugging and Troubleshooting
Index
Customer Reviews