javascript - Only allowing N amount of connections in Node.js -


i started learning node.js on side , though know allow many connections physically possible, i'd know how limit amount of numbers.

say, i'm handling http requests , when connection rate goes 4 people, don't want go further others have wait until free spot available again when finishes request.

also i'd know how make user try reconnect 4 times before being told server's busy 4 connections.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -