Hello Yakup, Great to hear that it helped. Thanks for your feedback.
Yesterday we released a new Bacularis 2.1.0 that includes the performance improvement for loading the dashboard. You can read about it here: https://bacularis.app/news/57/36/New-release-Bacularis-2.1.0/d,Bacularis%20news%20details Best regards, Marcin Haba (gani) On Mon, 17 Jul 2023 at 09:46, Yakup Kaya <yakup.k...@indra-avitech.aero> wrote: > > Hello Marcin, > > > Thanks a lot! Great support from you, as usual. > > > The compression significantly improved the loading time. Below is a > screenshot before and after the compression. Everything is much faster now. I > will try to replace Baculum with Bacularis on my installations as well, when > I have time to do it. > > > https://snipboard.io/SkuHb6.jpg > > > Kind regards, > > Yakup Kaya > > > Mit freundlichen Grüßen / Kind Regards > > Yakup Kaya > > IT Engineer > > > Phone: +49 (0)7541 / 282-192 > > www.indra-avitech.aero > > > > ________________________________ > From: Marcin Haba <ganius...@gmail.com> > Sent: Saturday, July 15, 2023 20:34 > To: Yakup Kaya > Cc: bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] Baculum Dashboard is too slow on remote vpn > connection > > Hello Yakup, > > Thanks for your feedback. > > This mod_gzip module that you indicated is for framework files, not > for Baculum itself. I would propose to use mod_deflate. First you need > to make sure that in your Apache instance this module is enabled in > config: > > LoadModule deflate_module modules/mod_deflate.so > > And then in Baculum Web Apache config file you can modify <Directory> > tag and add there lines like below: > > <Directory /usr/share/baculum/htdocs> > AddOutputFilterByType DEFLATE text/html > AddOutputFilterByType DEFLATE text/css > AddOutputFilterByType DEFLATE application/javascript > AddOutputFilterByType DEFLATE application/json > > ...rest options > </Directory> > > After that please restart the web server and enable in the web > developer tools in the web browser displaying compressed and > uncompressed response size. In Google Chrome this option is named "Use > large request rows" in the network console settings. This way you will > see if compression works. > > Independent on enabling the compression I prepared changes to speed up > loading dashboard page. I added it to Bacularis and then I ported it > to Baculum. This change significantly improves loading the dashboard > page. It is available from next release. > > Best regards, > Marcin Haba (gani) > > On Fri, 14 Jul 2023 at 08:22, Yakup Kaya <yakup.k...@indra-avitech.aero> > wrote: > > > > Hello again, > > > > > > I tried mod_deflate, but it did not change anything. I suspect that the > > compression is already enabled for js files with mod_gzip in > > baculum-web.conf file with the following lines. > > > > > > <IfModule mod_gzip.c> > > mod_gzip_on Yes > > mod_gzip_dechunk Yes > > mod_gzip_item_include file \.js$ > > mod_gzip_item_exclude rspheader > > ^Content-Encoding:.*gzip.* > > </IfModule> > > > > Kind regards, > > > > Yakup Kaya > > > > > > ________________________________ > > From: Yakup Kaya <yakup.k...@indra-avitech.aero> > > Sent: Friday, July 14, 2023 07:37 > > To: Marcin Haba > > Cc: bacula-users@lists.sourceforge.net > > Subject: Re: [Bacula-users] Baculum Dashboard is too slow on remote vpn > > connection > > > > > > Hi Marcin, > > > > > > Thanks a lot for your answer. I will have a look at compression, and share > > my results from here. For the number of jobs listed, I already use 100 > > (default was 15000), but in my case it does not change loading time for the > > dashboard. It still gets that 26.65 MB of data and loading time does not > > change. But that setting improves the loading time for "Job history" and I > > always decrease the default on my installations. > > > > > > Kind regards, > > > > Yakup Kaya > > > > > > > > ________________________________ > > From: Marcin Haba <ganius...@gmail.com> > > Sent: Friday, July 14, 2023 04:03 > > To: Yakup Kaya > > Cc: bacula-users@lists.sourceforge.net > > Subject: Re: [Bacula-users] Baculum Dashboard is too slow on remote vpn > > connection > > > > Hello Yakup, > > > > You can try to enable compression in your web server. Here you can see > > how it can be done for Apache using mod_deflate module: > > > > https://httpd.apache.org/docs/2.4/mod/mod_deflate.html > > > > Also, what can speed up the process of loading pages, you can limit > > the number of jobs loaded to the web interface. It is possible to do > > under the gearwheel icon in the sidebar menu at the top left. > > > > For the dashboard I think we can also improve a bit loading it. I > > noted it on my task list to check in the future. Thanks. > > > > Best regards, > > Marcin Haba (gani) > > > > On Thu, 13 Jul 2023 at 14:11, Yakup Kaya <yakup.k...@indra-avitech.aero> > > wrote: > > > > > > Hello everybody, > > > > > > > > > On Baculum interface, I have a performance issue on slow remote > > > connections (it is fast on the local machine). Sometimes it takes around > > > 5 minutes for the Dashboard to load completely. With inspect element > > > option on Firefox, I noticed jquery.js is getting 26.65MB of data and it > > > is taking 229530 ms to load the whole page (because of the slow > > > connection). Initially the Dashboard comes quickly without the "Last 10 > > > jobs" and the "Database size" parts. Then it waits 4-5 minutes to load > > > that ~26 MB data and shows the rest. I wonder why this interface has to > > > get that much data to show the information presented on Dashboard. Do you > > > have any idea how can I improve the performance? Unfortunately I cannot > > > change the speed of my remote connections. The link for the screenshot > > > showing inspect element is below. > > > > > > > > > https://snipboard.io/GslPw9.jpg > > > > > > > > > Details of the system I connect is as follows: > > > > > > > > > Operating system: CentOS Linux release 7.6.1810 (Core) > > > > > > Database used: PostgreSQL (version 9.2.24) > > > > > > Bacula version: 9.6.6-1 > > > > > > Baculum version: 9.6.6.1-1 > > > > > > Baculum API version: 9.6.6.1-1 > > > > > > Authentication method for users: Oauth2 > > > > > > Kind regards, > > > Yakup Kaya > > > > > > _______________________________________________ > > > Bacula-users mailing list > > > Bacula-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > > > > > -- > > "Greater love hath no man than this, that a man lay down his life for > > his friends." Jesus Christ > > > > "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie > > za przyjaciół swoich." Jezus Chrystus > > > > -- > "Greater love hath no man than this, that a man lay down his life for > his friends." Jesus Christ > > "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie > za przyjaciół swoich." Jezus Chrystus -- "Greater love hath no man than this, that a man lay down his life for his friends." Jesus Christ "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za przyjaciół swoich." Jezus Chrystus _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users