controller icon indicating copy to clipboard operation
controller copied to clipboard

Look into if modeling data differently in the DB has benefits

Open helgi opened this issue 9 years ago • 1 comments

Instead of JSONField consider doing a parent/child model to handle proc type information. (and other nested information). Autoscales model with Autoscale for web and worker records. This will only work in some cases. Might not map to health checks very well given it is a very nested structure.

There are two reasons why I want to see some exploration on this

  1. Do validations outside of the JSON Schema hack and rather utilise built-in validations from Django / DRF or at least function based validations
  2. If swagger (https://github.com/deis/controller/issues/811) happens (or any auto-generated schema format) then having data concretely described it going to help a lot

This may not be viable at all, or is only viable when dealing with very simple structures, at best when we know it needs to only map down to the level of process type

helgi avatar Sep 15 '16 23:09 helgi

This issue was moved to teamhephy/controller#51

Cryptophobia avatar Mar 20 '18 17:03 Cryptophobia