#11674: [HaikuDepot] cache featured packages
--------------------------------------+----------------------------
Reporter: diver | Owner: apl-haiku
Type: enhancement | Status: assigned
Priority: normal | Milestone: R1
Component: Applications/HaikuDepot | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: All |
--------------------------------------+----------------------------
Comment (by apl-haiku):
From cold with no cached data, having to download everything from the
server, start time is approximately 15-20 seconds. With cached data and
including doing all the checks with the server for fresh data it takes
approximately 3-4 seconds. With no networking (--nonetworking) it takes
around 1-2 seconds.
If I run Haiku in a virtual machine on the same host as a locally running
server (ie; software network) then it starts from cold with no cached data
in approximately 3-4 seconds. In the same setting with cached data is
approximately 1-2 seconds.
Any delays should have very little or nothing to do with icon loading now
because for some time now, the application loads the icons on demand
rather than at start.
The following are the compressed transmission sizes of the downloads;
* package data for HaikuPorts (764KB)
* data for icons (3.35MB)
* reference data (4.5KB)
Those are not big numbers.
There may be some sporadic delays in the server packaging this stuff up on
demand and maybe I'll look into that at some point and maybe it would be
worth looking at a CDN at some point, but probably this is overkill for
now and will just make work for the admin team.
Possibly it would be worth looking at the server deployment setup, but
otherwise I don't think there is a HaikuDepot application-level problem
here.
BTW: I am actually slowly working on the {{{B_PACKAGE_UPDATE}}} issue
discussed above, but this has little or nothing to do with the start time.
--
Ticket URL: <https://dev.haiku-os.org/ticket/11674#comment:32>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.