cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

PowerApps with satellite Internet Connection

Hello PowerApps experts!

 

I'm looking for a little bit of advice / suggestions please.

 

I'm currently building an app, which is more or less finished. Its essentially a collection of about 10 forms, with a menu page that provide links to the 10 forms / respective galleries. The app is embedded within five different SharePoint sites, each of which passes a parameter back to the app so that depending on which site you are in, each form will connect to site specific datasource (in the main, SharePoint lists).

 

As a result of the above, I've got about 40-50 datasources within the app. I've read somewhere this is more than is recommended, however the app I have built is doing everything that I need it to do and the performance with a normal internet connection is good. 

 

The Problem

 

While I'm fairly happy with the app, the kicker here is that some of the users will be connecting to the SharePoint / App using a satellite internet connection.

 

When we've tested the app replicating the connection latency, it is taking in the region of 3-4mins to load (SharePoint itself is taking a couple of mins to load on the internet connection) which is a bit painful.

 

It should be noted that the above timings are once I have flushed the cache - if I let it cache, the performance (unsurprisingly) is significantly better.

 

The Question

 

Does anyone know if there is there anything I can do to enhance the performance of the app when considering a limited internet connection? I've tried using a "smaller" app containing less connections / removed any images, which is faster to load but its certainly not lightyears quicker. 

 

My gut suspicion here is there isn't much I can do (caching seems part of the answer but guessing I can't control that through powerapps?), however if anyone has any suggestions I've love to hear them!

1 ACCEPTED SOLUTION

Accepted Solutions
BCLS776
Super User
Super User

Yes, that 4mb app size is getting downloaded each time you launch the app, which is probably causing most of your delay. Your Monitor data so far indicates no large data transfers once the app is running.

 

A source of bloat in app size can come from embedded images and similar files. Check your media tab to make sure only what you need is included in the app package:

BCLS776_0-1631715871572.png

 

And keep in mind, for the "As-A-Service" model that functions on any mobile device or browser, Power Apps needs to download the app pretty much each time it is used. Very little persistence/caching due to it running as a web service. It can run better if you use the non-browser version (through the Power Apps app available for iOS or Android), since those are capable of launching while fully offline.

 

Bryan

 

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

View solution in original post

6 REPLIES 6
BCLS776
Super User
Super User

Hopefully, several more community members will chime in here because there is a lot you can do in different ways to improve the performance of an app. First, though, open up a Monitor session and pay attention to data moving in and out of your app. Your data movements are restricted by bandwidth, so being as efficient with those as possible will matter. Things to pay attention to:

  • Queries (Filters, lookups, searches, etc) that get repeated unneccesarily, or more frequently than UX demands
  • Loading more columns from tables than needed to make the app work
  • Failing to delegate operations to the server (a table filtered at the server is smaller than a table loaded and then filtered in the app)
  • Controls, like dropdowns, that don't change, but end up querying the server for their Items multiple times
  • Loading a file to the mobile device, only to send it out again some other way (these can often be automated with a flow)

Just a start, but hope it helps,

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

Hi Bryan

 

Thanks so much for the suggestions - that's some helpful pointers, I'm relatively new to PowerApps so I will bear them in mind.

 

In the main, I think my app is ok (My galleries contain only a few columns, I've delegated where possible, dropdowns are written into the forms etc), however I've not thought about actually monitoring the performance.

 

I have to be honest, I'm more of a BI developer (PBI, SQL server etc), so I know how I'd monitor those, but I'm not sure what tools I'd monitor an app with - would you recommend a specific tool for that? Or do you monitor through the browser tools?

 

Thanks

 

Nick

 

P.S. I'll mark your answer as the solution (My question is pretty open ended I guess!), but I'll wait a little bit to see if anyone has other pearls of wisdom first!


@Churchy wrote:

I'm not sure what tools I'd monitor an app with - would you recommend a specific tool for that? Or do you monitor through the browser tools?

 

Thanks

 

Nick

Nick, there is a monitoring tool available within Power Apps that works wells. In the main screen, click on your app's name and press Monitor:

BCLS776_0-1631712500166.png

The tool will track user actions, timing, and data operations. Your app may be loading a lot more than you think it does.

 

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

Thanks again Bryan - I feel a bit of an idiot for missing that!! That's really helpful, but....

 

I assume you connect to the monitor session, then select the "Play Published App" option, play around with your app and come back to the monitor to see what has been going on?

 

Assuming that is correct, my app opens on the initial menu - all the forms / galleries are accessed via that menu. When I load the app for the first time, using the monitor I can only see two entries in the log (I have a test button in the menu that forces the parameter SharePoint passes, so 4 entries once I select that). Below is a screenshot of the timings I see:

 

Churchy_0-1631713961418.png

 

Unfortunately, its this initial loading step that is taking about 4 mins to be returned when using the satellite connection (its basically worse than the good old dial up days!). Would I be correct to think that the above is telling me that there isn't much I can do to optimize my app given the bandwidth issues?

 

Once it has loaded, the forms seem to open ok and I'm able to create / update / edit reasonably quickly, but that initial step to load the app is rather painful. 

 

If I export the app, its roughly 4mb in size (I've got a number of flows connecting to it which are all packaged within it), I'm not sure if that represents the true size of what you open when you load the app for the first time, the only thing I could think to improve the initial load would be to reduce the size of the app but its pretty small already!!

 

Thanks for all your help to this point!

BCLS776
Super User
Super User

Yes, that 4mb app size is getting downloaded each time you launch the app, which is probably causing most of your delay. Your Monitor data so far indicates no large data transfers once the app is running.

 

A source of bloat in app size can come from embedded images and similar files. Check your media tab to make sure only what you need is included in the app package:

BCLS776_0-1631715871572.png

 

And keep in mind, for the "As-A-Service" model that functions on any mobile device or browser, Power Apps needs to download the app pretty much each time it is used. Very little persistence/caching due to it running as a web service. It can run better if you use the non-browser version (through the Power Apps app available for iOS or Android), since those are capable of launching while fully offline.

 

Bryan

 

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

Thanks for all your help Bryan - you've been super helpful.

 

I have got a couple of picture in the app so I might revisit and see if I can cut that down! I also wasn't aware of the offline version (Although I'm not sure that will work for me, but still very useful to know), so might take a look at that 🙂

 

 

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!   This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions in the Forums to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber of SolutionsSuper UsersNumber of Solutions @anandm08  23 @WarrenBelz  31 @DBO_DV  10 @Amik  19 AmínAA 6 @mmbr1606  12 @rzuber  4 @happyume  7 @Giraldoj  3@ANB 6 (tie)   @SpongYe  6 (tie)     Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersSolutionsSuper UsersSolutions @anandm08  10@WarrenBelz 25 @DBO_DV  6@mmbr1606 14 @AmínAA 4 @Amik  12 @royg  3 @ANB  10 @AllanDeCastro  2 @SunilPashikanti  5 @Michaelfp  2 @FLMike  5 @eduardo_izzo  2   Meekou 2   @rzuber  2   @Velegandla  2     @PowerPlatform-P  2   @Micaiah  2     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 3:Community MembersSolutionsSuper UsersSolutionsPower Apps anandm0861WarrenBelz86DBO_DV25Amik66Michaelfp13mmbr160647Giraldoj13FLMike31AmínAA13SpongYe27     Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 4:Community MembersSolutionsSuper UsersSolutionsPower Apps DBO-DV21WarranBelz26Giraldoj7mmbr160618Muzammmil_0695067Amik14samfawzi_acml6FLMike12tzuber6ANB8   SunilPashikanti8

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages