Has anyone considered running PostgREST as an AWS Lambda ? #2918
Replies: 2 comments 2 replies
-
|
I have not, but I always wondered whether Just a note though. I have no intention to even try myself. |
Beta Was this translation helpful? Give feedback.
-
|
This is something I've been thinking of, so I could use as a library (optionally caching the schema?), so I would import the Application-exposing module, extract the Application, construct a Request from the aeson-decoded input, run the Application on the request, take the IO Response to produce the output and shove it out. Similar to something crazy I started here when attempting to link DigitalOcean's cloud functions to a generic |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
AWS Aurora Serverless v2 begs the question: can PostgREST be run as an AWS Lambda? And would it be perform?
I am considering it for a very elastic pay-on-demand service in production that does not see schema changes too often.
AWS Lambda being a stateless service the question is how much state does Postgrest need?
If we were to serialise the cached schema to a file and bundle it in the lambda runtime would that suffice?
Thanks,
Rares
Beta Was this translation helpful? Give feedback.
All reactions