Skip to main content
17-Peridot
August 2, 2021
Solved

Trigger autorefresh

  • August 2, 2021
  • 3 replies
  • 2700 views

1. Can we trigger autorefresh using ServiceInvokecompleted of any service?? (without using refresh intervel)

 

2. While using autorefresh in cloud for every 10 mins, it is reloading all the services binded to the mashup right? If 500 users using same mashup simultaneously, it will slow down the server performance?? What issues we can expect from this scenario? 

Best answer by PaiChung

AutoRefresh specifically ties to fire desired services, so it does not reload all services.

Your 'refresh event' is bound to whatever services you want it to bind to, only those services fire, bring back a payload and that is then reflected on the mashup.

3 replies

PaiChung22-Sapphire IAnswer
22-Sapphire I
August 3, 2021

AutoRefresh specifically ties to fire desired services, so it does not reload all services.

Your 'refresh event' is bound to whatever services you want it to bind to, only those services fire, bring back a payload and that is then reflected on the mashup.

17-Peridot
August 4, 2021

Is it will affect the performance if 500 users using same mashup which have autorefresh?

22-Sapphire I
August 4, 2021

Each mashup runs on their specific client machine, so generally speaking the autorefresh is based on 'time elapsed' like 30 seconds. So it is unlikely that all 500 will trigger refresh at the exact same time. So in that respect I don't think performance should be affected.

Support
August 12, 2021

Hi @AP_9587236

 

To tack on to the previous responses, there are a number of factors that will affect performance such as memory allocated to java, number of cores, number of users logged in, network performance, etc.  Therefore, you need to stress test your solution to determine if tweaking will be needed for your specific situation prior to going live in production.

 

Regards.

 

--Sharon

Support
August 19, 2021

Hi @AP_9587236

 

If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Support
October 15, 2021

Hi @AP_9587236.

 

If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon