indexer
indexer copied to clipboard
Serverless APIs
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.