commit | 1443db66e9db28b5d512ce3e1b8242a87884cd87 | [log] [tgz] |
---|---|---|
author | Asim Shankar <ashankar@google.com> | Thu Oct 15 18:20:45 2015 -0400 |
committer | Asim Shankar <ashankar@google.com> | Thu Oct 15 18:20:45 2015 -0400 |
tree | 1ba364a600ccbe68d09d2334ed7ba1e89dd58dca | |
parent | 54045303ace71854b87b06bac28170659aa03d8e [diff] |
Resolve vanadium/issues#776 Refactors the code around the address chooser in the static and roaming runtime factories so that initialization doesn't block on detecting whether the process is running on an AWS EC2 instance or not. This is only a cosmetic fix to the problem, it parallelizes the detection with other operations but will block again if AddressChooser.Choose is called - typically when servers have started and are ready to mount themselves. So, I consider this a hacky fix. This change also introduces a behavioral change in the roaming runtime factory: When running a process compiled with the roaming runtime factory on GCE/AWS, the pubsub channels for communicating address changes are now initialized. Prior to this patch, when running in GCE/AWS, the roaming profile was exactly equivalent to the static profile. I'm hoping this change isn't a big deal? We should probably get rid of the static profile anyway - why bother when roaming seems strictly superior? Change-Id: I0796caf8f48a744c024a00b3e31f00c5a3f555b5
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.