So I'm learning programming in general at the moment and have been making a prototype of a web app in node. It tracks http requests, and redirects them based on GEO & other passed parameters. I have plans to use this for my own advertising and may have plans to sell it as a SaaS. My trouble is that, while it has been relatively easy to get my web app functional & working, how do I ensure it's production ready? And what are the best resources to learn about optimizing & ensuring maximum performance, stability & availability?Essentially, I'm trying to achieve maximum horizontal scaling, as much as possible for the lowest costs.How do I ensure it will be able to handle the amount of traffic it needs to? I'm talking +10k redirects internationally with occasional ~5k bursts at random hours of the day.It also uses MongoDB currently, I'm using mongo because I think I'm going to need to use its built in sharding capability (had problems with mysql database getting too large in a similar web app i bought previously).I would also like to build an ad server web app that would eventually take more than 100x the amount of traffic as the one I'm talking about. I would probably use a cdn to serve the images, reducing total bandwidth costs, but redirect traffic would still be significant. Is Node the right choice for this?
Submitted January 03, 2018 at 07:44PM by theambiguouslygayuno
No comments:
Post a Comment