-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mobile App - Performance issues #11
Comments
Hi @sryn101 About your report:
When you comment on a post, mobile app needs to call API to save your comment, loading time based on your network and server-side.
We're improving loading time on mobile app, we will inform you if have any updates.
If you click on notification at Notification Tab on App, this is a same case with 1. For the first time, we must load item data from the server-side, it takes some time. Regards. |
Thanks Harrison for providing the details. For comments and notifications (case 1 and 3), can we not use Websockets with Node JS instead of Request-Response client server architecture? Major performance issues are around comments and notifications (besides initial loading), so leveraging Node JS and websockets (to push the changes on server side) which drastically improve the performance, this is what is being used in all modern web technologies. I was told that Mobile App is using ReactJS, so leveraging above architecture should be easy. Please let me know your thoughts. |
Hi @sryn101 The rest of the apps offline functionality however unfortunately don't use Realm's Database. From what I have been told, they use a serialised dictionary for iOS and SQLite database for Android. This solution sort of does the trick but doesn't seem show anything like the sort of performance they could have got from using Realm Database for their offline mode. We are pretty disappointed with the performance so looking into a custom implementation of Realm's Database. Other issues relating to the chosen offline technology for the apps: Let us know your thoughts. |
Great thoughts @jwpwhite I see that you had proposed this solution to PHPFox last year in March and it was implemented last month as per this PHPfox-Official/phpfox-v4-feature-requests#804 @harrison05 Can you confirm by when Realm Database technology will be used for entire app? |
@harrison05 have we implemented this for both IOS and Android apps yet or are you all working n V5 phpfox and will get the apps updated to work with version 5 when it is released? @jwpwhite have you found a better solution or have you purchased the Ultimate pkg and happy with IOS and Android apps latest updates and performance ? @sryn101 how about you are you using the IOS and Android apps already? how is the latest updates on the apps better or the same? I am getting close to making a purchasing decision on upgrading to ultimate pkg and getting the IOS and Android apps, but im testing and somethings still seem slow. I'm wondering to wait another few months and see if version 5 of phpfox has major improvements in speed etc, and if the IOS and Android apps will follow and have way better performance and speed. right now I have this server 2x Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz just want to make sure before I spend the money or should I wait till version 5 for the apps? |
Hi @spirogg Sorry for the delay in responding, I am not that active here... Regarding to performance issue, it is better than before.. I see that @harrison05 has marked it as enhancement, hope they will improve it more... Regarding sever, I suggest you go with PHPFox hosting service, the reason is, I am using Hostiso (Who is recommended by PHPFox as well), however, whenever we have these such performance issues, hosting service provider says it is program issue contact PHPFox and if you contact PHPFox support they will say its a server issue you need to check with hosting provider... so to avoid that confusion you can write to PHPFox support, they will help you with hosting service.. Hope that helps. |
@sryn101 thanks so much for you reply. I appreciate it. Well spoken |
Hi @spirogg |
@jwpwhite thanks for your reply. Hoping all goes well. |
I guess PHPFox didn't understand the issue correctly, they just made sure that the app works when its offline (When no internet is connected), Proposal was to store the data locally for faster loading... @harrison05 any thoughts by when can you implement it so that initial load time is fast enough? |
Hi @sryn101, Regards. |
What's happened?
Major performance issues in Android Mobile App when:
Steps to reproduce:
What's expected?
Comments should work similar to chat - very quick. Splash screen opening or notification openings shouldn't take more than 3 seconds.
Browsers and Devices tested
Android Mobile app
...
Server information
php 7.1 apache
...
phpFox version
phpFox 4.8.0
...
Screenshots
...
The text was updated successfully, but these errors were encountered: