Darker icon indicating copy to clipboard operation
Darker copied to clipboard

Support for remote queries running on AWS Lambda or Azure Functions

Open dstockhammer opened this issue 7 years ago • 1 comments

This is pretty much just in idea/draft/gathering requirements stage.

It would be cool if we could configure queries such that when they are executed, they actually call an Azure or a Lambda function. This would basically be RPC over HTTP, but I think that's quite reasonable for the Darker (= query side) use case.

I'll just go ahead and sketch some stuff out. Any input is appreciated!

dstockhammer avatar Jun 07 '17 14:06 dstockhammer

I think this is a great feature.

I do think though that having a separate IRemoteQuery interface will make it more obvious, to the caller, that the query is being executed via HTTP.

Also, presumably remote queries won't work with the non-async Execute?

If so, it will also stop the possibility of calling the non-async Execute with them (again assuming that only async execution would be supported).

It might also allow you to easily define separate circuit breaker and retry policies that only apply to remote query execution.

george-ayris avatar Jun 07 '17 15:06 george-ayris