One way of running SQRL in production is by running it as a stateless server:
1 | $ cat << EOF > ratelimit.sqrl |
Once your server is up and running, it will serve traffic over HTTP. You can test it out with the curl
command line tool, sending it a couple sample request from the IP address 1.2.3.4:
1 | $ curl -d '{"Ip": "1.2.3.4"}' \ |
By default the command line tool stores all state in memory. Enabling Redis (or any external database) state storage will give you a stateless server that you can scale horizontally.
We recommend running every event through two separate SQRL configurations. Read our Async deployment documentation for more information.