Skip to content

[Feature]: S7 asset to change load balacing with connection resource #15

@GoncaloEsi

Description

@GoncaloEsi

Tell us about your request

Add some mechanism to share resources so that a heavy loaded (high tag number) asset does not irretrievably crash.

Which component(s) is this request for?

  • Coreflux Broker
  • Coreflux Hub
  • Flux Assets
  • Flux Language
  • Power Ups
  • User Experience (UX)
  • Documentation
  • Conceptual Features

Is your feature request related to a problem? Please describe.

We have a case of an S7ToMqtt asset with 300(ish) tags that is crashing mid usage. Curiously, we have the exact same asset and asset config on running on another computer, but running Coreflux without GUI (Mqtt CLI). Even the computer and OS is the same (Ryzen 7).

These are the parameters (not including tags):

"MQTTParameters": {
"Port": 1883,
"Address": "127.0.0.1",
"IsAnonymous": true,
"Username": "",
"Password": "",
"EnableTLS": true,
"EnableDebugTopic": true,
"DebugTopic": "test/debugtopic"
},
"SiemensParameters": {
"IP": "192.168.10.1",
"PLCRack": 0,
"PLCSlot": 1,
"Retries": 0,
"RetryTimeInSeconds": 15,
"RefreshTimeInMs": 500,
"ConnectionResource": 3
},

I am not sure if the RefreshTimeInMs is the culprit here, because as I said, this is a replica of something that did not exhibit this problem.

Describe the solution you'd like

1 - Clarify on the documentation to experiment with different RefreshTimes and tune the asset

2 - Add some mechanism that takes care of a high tag number to prevent crashes

Describe alternatives you've considered

Install 2 asset instances and divide the load

Is this request for a new asset?

No.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    community-feedbackIssues where community feedback is needed.enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Community Input

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions