<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Lindsay Smith on Medium]]></title>
        <description><![CDATA[Stories by Lindsay Smith on Medium]]></description>
        <link>https://medium.com/@wapdat?source=rss-fe20a899ab68------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*0dHW0_srbwjuDjmm.jpeg</url>
            <title>Stories by Lindsay Smith on Medium</title>
            <link>https://medium.com/@wapdat?source=rss-fe20a899ab68------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 02:36:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@wapdat/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to use Fridges to explain Heaps & Garbage Collectors to non -Technical folk.]]></title>
            <link>https://medium.com/@wapdat/how-to-use-fridges-to-explain-heaps-garbage-collectors-to-non-technical-folk-bcd8da0ea6a9?source=rss-fe20a899ab68------2</link>
            <guid isPermaLink="false">https://medium.com/p/bcd8da0ea6a9</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[garbage-collection]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[non-technical]]></category>
            <dc:creator><![CDATA[Lindsay Smith]]></dc:creator>
            <pubDate>Mon, 10 Dec 2018 12:03:00 GMT</pubDate>
            <atom:updated>2018-12-10T12:03:00.360Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VytfaEFiRnjQVmcR0w6BhA.jpeg" /><figcaption><a href="https://www.flickr.com/photos/rberteig/8275787677/">https://www.flickr.com/photos/rberteig/8275787677/</a></figcaption></figure><p>If you need to explain to non-technical folk, why an application goes out of memory, and what you need to do to manage this problem. Don’t bother — just talk about fridges. <em>Everyone understands fridges.</em></p><p>We have a fridge approximately the right size for my family and we are always putting and taking things in and out of the fridge all the time. Sometimes the fridge is 50% full, sometimes the fridge is 95% full. How full really just depends. The point is, we aren’t bothered how full the fridge is, as long as it&#39;s not too full. Things go in and out all the time. <em>The fridge is the “heap”.</em></p><p>When the fridge starts to get a bit full, we do a quick scan for any out of date things date things in the fridge and chuck them out. <em>This quick clean-out is a “minor garbage collection”.</em></p><p>After a while, there are old things in the fridge that get missed with a quick scan. So we do a full clean out of the fridge, we look at every single thing, check its expiry date, see if anyone is using it. While we are doing this no-one can use the fridge. <em>This disruptive clean out is a “major garbage collection”.</em></p><p>In summary, the fridge gets used all the time, and we have major and minor clean outs, as and when we think it’s getting full. We don’t mind if the fridge is 50% full or 95% full, we just want to avoid having to do a major cleanup so frequently that it disrupts normal family operations. This is a healthy efficient fridge. Our fridge is about the right size and gets cleaned up in a non-disruptive way.</p><p>The problem is when the fridge is too small. One Christmas I bought a massive turkey. It basically just wouldn’t fit in the fridge. Even after I did a full clean out. Our fridge (heap) is just too small. <em>This “too small” is “out of memory”.</em></p><p>Also over the year, my two sons have developed teenage lad appetites. We simply just have more stuff going in and out of the fridge because we need to store more stuff. This requirement has crept up over the years, but basically, the fridge is too small. <em>We are likely to get a too full fridge and go Out of Memory.</em></p><p>The thing about Heaps, unlike fridges, is when they are too small, even if only 0.0001% over full, the only way to fix it, is to chuck everything out and restart it — restart the Java Virtual machine, and start again with an empty fridge.</p><p>That is why we have to carefully make sure the fridge is the right size and being cleaned out efficiently. <em>If we go “out of memory” it’s a major disruptive problem and requires an application restart.</em></p><p>Why is the Java Virtual Machine like this? Twenty years ago, garbage collection was a big innovation in a computing language. It meant developers didn’t need to do the complicated business of memory management. They could just trust the fridge to look after cleaning itself out. And with Moores Law, where memory got cheaper every year, this took a lot of pressure off also. And most of the time this is good enough. If you only have a few fridges and they are all plenty big enough you don’t need to worry too much about the fridges.</p><p>However, in my company, we effectively have over 500 fridges. Some of the fridges if they go out of memory this is a major problem. And we don’t want the inefficient cost of just making every fridge much bigger than we think we will ever need it to be. We have many fridges to manage and we want to make sure they are just the right size, not too big and not too small.</p><p>So the interesting problem we have is how to manage and size hundreds of heaps (fridges) that may be doing a lot of disruptive garbage collection (cleanouts).</p><p>If you understand fridges, and the replace the word “fridge” with Heap and “clear out” with garbage collection, and the contents of the fridge with the word “objects”, you probably have as good an understanding of Java memory management as most Java developers. :-)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bcd8da0ea6a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Explaining Virtualisation to Accountants — it’s like a Water Company.]]></title>
            <link>https://medium.com/@wapdat/explaining-virtualisation-to-accountants-its-like-a-water-company-f52b812cf731?source=rss-fe20a899ab68------2</link>
            <guid isPermaLink="false">https://medium.com/p/f52b812cf731</guid>
            <category><![CDATA[saas]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[accounting]]></category>
            <category><![CDATA[virtualization]]></category>
            <category><![CDATA[existentialism]]></category>
            <dc:creator><![CDATA[Lindsay Smith]]></dc:creator>
            <pubDate>Sun, 20 May 2018 07:30:49 GMT</pubDate>
            <atom:updated>2018-05-20T07:37:00.164Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CRt6Mbbu4m6TMGqpzlGivg.jpeg" /><figcaption>Data centres are a bit like breweries</figcaption></figure><p>If I tried to explain to you what a Car <em>is</em> by describing it’s bits — 4 wheels with tyres, maybe a carburetta, doors (2,3,4 or 5), an engine (diesel, petrol or electric or hybrid) — you would say — those <strong>techys — can’t they just explain in a normal words?</strong></p><p>If I tried to explain a Car by describing what it <em>does</em> — carries passengers, gets you from A to B, you drive it - but it is not a train, bus, motorbike, or lorry. And maybe it doesn’t need a driver. And sometimes cars break down, and sometimes they crash … you would say — those <strong>techys — I don’t understand a word they say</strong></p><p>So I could tell you that what Virtualisation is, things like, Sans, fibre channels, routers, switches, licenses, racks, connectivity. All those things that are on invoices, stuff we buy. But that doesn’t really help you understand Virtualisation.</p><p>So I could also say with Virtualisation, what it does is give us Virtual Machines that have cores, memory and storage, and on these virtual servers, we can provide services, like Email, DNS, SaaS, Databases. I could use esoteric terms like Hosts and Guests. But that doesn’t really help you understand Virtualisation.</p><p>Back to Cars — even a toddler knows what a car is. Cars you can see them and count them. With Virtualisation, there is nothing to really see. For Accountants — that’s ok — we account for intangibles all the time.</p><p>Rather than what it <em>is</em> or <em>does</em>, I can tell you what it is <em>like</em>.</p><p>Before Virtualisation, we used physical servers, and cost accounting was dead easy, Client X is allocated portions of the costs of physical resources Y. This thinking cannot be applied.</p><p>So how do I try to explain Virtualisation to accountants? Think of a Water Company. Water Companies buy expensive reservoirs, lay hundreds of miles of piping, have water meters, and filtration systems. What they produce is water delivered into homes. The water produced is identical, some homes use lots of water, some homes use very little. When a home stops using water, it doesn’t matter, the water can be used by someone else.</p><p>So with Virtualisation, we need to figure out how much the cost of water is per litre delivered to people homes, and then we figure out how much water each home uses. We will fail if we try to allocate 1 billionth of the cost of a reservoir and a few meters of pipe to a home.</p><p>The photo is of Green Beacon Brewing Company. Using a brewery and beer to explain virtualisation — I couldn’t make it work, as much as I wish I could. I tried explaining it in a nerdy way — that didn’t work either. <a href="https://www.linkedin.com/pulse/part-ii-costing-saas-hosting-private-cloud-lindsay-smith/">https://www.linkedin.com/pulse/part-ii-costing-saas-hosting-private-cloud-lindsay-smith/</a></p><p>Yes, I owe a lot of this to <a href="https://en.wikipedia.org/wiki/Zen_and_the_Art_of_Motorcycle_Maintenance">Zen and the Art of Motorcycle Maintenance</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f52b812cf731" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>