Changes between Version 1 and Version 2 of Ticket #3783, comment 8


Ignore:
Timestamp:
2022-08-11T18:30:58Z (2 years ago)
Author:
itamarst
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3783, comment 8

    v1 v2  
    11Thinking about implementation some more... there'd be a lot of duplicated functionality if you had two `IServer` implementations, especially given the need for backwards compatibility. So perhaps a better approach is making `NativeStorageServer` choose an HTTP `IStorageServer` client if there are NURLs.
    22
    3 **Edit:** I tried this. It was not a success, it doesn't actually reduce duplicate or simplify hings meaningfully, too much of `NativeStorageServer` is tied to Foolscap. So having a separate `IServer` implementation for HTTP is probably the way to go.
     3**Edit:** I tried this. It was not a success, it doesn't actually reduce code duplication, nor does it simplify hings meaningfully, too much of `NativeStorageServer` is tied to Foolscap. So having a separate `IServer` implementation for HTTP is probably the way to go.