Appgini runs very slowly especially if I log in with an administrator account.
Posted: 2020-04-30 10:10
Hello everyone!
Unfortunately my web-app created with appgini runs too slowly and makes it difficult to use.
This especially happens if I enter the portal with the administrator credentials:
the loading of the lookup fields is very slow (the list takes a long time to appear). When I try to change owner to a record I have to wait a few minutes before seeing the list of options.
Even when opening tables or changing from "table view" to "detail view" I have to wait a long time.
Using the portal on the "user" side, things are better, but I am worried about the hypothesis that in the future, for users with many records, there will be serious slowdowns.
I would like to ask an expert opinion to find out if there is a solution or I have to resign myself to wasting a lot of time when I work on the portal or worse to offer users a little functional tool.
I think it is useful to explain that in my portal there are more or less 30 tables, 20 groups and about 350 users.
I made customizations in the header and footer of the hooks folder and some tables have customizations in the hooks folder both in the corresponding php file (hooks \ tablename.php) and in an added file in js format.
For example I inserted in the footer_extra file in the hooks folder a code to fix the header of the table and scroll it with a scroll bar (I inserted the code published in this post: viewtopic.php?f=4&t=2673 )
In my file hooks I have many pieces of code that I no longer use but that I don't want to delete, "closed" between comments.
I also have a single table view that allows me to show differently the data of a table (and its view) for different users.
I attach some screenshots of the google chrome error console to this post.
On the phpyadmin side I have never done any operations or "maintenance" of the database and I don't know if something needs to be done on the phpmyadmin side.
I have no idea if all this can affect the service provided by my provider (hostgator) and if it can be useful to contact him: can the provider make processing faster?
I hope to get help from expert people who can tell me which factors, among those listed or others, can make the use of the site slower or faster.
THANKS!
Fabiano.
Errors for non logged users: Errors for logged as admin:
Unfortunately my web-app created with appgini runs too slowly and makes it difficult to use.
This especially happens if I enter the portal with the administrator credentials:
the loading of the lookup fields is very slow (the list takes a long time to appear). When I try to change owner to a record I have to wait a few minutes before seeing the list of options.
Even when opening tables or changing from "table view" to "detail view" I have to wait a long time.
Using the portal on the "user" side, things are better, but I am worried about the hypothesis that in the future, for users with many records, there will be serious slowdowns.
I would like to ask an expert opinion to find out if there is a solution or I have to resign myself to wasting a lot of time when I work on the portal or worse to offer users a little functional tool.
I think it is useful to explain that in my portal there are more or less 30 tables, 20 groups and about 350 users.
I made customizations in the header and footer of the hooks folder and some tables have customizations in the hooks folder both in the corresponding php file (hooks \ tablename.php) and in an added file in js format.
For example I inserted in the footer_extra file in the hooks folder a code to fix the header of the table and scroll it with a scroll bar (I inserted the code published in this post: viewtopic.php?f=4&t=2673 )
In my file hooks I have many pieces of code that I no longer use but that I don't want to delete, "closed" between comments.
I also have a single table view that allows me to show differently the data of a table (and its view) for different users.
I attach some screenshots of the google chrome error console to this post.
On the phpyadmin side I have never done any operations or "maintenance" of the database and I don't know if something needs to be done on the phpmyadmin side.
I have no idea if all this can affect the service provided by my provider (hostgator) and if it can be useful to contact him: can the provider make processing faster?
I hope to get help from expert people who can tell me which factors, among those listed or others, can make the use of the site slower or faster.
THANKS!
Fabiano.
Errors for non logged users: Errors for logged as admin: