<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Useless Design Pattern &#8211; My Shitty Code</title>
	<atom:link href="https://myshittycode.com/tag/useless-design-pattern/feed/" rel="self" type="application/rss+xml" />
	<link>https://myshittycode.com</link>
	<description>Embracing the Messiness in Search of Epic Solutions</description>
	<lastBuildDate>Fri, 06 Jan 2023 16:28:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://myshittycode.com/wp-content/uploads/2022/04/cropped-icon-32x32.png</url>
	<title>Useless Design Pattern &#8211; My Shitty Code</title>
	<link>https://myshittycode.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">205304208</site>	<item>
		<title>Design Pattern: Re-accommodate</title>
		<link>https://myshittycode.com/2017/04/11/design-pattern-re-accommodate/</link>
					<comments>https://myshittycode.com/2017/04/11/design-pattern-re-accommodate/#respond</comments>
		
		<dc:creator><![CDATA[Shitty Author]]></dc:creator>
		<pubDate>Tue, 11 Apr 2017 12:58:51 +0000</pubDate>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Useless Design Pattern]]></category>
		<guid isPermaLink="false">http://myshittycode.com/?p=945</guid>

					<description><![CDATA[<p>WHAT Forcefully evict a random entity from the system due to overcapacity problem caused by own fault. Then, spend countless of hours cleaning up the mess. USAGE Let&#8217;s assume your system has heap size problems and it is about to run out of memory because you implemented endless recursions or have too many running threads. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2017/04/11/design-pattern-re-accommodate/">Design Pattern: Re-accommodate</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">WHAT</h2>



<p>Forcefully evict a random entity from the system due to overcapacity problem caused by own fault. Then, spend countless of hours cleaning up the mess.</p>



<h2 class="wp-block-heading">USAGE</h2>



<p>Let&#8217;s assume your system has heap size problems and it is about to run out of memory because you implemented endless recursions or have too many running threads.</p>



<ol class="wp-block-list">
<li>Randomly select 4 entities (running processes) from the system.</li>



<li>Ask each selected entity to voluntarily quit.</li>



<li>If the chosen entity does not comply, forcefully evict it from the system.</li>



<li>Clean up any data corruption.</li>
</ol>



<h2 class="wp-block-heading">WHEN TO USE IT</h2>



<p>Only use this design pattern when building any software systems for United Airlines.</p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2017/04/11/design-pattern-re-accommodate/">Design Pattern: Re-accommodate</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://myshittycode.com/2017/04/11/design-pattern-re-accommodate/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">945</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching 55/65 queries in 0.013 seconds using Disk

Served from: myshittycode.com @ 2026-02-18 01:17:56 by W3 Total Cache
-->