Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimizing OPC UA Server Performance: Addressing Delay in Real-Time Updates and Alarm Generation #2787

Open
2 of 5 tasks
kais123456789 opened this issue Oct 4, 2024 · 1 comment
Assignees

Comments

@kais123456789
Copy link

Type of issue

  • Bug
  • Enhancement
  • Compliance
  • Question
  • Help wanted

Current Behavior

I'm utilizing the OPC UA bundle to set up an OPC UA server that supports both Data Access (DA) and Alarms & Events (AE). I'm reading 5,000 tags every second and exposing them through my OPC UA server sample. Additionally, I've created 5,000 alarms per second to stress-test the bundle. However, I noticed this configuration leads to memory leaks and significant delays in real-time updates and alarm generation.
After troubleshooting, I discovered that the method
public override void ReportEvent(ISystemContext context, IFilterTarget e)
takes over 5 seconds to complete. As a result, we experience delays in both real-time updates and alarm generation.
Are there any methods, configurations, or code refactoring approaches that could help resolve this delay?

Expected Behavior

No response

Steps To Reproduce

No response

Environment

- OS:
- Environment:
- Runtime:
- Nuget Version:
- Component:
- Server:
- Client:

Anything else?

No response

@Archie-Miller
Copy link
Contributor

Archie-Miller commented Oct 22, 2024

Currently have ConsoleReferenceClient receiving 9000 Events per second and 5000 Data notifications per second without seeing the issue described.

More details would be helpful

Environment details as requested in the Issue
Version Numbers
Server Configuration file
Subscription count, queue sizes, sampling and publishing intervals

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants