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
Post a Comment