Skip to content
DataMiner Dojo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about Agile
        • Agile Webspace
        • Everything Agile
          • The Agile Manifesto
          • Best Practices
          • Retro Recipes
        • Methodologies
          • The Scrum Framework
          • Kanban
          • Extreme Programming
        • Roles
          • The Product Owner
          • The Agile Coach
          • The Quality & UX Coach (QX)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

User Defined APIs – Load limits

147 views13th November 2025user defined API
5
Caio Gomes74 12th November 2025 0 Comments

Here we've defined a very simple user-defined API. It receives an alarm, a field and a value and it places the value in the field of the alarm.

However, the volume of alarms we work with is big. While trying to make this integration as far as real-time as possible, we were receiving many alarms of OutOfMemory exceptions. The API had peaks of calls of about 15k requests per 5 minutes.

How can I determine rate limites for a User-Defined API? Can I somehow limit concurrent requests? Is there any kind of action I can take? Or is just the overhead of such an API just too big?

Thomas Ghysbrecht [SLC] [DevOps Enabler] Answered question 13th November 2025

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Thomas Ghysbrecht [SLC] [DevOps Enabler]5.48K Posted 13th November 2025 2 Comments

Hi Caio,

Currently, there is no configurable rate limit available with the User-Defined APIs feature. The current achievable rate is determined by the amount of DataMiner agents, the amount of CPU cores these have, how many endpoints the requests are sent, and how efficient the API scripts are. All these factors will contribute to the max number of triggers that can be handled within a given timeframe.

Could you share some additional details on your use-case? What application is sending the requests to this user-defined API? If I understand it correctly, the API script will update a DataMiner alarm using the provided input from the trigger? You also mention 'OutOfMemory' exceptions, are you referring to the input data, or that you are experiencing such exceptions within DataMiner? These questions will help me better understand the situation and should allow me to suggest ways to improve this implementation/API.

Thomas Ghysbrecht [SLC] [DevOps Enabler] Posted new comment 14th November 2025
Caio Gomes commented 13th November 2025

In order:
The application that is sending those requests is custom-built by myself. It uses parallelism to achieve reasonable execution times, but it's limited to only 16 workers.
Yes. Explaining in most detail, everything the API does is: Load the JSON module, interpret the request body as JSON, correctly parse the fields, then call engine.SetAlarmProperty() twice.
Dataminer itself was issuing the OutOfMemory exceptions in the information events of the agents. Which is unexpected, because we have a 6 node cluster, and their specs are very generous, to say the least.

Thomas Ghysbrecht [SLC] [DevOps Enabler] commented 14th November 2025

Thanks for sharing those details. One way to reduce the amount of calls and their associated overhead, you could look into batching these alarms in a single request and applying multiple values to alarms in one API scrip trigger (if that would not yet be the case of course). Regarding the memory exceptions, this is indeed unexpected. Feel free to share more details on these (e.g. the content of the information events you mention) here, or in a new Dojo question to have these checked out. Something to keep in mind is that the process running the script does have a memory limit, which could be reached if a lot of data is kept or stuck in memory.

You are viewing 1 out of 1 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin