I've a task to host one HTTP application (might run on apache or nginx) and this application would be used by many programmers as an API. There would be hundreds of programmers sitting at same location / premise / Hall and all sharing same outgoing source IP address to connect to my API publicly.
I am looking for a way to limit concurrent connection to 5 at a time per user. There are some modules available in both apache & nginx but these modules limits based on source IP address. Because of this, I would not be able to use modules for apache & nginx which limit concurrent connection based on Source IP as in my case source IP remains same.
Can some one please suggest me a way to achieve this.
Thanks in advance, Keyur