BuildOnViction / infrastructure

🏗 TomoChain internal infrastructure
17 stars 11 forks source link

TomoMaster Crawler should internally connect to the node #89

Closed thanhson1085 closed 6 years ago

thanhson1085 commented 6 years ago

https://github.com/tomochain/infrastructure/blob/f2d091b0e839d2a6641afd2545e0301f5772dfd1/networks/devnet/main/04tomomaster.yml#L26

It could be easy if they are running in a same swarm.

Also take a look for TomoScan crawlers

etienne-napoleone commented 6 years ago

So we have two choice:

First one have load balancing and redundancy, second one have a bit less latency.

thanhson1085 commented 6 years ago

I am thinking about this idea. We have external loadbalances (cloudflare, cloud provider aws, DO). We will also setup a internal load-balance (nginx upstream). So the follow will be: the crawler -> internal loadbalance -> nodes

etienne-napoleone commented 6 years ago

yep can do!

etienne-napoleone commented 6 years ago

implemented in #94