Created
March 4, 2023 03:19
-
-
Save dhanji/41a7189fe8aa43e7a3aba6f277ab6e75 to your computer and use it in GitHub Desktop.
makePizza.vsl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module gigi.pizzeria | |
verb makePizza { | |
data { | |
in | |
Order(..) | |
out | |
Pizza(..) | |
} | |
connectors { | |
http { | |
routes /pizza /make-pizza | |
format | |
json, proto, www-x-form-encoded | |
} | |
grpc | |
} | |
resources { | |
.. | |
} | |
runtime { | |
autoscale | |
latency-tier INTRA-RACK | |
error-recovery { | |
retry linear-backoff(4) | |
finally { | |
alert | |
quarantine | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment