Message from JavaScript discussions

October 2017

— Yep

— 

Hi , I want to select vps for my nodejs app . but I need to know some resources consumation by my application . it is built with nodejs (featherjs) and socket.io and redis and mongodb . it is a car tracking system using mobile app gps location . every car driver has app with activated location . and this location update each 20 seconds with socket .

my question is how to calc ram, cpu my app consumming for example 2000 car ?

— Well, usually they give you free trial (Google and Amazon). You can test it out here faking some connections and see

Message permanent page

— If you are in a serverless architecture you can be more precise with analysis tools offered by such companies

Message permanent page

— Those are great

— How do I know 1 socket connection can consume ?

— Fake 200 connections and divide for 200

— Do you any tool that can make multiple socket connections ?

— Fake them

— Make a for loop

— How ?

— Aha