<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Architecture on Panji Gautama</title><link>https://panjigautama.com/categories/architecture/</link><description>Recent content in Architecture on Panji Gautama</description><generator>Hugo</generator><language>en</language><copyright>Copyright © Panji Gautama</copyright><lastBuildDate>Fri, 29 Dec 2023 13:46:50 +0000</lastBuildDate><atom:link href="https://panjigautama.com/categories/architecture/index.xml" rel="self" type="application/rss+xml"/><item><title>Redis use-cases aside from Cache</title><link>https://panjigautama.com/redis-use-cases-aside-from-cache/</link><pubDate>Fri, 29 Dec 2023 13:46:50 +0000</pubDate><guid>https://panjigautama.com/redis-use-cases-aside-from-cache/</guid><description>&lt;p&gt;&lt;img src="https://panjigautama.com/images/Pixel-Art.gif" alt=""&gt;&lt;/p&gt;
&lt;p&gt;Redis can be more impactful aside from caching. Here are a few other use cases :&lt;br&gt;
1️⃣ As a persistent storage for use cases like shopping carts, user profiles, and social-media-related posts/newsfeeds. Easily sorted set simply by ZRANGE&lt;br&gt;
2️⃣ Tracking state with Bitmaps, easily track and get states with boolean logic with SETBIT and GETBIT&lt;br&gt;
3️⃣ Location Based with Redis geospatial, easily search and add geospatial data with GEOADD &amp;amp; GEOSEARCH. AFAIK it&amp;rsquo;s quite tricky to do this with Postgre&lt;br&gt;
4️⃣ Distributed Lock, i.e., updating inventory stock to handle flash sale traffic&lt;br&gt;
5️⃣ Analytics Funnel with Probabilistic easily store event and or merge with the HyperLogLog&lt;br&gt;
6️⃣ Simple event-driven architecture with Redis Stream or as a Pub/Sub with SUBSCRIBE/PUBLISH commands, which can be seen as a message queue even with LIST&lt;/p&gt;</description></item><item><title>On Evolutionary Architecture Book</title><link>https://panjigautama.com/on-evolutionary-p%CC%B6o%CC%B6k%CC%B6e%CC%B6m%CC%B6o%CC%B6n%CC%B6-architecture-book/</link><pubDate>Fri, 29 Dec 2023 13:40:13 +0000</pubDate><guid>https://panjigautama.com/on-evolutionary-p%CC%B6o%CC%B6k%CC%B6e%CC%B6m%CC%B6o%CC%B6n%CC%B6-architecture-book/</guid><description>&lt;p&gt;&lt;img src="https://panjigautama.com/images/Pikachu-evolution-pixel.gif" alt=""&gt;&lt;/p&gt;
&lt;p&gt;Evolutionary &lt;del&gt;Pokemon&lt;/del&gt; Architecture is good architecture that adheres to the fitness functions of the company; &lt;strong&gt;fitness function&lt;/strong&gt; terms emphasized by the authors help to define what characteristics define good architecture.&lt;/p&gt;
&lt;p&gt;The author’s discussion revolves around evolvable change, a change that has little to no breaking changes to the existing feature or integration, and implementation coupling leaks.&lt;/p&gt;
&lt;p&gt;The fitness function acts as governance or guidance of any changes because changes can happen anytime. Principles of principles are an alternative, but they tend to be impractical. Example of fitness function on Code Quality: Code has test coverage above 90%. On Resiliency: API is able to complete a transaction in under 10 seconds, even if there is network latency.&lt;/p&gt;</description></item></channel></rss>