Skip to main content

Suggest an Idea

Vote for your favorite Qlik product ideas and add your own suggestions.

Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Expose load/unload apps to/from memory events

stefanstoichev123

Expose load/unload apps to/from memory events

Since QV times people requested to programmatically remove/unload apps from memory. Im guessing there are valid arguments against this to not implemented (and might never be). 

But what about to be able to register for notifications (via Notification API probably?) when apps are:

  • soon to be removed - "if nothing is changed in the next X minutes" the app will be removed from memory
  • unloaded - when app is actually removed from memory
  • started loading app into memory
  • completed loading app into memory

The why(s):

  • why not - 🙂 its good to know when something is about to happen/is happening with the apps. The internal Engine events are quite ... mysterious and not many ways to know what is happening in real-time. This way we can proactively monitor what is happening with the Engines and potentially identify problematic apps  (cross reference with the Healthcheck API)
  • (personal) i wrote a tool that keeps some apps constantly in the memory. The tool executes small calculation on the required apps every few minutes and thats how the apps are kept in the memory. Its a bit an overkill to loop every few mins across all engines and open multiple apps. It will be more effective if we were notified when app is about to be unloaded so we can decide if the app should be left to "expire" or to "ping" it and prevent unloading

Thanks!

Qlik Sense Enterprise on Windows 

2 Comments
Thomas_Hopp
Employee
Employee

Hi @stefanstoichev123 thanks for providing us with your idea. As you said, there have been many conversations about unloading specific Apps from Memory in QlikView or Qlik Sense Enterprise Client Managed. This is not something we are planning to do in our Client Managed Products as we are working towards a more "one App per Engine" approach in our SaaS offering.

About your second question in that idea. Notifications about unloading or removing an App from Memory wouldn't work, right ? As you would need an active session for that which would always set the time out counter back to 0 ?

For the App open events we are in the progress to work on a more detailed messaging while a user is opening an App. Meaning instead of the spinner only, you would ideally see all the details of what is actually happening right now while you open an App. This is something we plan for.

Let us know if you have more questions / comments.

Best regards,

Thomas

Status changed to: Closed - Declined
stefanstoichev123

Hi Thomas.

thanks for taking the time to look into this.

Have one comment though. Its about the notification of unloading/removing apps from memory. I was thinking more about a (web) hook type of notification. So when app is unloaded/removed from memory the engine to emit the event to outside world. Quite similar to the existing Notification API mechanics (tbh the same can be used to loading/opening apps).

Regards!

Stefan