More flexibility in limiting requests per second or minute

We've read the docs on limiting the requests-per-second (max-rps), but we would actually like to set the threshold at less than one request per second. For example, we'd like to set the maximum requests to something like once every 5 seconds. But values like 0.2 for max-rps are not accepted. So the question is:
Is there a way to set the maximum frequency of requests to something like once every 5 or 10 seconds?
Is there an add-in that does that or could we create an add-in to do that?
It looks like the server is NOT open source, so we cannot change the current code to address this, but certainly let me know if I'm wrong about that.
In case it's helpful as background, the reason we want a lower threshold is that we only intend to limit access for html or jsp pages (not gif, jpg, js, css, etc.) That's because we don't want users to get half of a page, like the html, but no images or css, which would look like an ugly error. We want them to get the html complete with all the embeded files or get an error page. We're really only trying to block bots, which might make requests every second or slightly less often, and not block any human users. If there are other general suggestions for how to meet our goal, I'd love to hear them.

No, the lowest max limit is 1rps. The request limiting isn't really meant for what you're describing, it is for limiting high request rates. At less than 1/sec such detection would have false positive with real users anyway, so it wouldn't be such a great way of distinguishing users from bots. I'm not sure it would prove very satisfactory.
You could create your own NSAPI plugin (see docs on NSAPI usage) to implement your desired logic. I'd probably look into long term counters instead, but I don't really know the details of the exact problem you're trying to address.

