Best practices when using the High Performance Data Export Framework (HPDEF) Application Programming Interface (API)
- Last UpdatedApr 08, 2026
- 1 minute read
The following section outlines the best practices when using the High Performance Data Export Framework (HPDEF) Application Programming Interface (API).
- HPDEF plugins should complete quickly. Plugin initializer and handler logic should have short and predictable execution times.
- Plugin logic should be written to minimize locking of the RealTime database (RTDB). Locks should only be taken within their required scope and should be released when they are no longer needed.
- Plugin logic should not make use of Thread.Sleep() or similar methods that suspend thread execution.
- Any exceptions raised by the plugin logic should be caught and handled gracefully within the plugin.