Giter Club home page Giter Club logo

Comments (2)

rr83019 avatar rr83019 commented on July 28, 2024

Updated design:

  • Only one parameter required: M, the limit of times a captcha can be solved. After this limit is reached the captcha will be retired and garbage collected.
  • Change solved column to an integer that counts number of times the captcha was solved, initialized to zero.
  • Add a timestamp column to the captcha map table, initialized with the current time whenever a captcha is served
  • Increment solved column when a captcha is solved
  • While selecting a new captcha to be served, the solved count should be less than M
  • For GC the solved count should be more than M and the last served time should be less than the current time - time to solve captcha
  • For the answer endpoint, it should accept the solution only if the last served time is less than the current time - time to solve
  • When the time to solve exceeds or incase of a captcha is garbage collected it should return an error status and ask to request for a new captcha

from lc-core.

hrj avatar hrj commented on July 28, 2024

Closed via #52

from lc-core.

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.