Similar Messages

  • Requests per second

    Hi all,
    I would get or calculate how many requests per second (ReqsPerSec) my WS is doing (average in a period).
    I looked at the Admin console monitoring data and at perfdump output.
    From console I get AvgReqs in last 15'. Iis it correct to calculate ReqsPerSec = AvgReqs / 900 ?
    From perfdump I get average RequestProcessingTime. Is it correct to calculate ReqsPerSec = 1 / RequestProcessingTime ?
    Which is the most correct/accurate way to get it?
    MTIA

    If you really need reqs/second then you can do so by :
    a) at time t1, collect perf-dump and get total requests served (say r1)
    b) at time t2, collect perf-dump and get total requests served (say r2)
    So avg rq/sec = (r2 - r1)/(t2 - t1)
    So you can yourself collect rq/sec based on last x minutes (or since the server start).
    Just curious what do you want to do with rq/sec?

  • Why can't I send any more than 5 TCP messages per second on an NT system?

    Help!
    I am trying to send a message (approximately 50 bytes long) every 22 ms (45.4 Hz) to the only other machine on our network (the server). I am using the following function:
    Status = ClientTCPWrite(Conversation_Handle, Pointer_to_the_data, Size_of_the_data, Timeout_value);
    I have tried various values (0, 1, & 10) for the Timeout value to no avail. The status always comes back saying it wrote fine (no error status). I am running this application on Windows NT 4.0. No matter what I have tried it can only muster about 5 messages per second. I think NT might be limiting me, but I'm not sure. I am updating the screen (which ought to take longer than writing the messa
    ge) every time I send with a count of how many messages I have sent. This appears to be working at the proper rate (I am using a timer set to go off every 0.022 seconds to call the send). I am the administrator on this NT machine with all rights (as far as I can determine). I have tried using the SDK function SetPriorityClass to set the priority of this task to REALTIME_PRIORITY_CLASS, but the return value comes back 0, which means it was unsuccessful. I haven't explored this any further yet, but 22ms should be a long time to a computer so it ought to work without having to go to these extraordinary measures (at least that is what I think). Anybody familiar with the inner workings of NT or the TCP library PLEASE RESPOND.
    Thanks,
    Greg Filis
    [email protected]

    22ms is a long time for your computer, but I am wondering about your network. Are you 10 base or 100 base? Switch or hub? Have you tried a direct connection with a crossover cable? Just trying to spark ideas here. I use TCP all the time but only at 500 ms intervals.

  • WRT120N issue: sending hundreds of connection requests per second

    I have a WRT120N and for about 1 year it worked perfectly but then my ISP started cutting off my internet because when the router tried to connect to the internet it sent hundreds of connection requests (or so they sad), even after I upgraded the firmware to 1.0.04 I still had the same problem. I got angry and started using it as a switch. Now I see that there is a new firmware out, 1.0.05, I hope that the same problem will not persist. But if someone can help me with some tips please say so. Thank you and happy holidays, Ewald

    If, after a reset, it hasn't cleared. Take a look at your systems to see if you have a trojan or some backdoor virus that it trying to open connections in the background.
    In other words, do a complete scan. And not with that free crap either, they don't pick up everything.
    Hackers call it a "Zombie", its a system that has been compromised and can reap havoc on your network. Can cause denial of service attacks, sends out email from your email account (spam and phishing emails), all kinds of stuff. The important part is that it creates enormous amounts of sessions from your machine.
    Just an idea

  • BIND 9 - max request per second

    I use BIND 9 on Solaris 9, hardware: SunFire V280R, CPU 1.2GHz, 2x73GB HDD, 4xFE interfaces
    Now, I see on our FW, there are 3154 session request to DNS, and CPU use by BIND 9 is 98%. So, 3154 is very high
    I don't know how many request my DNS can service
    Please help me

    Guys any update on this?

  • Controlling multiple travel requests per day via schema

    Hello,
    I am working on Travel Management.
    My client wishes that it should not be possible for any employee to raise more than one travel requests per day.
    In the schema, the check box- Multiple TRs/Day is not available. I think with the help of this, maybe issue could be resolved.
    I am not sure.
    Can someone point out what could be missing? What should I do to control this?
    Thank you.
    Ruth Dhamone

    I'm on NW AS 7.03 ABAP Stack 731 Level 13, ECC 606 (EHP 6) with SAP_HR 604 Level 81 and EA_HR 607 (HR-Renewal 1) Level 32 over here. Maybe they really removed it... or it's not available for the deviant Public Sector ;-/. Doesn't really matter though, we don't need it, I was just curious ;-)
    Anyway, since this is not your problem (I misunderstood), there are two possibilities I can think of at the moment:
    1. The Trip is still in the future, hence the Schema doesn't have to be changed and the system remains in technical Schema PL (which is unlikely in your case if the status really says "Trip Completed"). I.e. your Trip is not in the future, is it?
    2. Only one of your expense Schemas qualifies for the trip. In that case the system silently defaults to that one and you don't get the option to choose from a list.
    Cheers, Lukas

  • Control the transaction per second ( TPS ) to down stream system through Oracle SOA

    Hi,
      As part of our business flow,  BPEL calling down stream system via OSB.
    However the down stream system can accept only 5 request per second.
    1. Tried implementing DB poller to invoke down stream system each second with 5 records.
    The flow is as follows .
    DB --> Poller --> ParentBPEL --> Down Stream System
    In this case Poller can able to poll 5 records from DB and push it to "DownStreamSystem" via "ParentBPEL" process.
    But here the contraint is , the "DownStreamSystem" strickly can able to process only 5 requests per second.
    If the "DownStreamSystem" is processed 4 request and processing 1 request  at first second, then in the next second the fusion should push only 4 request . Since the number records in processing state should be 5 at a time.
    Please help me out to solve this scenario or suggest me if there is any other alternative to achieve the solution.
    Thanks in Advance ...

    maybe throttling in the osb is of any help ?
    Throttling
    since you really have hard specs on the "currently processed messages" you could add some coherence cache and use that as sort of lookup to see what messages are getting processed at which time. (it's just some guessing, since i don't have any experience with the situation you're describing)

  • Feature request: Frames Per Second info for clips / Warning when exporting

    I know that this may not be the right place to post, but I think many of us users would agree that this feature would be useful in iMovie. Especially for new users who are not even familiar with terms like "frame rate".
    Let's assume you import a video from your digital camera. You are not an expert in this field, so you edit the video in iMovie. Then you export it using QuickTime. The final video is jerky... and this can be due to incorrect frame rate settings.
    It would be nice if iMovie provided some warning if you are trying to import video at a different frame rate setting than your original video source. Just a pop-up saying "Your video was recorded 29.97 frames per second (FPS) and you are trying to export it into 25 FPS. This can cause some playback issues."
    Maybe even suggest the correct frame rate setting for the export. Apple's software is always trying to make things easier. I think regular users do not even know about "frame rates", so it might be a good idea to warn them.
    Also, how can you tell what FPS are your sources in iMovie? There is no way to tell what FPS was the clip recorded in. To find out, you have to go back into iPhoto, then drag the clip into QuickTime and only there you can select "Get Info" and find the recorded FPS for the specific clip.
    This seems like a lot of trouble to go through, just to find out a very basic information about the clip.
    I would like to see some functionality like this added to iMovie. I think many of us users would welcome this feature.
    What do you guys think?

    Click iMovie/Provide Feedback. That will send your enhancement request to the developers.

  • When i open EMC on 2010 cas server i get "the system load quota of 1000 requests per 2 seconds has been exceeded"

    when i open EMC on 2010 cas server i get "the system load quota of 1000 requests per 2 seconds has been exceeded"
    and it wont load

    when i open EMC on 2010 cas server i get "the system load quota of 1000 requests per 2 seconds has been exceeded"
    and it wont load
    Close EMC and Powershell and run iisreset.
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • How do you wiggle very fast ???? Like more than the frequency of 100 per second.

    I want to make a video of a pen vibrating while moving and i thought of using wiggle expression but the frequency of 100 per second is very slow is there any way that i can wiggle very faster like  more than the frequency of 100 per second???? please help

    You're getting too wound up on the wiggly effect. It's not how real pen&paper sketching works, anyway. If at all, it would be much simpler to use a shape layer path, subdivide it with a zigzag modifier, then slap on a wiggle path modifier and finally reveal everything with a trim paths modifier. Otherwise you can also try this:
    http://aescripts.com/bao-mask-brush/
    Similar techniques using particle systems to draw paths and scatter the residual particles will of course also work. Again, don't get obsessed about that wiggly thing. And if you really must - a wiggle is just a combination of multiple sinus waves with different amplitudes, phases and frequencies Simply adding up multiple Math.sin(time*frequency)*amplitude+phase can give all sorts of patterns.
    Mylenium

  • New Updates - Video recording/more frames per second?

    Just wondering if any future updates for the iPhone could include a video recording function? or is this impossible to do without changing hardware in the actual phone?
    Also could it be possible for the camera to improve? mine at present captures a very low number of frames per second and you have to hold it extremely still or else it will take a blurred photo. Anyone think it will be possible for apple to improve the camera functions in an update?
    Regards,

    dherron wrote:
    Just wondering if any future updates for the iPhone could include a video recording function? or is this impossible to do without changing hardware in the actual phone?
    There have been hackers that have created a video capture program for the iPhone. Its just a proof of concept right now but it does work.

  • Pages Per Second, User Modes

    What is being recorded in the Pages per second metrics, is it:
    1) The DOWNLOAD and (emulated) RENDERING of the page with its attributes/objects (pages, images, frames etc)
    OR
    2) Just the DOWNLOAD of the page with its attributes/objects.
    Does this change between User Modes i.e. Thick and Thin Client

    Hi Paul,
    A page is the eTester representation of what would be a web page in terms of navigations and actions that are performed in the web browser after the document is completely rendered and before the last transition.
    Open the navigation editor and take a look at the Navigations tree. There it can be seen how the pages are divided. Each page will have between 0 to multiple navigations. Pages with zero navigations doesn't count, these pages won't even be shown in the report. If the page have frames the page will show more than one navigation. If the web application uses ajax or a similar technology with http transactions, or if the page uses java applets, flash objects or activex controls that makes http transactions and the proxy recorder was On, then the pages most likely will show more than one navigation.
    eLoad will request all the navigations contained in any given page of any script in your load test scenario, if the web server will responds back successfuly for all the navigations, then this is counted as one page received. eLoad willl be requesting multiple pages from the different scripts that exists in the scenario submitted then it will count how many of those pages are being received in an interval of time, then makes a units convertion of the time interval in order to display it in seconds.
    The pages received per second is the average of how many pages with all the navigations contained in it were successfully obtained from the web servers every second.
    The pages per second is the same statistic regardless if you are running in thick or in thin.
    The pages per second doesn't take into consideration the download of images, scripts, css, or any other object. These are considered in the hits per second.
    A similar thread was created earlier:
    http://qazone.empirix.com/thread.jspa?threadID=11&tstart=30
    The link was inserted here for crossreference if required later.
    Regards,
    Zuriel

  • 300 requests per hour reading from Application scope Good/Bad idea

    I am saving some html in application scope & reading with
    <cflock readonly.
    Will it be a problem if more than 5 requests are made per
    second?
    Does deadlocks occurs with readonly-cflock?
    Thanks

    While creating/changing application scope variables in a
    lock, I think there must be an exclusive lock. You must be careful
    not to set any shared variable such as application inside a read
    only cflock tag.
    I also would suggest to check the usage of Application.cfc
    and onApplicationStart method. You can set application default
    variables and constants in onApplicationStart method in your
    Application.cfc.

  • Weird number of disk-transfers per second when in SYNC mode

    Hi, I've managed to configure BDB in synchronous mode (i.e., each put is persisted on disk when committing). However, now I'm doing 2000 puts per seconds, each with payload from 10 to 250 kilobytes, yet I'm getting (from iostat) that each disk-transfer is only about 6 kilobytes (because of 23 megabytes written on disk per second, divided by 3750 transfers per second). How is that even possible? Is there a way of telling BDB to minimize the number of disk-transfers per second in SYNC mode? It seems that BDB is breaking each put's payload into smaller pieces, and only then saving to disk in a bunch of disk-transfers.

    Hi,
    JE does not split up a single write into multiple writes -- and certainly doesn't do an fsync for each one.
    JE may do multiple writes (but not fsyncs) for a single, multi-operation txn if the write buffer fills.  And it will do multiple writes for a single operation, if the record is larger than the write buffer.  However, it doesn't sounds like this (overflowing of the write buffer) is what you're experiencing.  In any case, you can configure the size of the JE write buffer with EnvironmentConfig.LOG_TOTAL_BUFFER_BYTES, LOG_NUM_BUFFERS, and LOG_BUFFER_SIZE.
    Another thing is that JE will group fsyncs (this is called "group commit") when multiple threads are committing concurrently with SYNC durability.  In this case you'll see a smaller number of physical writes than the number of commits.
    I asked a colleague who has more experience with iostat than I do about this, and he gave me the following information:
    We would expect there to be one sync per put on average, assuming the application is doing serial writes and there are no group commits to further obfuscate the issue. Given the high sync write rate, the writes are presumably to an SSD, or spinning rust with a large non-volatile disk write cache
    I'm not sure what he means by disk transactions in iostats. Perhaps he means the number of disk transfer requests issued to the device listed as tps (transfers per sec) in iostat output.
    If he is using ext3 and he does not have the file system mounted with noatime, he may be observing write requests to update the file system "atime" metadata with each request. So for 2K sync puts/sec he would see roughly 4K (2k put + 2k atime update) write requests/sec and his average write payload would be ~12KB/transfer (the atime write payload is negligible), which would be consistent with the application's put behavior. This is all a guess.
    I hope this helps.
    --mark

  • How many of these objects should I be able to insert per second?

    I'm inserting these objects using default (not POF) serialization with putAll(myMap). I receive about 4000 new quotes per second to put in the cache. I try coalescing them to various degrees but my other apps are still slowing down when these inserts are taking place. The applications are listening to the cache where these inserts are going using CQCs. The apps may also be doing get()s on the cache. What is the ideal size for the putAll? If I chop up myMap into batches of 100 or 200 objects then it increases the responsiveness of other apps but slows down the overall time to complete the putAll. Maybe I need a different cache topology? Currently I have 3 storage enabled cluster nodes and 3 proxy nodes. The quotes go to a distributed-scheme cache. I have tried both having the quote inserting app use Extend and becoming a TCMP cluster member. Similar issues either way.
    Thanks,
    Andrew
    import java.io.Serializable;
    public class Quote implements Serializable {
        public char type;
        public String symbol;
        public char exch;
        public float bid = 0;
        public float ask = 0;
        public int bidSize = 0;
        public int askSize = 0;
        public int hour = 0;
        public int minute = 0;
        public int second = 0;
        public float last = 0;
        public long volume = 0;
        public char fastMarket; //askSource for NBBO
        public long sequence = 0;
        public int lastTradeSize = 0;
        public String toString() {
            return "type='" + type + "'\tsymbol='" + symbol + "'\texch='" + exch + "'\tbid=" +
                    bid + "\task=" + ask +
                    "\tsize=" + bidSize + "x" + askSize + "\tlast=" + lastTradeSize + " @ " + last +
                    "\tvolume=" + volume + "\t" +
                    hour + ":" + (minute<10?"0":"") + minute + ":" + (second<10?"0":"") + second + "\tsequence=" + sequence;
        public boolean equals(Object object) {
            if (this == object) {
                return true;
            if ( !(object instanceof Quote) ) {
                return false;
            final Quote other = (Quote)object;
            if (!(symbol == null ? other.symbol == null : symbol.equals(other.symbol))) {
                return false;
            if (exch != other.exch) {
                return false;
            return true;
        public int hashCode() {
            final int PRIME = 37;
            int result = 1;
            result = PRIME * result + ((symbol == null) ? 0 : symbol.hashCode());
            result = PRIME * result + (int)exch;
            return result;
        public Object clone() throws CloneNotSupportedException {
            Quote q = new Quote();
            q.type=this.type;
            q.symbol=this.symbol;
            q.exch=this.exch;
            q.bid=this.bid;
            q.ask = this.ask;
            q.bidSize = this.bidSize;
            q.askSize = this.askSize;
            q.hour = this.hour;
            q.minute = this.minute;
            q.second = this.second;
            q.last = this.last;
            q.volume = this.volume;
            q.fastMarket = this.fastMarket;
            q.sequence = this.sequence;
            q.lastTradeSize = this.lastTradeSize;
            return q;
    }

    Well, firstly, I surprised you are using "float" objects in a financial object, but that's a different debate... :)
    Second, why aren't you using pof? Much more compact from my testing; better performance too.
    I've inserted similar objects (but with BigDecimal for the numeric types) and seen insert rates in the 30-40,000 / second (single machine, one node). Obviously you take a whack when you start the second node (backup's being maintained, plus that node is probably on a separate server, so you are introducing network latency.) Still, I would have thought 10-20,000/second would be easily doable.
    What are the thread counts on the service's you are using?; I've found this to be quite a choke point on high-throughput caches. What stats are you getting back from JMX for the Coherence components?; what stats from the server (CPU, Memory, swap, etc)?; What spec of machines are you using? Which JVM are you using? How is the JVM configured? What's are the GC times looking like? Are you CQC queries using indexes? Are your get()'s using indexes, or just using keys? Have you instrumented your own code to get some stats from it? Are you doing excessive logging? So many variables here... Very difficult to say what the problem is with so little info./insight into your system.
    Also, maybe look at using a multi-threaded "feeder" client program for your trades. That's what I do (as well as upping the thread-count on the cache service thread) and it seems to run fine (with smaller batch sizes per thread, say 50.) We "push" as well as fully "process" trades (into Positions) at a rate of about 7-10,000 / sec on a 4 server set-up (two cache storage nodes / server; two proxies / server.) Machines are dual socket, quad-core 3GHz Xeons. The clients use CQC and get()'s, similar to your set-up.
    Steve

Maybe you are looking for

  • Unable to Install 10.4.10 on External Hard Drives

    I have an iMac 24" 2.8 GHz Intel Core 2 Duo and I have been trying to install OS X 10.4.10 on to any of the 5 external hard drives I have so that I can boot from them as an alternative to booting from the internal hard disk. When I boot from the Mac

  • Is there a way to add an element to a group in Captivate 7?

    Hello, I would like to add an element to a group without ungrouping the original group and regrouping the group again with the new element.  The reason is is that all of my groups are part of advanced actions, and once you ungroup something, it "fall

  • Menu size and button viewing

    I've been using FCS2 for quite awhile with no problem with DVDSP. I had to clean install my system, so decided to upgrade to the latest versions, which for DVDSP was 4.2.1. (OS 10.5.2 at the time) When I opened the new version of DVDSP for the first

  • Bluetooth mouse

    Hi I'm looking for a bluetooth mouse with a scroll wheel and a button to navigate backwards in browsers. I'm thinking about the microsoft one but I heard it requires the dongle in order to work and I'd prefer to use the built in mac bluetooth. Thanks

  • Hi guru's i  am learning ,iknow alv classical ,interactive how to use oops.

    hi guru's i know alv classical ,interactive how to use oops concept in that , some one is telling oops using of oops to dovelope alv grid , actually i don't know alv grid, plz explain to me brefley diffrence between alv and alv grid...plz...