indexer icon indicating copy to clipboard operation
indexer copied to clipboard

Serverless APIs

Open ptrwtts opened this issue 3 years ago • 0 comments

Given that the Postgres database is decoupled from the Indexer server, it should be possible to serve API endpoints from a serverless architecture, giving us automatic scaling (with the database becoming the bottleneck).

It even looks like it's possible to take an entire Hapi / Express server and run it as a lambda function, which means we would not need to maintain different code for server vs serverless.

Not a priority, just something to keep in mind. When we have some capacity, would be good to test it, and confirm that it's possible.

ptrwtts avatar Dec 11 '21 22:12 ptrwtts