Merge Sql/AbLegacy follow-ups: one shared Sql driver JSON options definition for driver + deploy gate (#1076), AbLegacy read-plan memoisation keyed on the exact reference list (#1073)
This commit is contained in:
@@ -378,3 +378,7 @@ and the UI authoring flow.
|
||||
- **Native heap is invisible to the GC.** As with AB CIP, libplctag's native heap does not show up in CLR allocation figures; watch whole-process RSS and use `ReinitializeAsync` to recycle libplctag handles. (`IDriver.GetMemoryFootprint()` was deleted as unconsumed in Gitea #525.)
|
||||
- **PCCC reconnect is more expensive than CIP** — legacy PLCs have no connection multiplexing, so the resilience pipeline should use longer backoff than for AB CIP (see [docs/v2/driver-specs.md §4](../v2/driver-specs.md)).
|
||||
- **Single-element addressing today** — a PCCC file is inherently an array (an N7 file is up to 256 words), but the current tag surface addresses one element per tag; range-spanning tags must be enumerated element-by-element until multi-element addressing lands.
|
||||
|
||||
## Read-plan cache (#1073)
|
||||
|
||||
`ReadAsync` memoises its plan (resolution, per-device bucketing, coalesced-block planning) per EXACT ordered reference list, up to 64 lists per device-table generation (a full cache is cleared). The cache is dropped on every initialise and teardown, so a config change re-plans. The plan is cached as if no block were refused; the device's current refused-block memory is applied at use time. Reads containing an unresolved reference are not cached.
|
||||
|
||||
Reference in New Issue
Block a user