Severe latency in ModArcInflux formula calculation

Forum Home Forums Runtime Bugs Server Bugs Severe latency in ModArcInflux formula calculation

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #17896
    Zeus
    Participant

    Description:
    Context: Historical data writing (WriteHistoricalData) with a scale of approximately 200 calculation channels.
    Observation: There is a significant performance disparity between archiving modules:
    ModArcBasic: Formula calculation takes tens of milliseconds.
    ModArcInflux: Formula calculation takes several seconds.
    Impact: ModArcInflux is 10-100x slower than ModArcBasic. Since formula calculation is located in the synchronous write path, this latency causes severe blocking and negatively impacts data acquisition real-time performance.
    Root Cause Analysis: The cost of formula calculation under ModArcInflux becomes excessively high as the channel scale increases, creating a bottleneck in the historical write path.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.