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

java - Checkbox item adds to spinner -

php - mySQL problems with this code? -

C# MVC AngularJS -