Giter Club home page Giter Club logo

Comments (10)

kwikwag avatar kwikwag commented on May 27, 2024

I should add I see this as a severe bug as it is currently limiting the rate at which we can approve sentences for my language!

from common-voice.

moz-rotimib avatar moz-rotimib commented on May 27, 2024

Hello @kwikwag thanks for filing this issue.

This is not a bug but something we did intentionally to limit the rate at which the API is called when reviewing sentences. The limit with which you can call the API is one every 3 seconds so try to keep your contributions within that limit.

Thanks

from common-voice.

kwikwag avatar kwikwag commented on May 27, 2024

Hey @moz-rotimib - something must be wrong in your calculation - currently the rate is set at 12 requests per 60 seconds, which is one request every 5 seconds. This is seriously limiting the throughput and discourages participation. The rate should be limited according to how normal people work. I does not take 5 whole seconds to read a short (under 15 words) sentence and decide if it is valid. If you stop people before even a minute elapses they will quickly become discouraged and stop volunteering.

Was there any preliminary work done to check what's the distribution of request times for most users to see how this might negatively impact current users?

It seems to be quite simple and sensible to reduce this limit to one request every 2 seconds. Intuitively it should support most use-cases without compromising the limits required to maintain service quality. Especially when it comes to the Sentence Review part.

from common-voice.

kwikwag avatar kwikwag commented on May 27, 2024

I just now performed a session of sentence review. First request Sat, 15 Jul 2023 21:09:36 GMT. The 11th request at Sat, 15 Jul 2023 21:10:24 GMT received a 429 Too Many Requests with Retry-After: 12. That is, I need to wait for a minute to elapse in order to complete 11 requests. That's actually 10 requests per 60 seconds, which is 6 seconds between requests - double the interval from what you wrote...

from common-voice.

kwikwag avatar kwikwag commented on May 27, 2024

Adding a screenshot to help visualize this. Notice the timeline and the position of the failing request.

image

from common-voice.

kwikwag avatar kwikwag commented on May 27, 2024

Oh and last P.S. @moz-rotimib the bug is also the fact that there is no indication of error on the page whatsoever (see original screen recording)

from common-voice.

moz-dfeller avatar moz-dfeller commented on May 27, 2024

Hi @kwikwag , thank you for putting so much effort into this issue. We adjusted the rate limit to 2s for sentence reviews as suggested (#4118). It will go live with the next release πŸŽ‰

from common-voice.

moz-rotimib avatar moz-rotimib commented on May 27, 2024

Oh and last P.S. @moz-rotimib the bug is also the fact that there is no indication of error on the page whatsoever (see original screen recording)

Thanks for also pointing this out. We have created a ticket to fix this and we will work on this in the coming weeks

from common-voice.

kwikwag avatar kwikwag commented on May 27, 2024

Thank you for your efforts and for listening!

from common-voice.

HarikalarKutusu avatar HarikalarKutusu commented on May 27, 2024

I had that reported also here: #4091 , so I'm closing that one.

from common-voice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.