Database design
We won't try to design multiple DB. Rather, lets just focus on a single captcha design and we can assume other captcha's will have their own implementations
- Lets have 2 DB types, blob storage and metadata storage.
- Blob contains the base image and we will use S3
- Metadata contains data about the captchas, captcha strength, type, preferred function to apply on top of the corresponding captcha
- We will have a CDN which will store pre-generated mdoified captcha ( a captcha is modified so that bots can't use a dictionary attack. by applying a simple filter or transform, we can programmatically obtain the results based off of initial solution and captcha)
- All DBs except CDN are replicated in each AZ