Improvements to behavior keys

In November we introduced behavior keys to help users take advantage of some of the performance benefits hCloud offers. Since then, we’ve made various usability improvements to help make these easier to employ, most recently adding autosuggest. In this update, we’re making further changes to enable:

  • Dynamic access to behavior keys. When enabled, keys defined for any behavior will be accessible by any other.
  • Improved error messages. It should now be easier to recover from instances where behavior keys are improperly defined.
  • Python behavior key suggestion. Autosuggestion support has been extended beyond JavaScript and can now be used on any user-authored behavior.

Read more about behavior keys in the docs.

Better experiments

  1. Whereas previously users were constrained to varying top-level globals as part of experiments, it is now possible to target nested fields as well. This greatly improves the flexibility of experiments.
  2. Previously, when running experiments in hCloud, streaming the results back to your browser could consumer gigabytes of bandwidth and clog browser memory. Now, instead of downloading the entire run when an experiment is undertaken, we selectively stream only the data which is required to render the analysis chart in view. In doing so we reduce data transfer from often gigabytes to just kilobytes, and prevent the browser slowing down by not loading huge amounts of data into local memory.