Monday, 5 June 2017

Serving HTML files from Azure Blob for Express.js server

So, I have an Express.js server and an Angular.js front end (Served through express itself and not deployed externally). We have multiple "themes" for the website which can be switched on the fly. Now the theme count is manageable, but we expect it to go into the thousands (maybe even ten thousands)

In the current implementation, we are storing the static theme files (HTML, CSS) in the deployment package itself. With the ever growing number of themes, the deployment package size is growing very quickly.

Now, I am considering moving the themes to an external storage (Azure Blob) and then stream the static content to Express.js from Azure Blob Storage and serve it accordingly.

Will Azure Blob Storage or any other storage be a bottleneck in this case? Or is there a better solution for this "theme" count problem?



via Nitish Victor

No comments:

Post a Comment