Changes between Version 2 and Version 3 of Ticket #1603, comment 6


Ignore:
Timestamp:
08/06/18 02:32:02 (6 years ago)
Author:
huifeidexingyuner@…

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1603, comment 6

    v2 v3  
    22I have my doubts about your two downsides:
    33(1)2000 requests per millisecond, which also mutexes the count(ngx_shmtx_lock), so that if only 1,000 requests are allowed per second, the next 1,000 will be rejected。Is that wrong?
    4 (2)Is it because the now and last time may be too short that this one-second calculation may not work?
     4(2)Is it because (now-last) time results may be too short, and this one-second calculation may not work and result in server overload?