[
http://jira.amdatu.org/jira/browse/AMDATU-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10289#comment-10289
]
Marcel Offermans commented on AMDATU-82:
----------------------------------------
My first suggestion would be taking one step back and look at the problem so
we're sure that the issue is resources not being cached in memory that is
causing the delay. Also, is this just an issue on your machine, or would the
bottleneck be the same on servers or cloud nodes? A lot of them nowadays use
SSDs which are immensely quicker than mechanical drives. The reason why I'm a
bit skeptical here is that all operating systems use your spare memory as a
disk cache, so I am really wondering if disk access is the bottleneck here and
if we can do a better job at writing a cache than the OS designer (we might,
because we know best how this data is being accessed, on the other hand, how
much data for all gadget definitions together are we talking about)?
Apart from that, what about caching resources at the web server and web browser
level. Especially the latter would be a big win. Are we already sending all the
right headers to enable proper caching?
The next step, if there still is a performance issue, would be to implement an
aspect using the implementation you came up with. If that's a separate bundle,
we should be able to quickly verify how much difference it makes performance
wise on different machines. Perhaps we should even write a test for that
because it is one of our core components so validating its speed makes a lot of
sense.
> Loading of gadget definitions is very slow
> ------------------------------------------
>
> Key: AMDATU-82
> URL: http://jira.amdatu.org/jira/browse/AMDATU-82
> Project: Amdatu
> Issue Type: Bug
> Components: Amdatu OpenSocial
> Affects Versions: 0.0.4
> Reporter: Dion Meijer
> Assignee: Ivo Ladage - van Doorn
> Fix For: 0.0.6
>
>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira