X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=2019-kvm-forum%2F8400-tradeoff-complexity-issues.html;h=f3c0ba3202e5b9cf7aa0bdeb50db1b6901d2f0ee;hb=6f34bcd5178f2622d9a15915ad2ca136525f318a;hp=82083504573c263d683bce32b69a216b37e20f2a;hpb=d247f3c2cbab75f1f57ac54c6ee8d797d3c4c926;p=libguestfs-talks.git diff --git a/2019-kvm-forum/8400-tradeoff-complexity-issues.html b/2019-kvm-forum/8400-tradeoff-complexity-issues.html index 8208350..f3c0ba3 100644 --- a/2019-kvm-forum/8400-tradeoff-complexity-issues.html +++ b/2019-kvm-forum/8400-tradeoff-complexity-issues.html @@ -5,26 +5,47 @@

Tradeoff: how much complexity

- Filler - summarize various options. Maybe a 2-d graph with: - -

-    c |
-    l |
- ^  i |
-    e |
- i  n |
- n  t |  multiple knobs,
- c    |  requires multiple
- r  c |  fallbacks, but a
- e  o |  non-SR solution works
- a  m |
- s  p |
- i  l |
- n  e |
- g  x |                           require more uniformity,
-    i |                           interop testing is easier,
-    t |                           but writing correct server
-    y |                           requires more effort
-      +------------------------------------------------------
-         > increasing server complexity
+  Tradeoffs in implementation complexity
+  
+    
+      
+      
+      
+    
+    
+      
+      
+      
+    
+    
+      
+      
+      
+    
+  
Lots of knobs in the NBD specMandate all-or-none server implementation
Pro +
    +
  • Implement as much or as little as convenient for the + server +
  • Matches reality that no one resize solution fits all +
+
+
    +
  • Easier interoperability testing +
  • Client can rely on all servers giving same response +
+
Con +
    +
  • More combinations requires more testing +
  • Odd or untested combinations could produce weird + behaviors or even CVEs +
  • Clients must be prepared for more fallbacks +
  • NBD protocol tries to be as simple as possible +
+
+
    +
  • Not all tradeoffs map easily to existing implementation +
  • Open-ended structured replies requires more efforts for + writing a compliant server +
+