<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>Liskni_si</author><text>Our team is responsible for deployment&amp;#x2F;operations of our self-hosted Jira so a few months ago I decided to make it faster, and oh what a rabbit hole that was:&lt;p&gt;When you look at Jira using Chrome DevTools there are these big batch.js and batch.css files (up to 5MB in total) that are different for every type of Jira view (dashboard, agile board, issue detail, issue search, …) so the first few page loads might be a bit slow but then they all should be cached as they don&amp;#x27;t change until you update your Jira and everything should be smooth. Except that wasn&amp;#x27;t what I saw, they seemed to be reloaded every hour or something.&lt;p&gt;Naturally I blamed Jira, and wasted hours Googling for batch.js not being cached, but eventually came to the conclusion that it can&amp;#x27;t be Jira&amp;#x27;s fault, and it isn&amp;#x27;t. Turns out it&amp;#x27;s the Google Chrome&amp;#x27;s cache backend that&amp;#x27;s used on Linux (and only there). There are three issues with it:&lt;p&gt;1. it&amp;#x27;s limited to cca 320MB even if you&amp;#x27;ve got 1TB free space&lt;p&gt;2. entries are evicted by age times size, ignoring number of hits&lt;p&gt;3. media files such as 2MB youtube fragments use the same cache&lt;p&gt;The result is that watching youtube for a while evicts all cached batch.js. To make this bearable, I enabled gzip in the reverse HTTP proxy in front of Jira, which brought batch.js down to 500KB so that it&amp;#x27;s smaller than the youtube fragments and isn&amp;#x27;t evicted sooner than those. Still, few hours of watching youtube and not visiting Jira evicts it. Increasing the cache size using &amp;quot;google-chrome --disk-cache-size=2000000000&amp;quot; helps as well.&lt;p&gt;Oh and here&amp;#x27;s the link to Chromium issue tracker: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;bugs.chromium.org&amp;#x2F;p&amp;#x2F;chromium&amp;#x2F;issues&amp;#x2F;detail?id=617620&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;bugs.chromium.org&amp;#x2F;p&amp;#x2F;chromium&amp;#x2F;issues&amp;#x2F;detail?id=617620&lt;/a&gt; :-)</text><parent_chain><item><author>ploxiln</author><text>Jira is in a league of its own. With latest stable Firefox on a Macbook Pro from 2014, I get a full 10 seconds loading time for the notifications sidebar. Every click in Jira takes between 5 and 15 seconds. It is absolutely nuts and it seems like many people just don&amp;#x27;t understand how insanely bad it is (but obviously many engineers do ;)&lt;p&gt;Meanwhile my browser can load, render, and scroll a 4000 line colored diff in less than half a second (e.g. &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;git.kernel.org&amp;#x2F;pub&amp;#x2F;scm&amp;#x2F;linux&amp;#x2F;kernel&amp;#x2F;git&amp;#x2F;torvalds&amp;#x2F;linux.git&amp;#x2F;commit&amp;#x2F;?id=01897f3e05ede4d66c0f9df465fde1d67a1d733f&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;git.kernel.org&amp;#x2F;pub&amp;#x2F;scm&amp;#x2F;linux&amp;#x2F;kernel&amp;#x2F;git&amp;#x2F;torvalds&amp;#x2F;lin...&lt;/a&gt;)</text></item><item><author>coder543</author><text>I think this article places too much emphasis on input devices and hardware constraints, and not enough on software architecture. JIRA doesn&amp;#x27;t really feel any faster just because your input devices are fast; the application level latency dwarfs the input latency by a large margin.&lt;p&gt;I would take measurements, but JIRA prohibits benchmarking for some reason... ¯\_(ツ)_&amp;#x2F;¯ they&amp;#x27;re probably just trying to save everyone else the embarrassment of seeing how incredibly fast JIRA is compared to their own sluggish offerings, right?&lt;p&gt;I am confident that JIRA&amp;#x27;s application latency has nothing to do with Java (backend) or JavaScript&amp;#x27;s (frontend) garbage collector.&lt;p&gt;Many companies just feel no impetus to write fast software, or to use commensurately powerful hardware.</text></item></parent_chain></comment><story><title>Slow Software</title><url>https://www.inkandswitch.com/slow-software.html</url></story>
<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>LolNoGenerics</author><text>At least we&amp;#x27;re getting paid well for watching load indicators. Atlassian should make a step forward and show funny cat gifs to increase satisfaction.</text><parent_chain><item><author>ploxiln</author><text>Jira is in a league of its own. With latest stable Firefox on a Macbook Pro from 2014, I get a full 10 seconds loading time for the notifications sidebar. Every click in Jira takes between 5 and 15 seconds. It is absolutely nuts and it seems like many people just don&amp;#x27;t understand how insanely bad it is (but obviously many engineers do ;)&lt;p&gt;Meanwhile my browser can load, render, and scroll a 4000 line colored diff in less than half a second (e.g. &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;git.kernel.org&amp;#x2F;pub&amp;#x2F;scm&amp;#x2F;linux&amp;#x2F;kernel&amp;#x2F;git&amp;#x2F;torvalds&amp;#x2F;linux.git&amp;#x2F;commit&amp;#x2F;?id=01897f3e05ede4d66c0f9df465fde1d67a1d733f&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;git.kernel.org&amp;#x2F;pub&amp;#x2F;scm&amp;#x2F;linux&amp;#x2F;kernel&amp;#x2F;git&amp;#x2F;torvalds&amp;#x2F;lin...&lt;/a&gt;)</text></item><item><author>coder543</author><text>I think this article places too much emphasis on input devices and hardware constraints, and not enough on software architecture. JIRA doesn&amp;#x27;t really feel any faster just because your input devices are fast; the application level latency dwarfs the input latency by a large margin.&lt;p&gt;I would take measurements, but JIRA prohibits benchmarking for some reason... ¯\_(ツ)_&amp;#x2F;¯ they&amp;#x27;re probably just trying to save everyone else the embarrassment of seeing how incredibly fast JIRA is compared to their own sluggish offerings, right?&lt;p&gt;I am confident that JIRA&amp;#x27;s application latency has nothing to do with Java (backend) or JavaScript&amp;#x27;s (frontend) garbage collector.&lt;p&gt;Many companies just feel no impetus to write fast software, or to use commensurately powerful hardware.</text></item></parent_chain></comment><story><title>Slow Software</title><url>https://www.inkandswitch.com/slow-software.html</url></story>