elastic-ipfs / metrics-collector

collect elastic-ipfs events into metrics
Other
2 stars 0 forks source link

make decision on staging environment: cloudflare or aws or something else? #13

Closed gobengo closed 2 years ago

gobengo commented 2 years ago

Context

We want to start having a deployment of metrics-collector so that elastic ipfs can send delivered to a metrics-collector.

metrics-collector is a pretty portable set of node.js scripts. We can deploy it to cloudflare and/or aws and/or something else.

We need to decide where to deploy to first as an integration environment.

Barring other input, it may be slightly easiest to deploy to cloudflare workers, as the IndexerMetricsCollector class depends on a persistent storage api that has so far been tested using the implementation made by cloudflare (npm @miniflare/durable-objects). otoh, if we decide we want prod to be on aws, it may not be worth spending time on cloudflare deployment.

gobengo commented 2 years ago

cc @alanshaw @mikeal

mikeal commented 2 years ago

we’re gonna build a lot of notification services in CF so putting it there makes sense. we may also want an instance in AWS for locality but we can do that later.