<?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 Vedant Kekan on Medium]]></title>
        <description><![CDATA[Stories by Vedant Kekan on Medium]]></description>
        <link>https://medium.com/@vedantkekan?source=rss-200bc65fa774------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2yu9CFJFC8UUDO93_8Q-Jg.jpeg</url>
            <title>Stories by Vedant Kekan on Medium</title>
            <link>https://medium.com/@vedantkekan?source=rss-200bc65fa774------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 21:34:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vedantkekan/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 Build and Launch a Website with Claude (From Zero, Even Free)]]></title>
            <link>https://vedantkekan.medium.com/how-to-build-and-launch-a-website-with-claude-from-zero-even-free-f4c68f63efea?source=rss-200bc65fa774------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4c68f63efea</guid>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[website-design]]></category>
            <dc:creator><![CDATA[Vedant Kekan]]></dc:creator>
            <pubDate>Thu, 05 Nov 2026 04:15:15 GMT</pubDate>
            <atom:updated>2026-11-05T04:15:15.630Z</atom:updated>
            <content:encoded><![CDATA[<p>You don’t need to know how to code. You need three things: a website (Claude builds it), a place to host it (can be free), and a domain name (about $10 a year, optional). This guide walks through each one in plain English.</p><h3>The big picture</h3><ol><li>Ask Claude to build your site</li><li>Preview it on your computer</li><li>Put it online (hosting)</li><li>Get your own address (domain)</li><li>Connect the two</li></ol><p>Total cost: <strong>$0</strong> with a free address, or <strong>about $10 a year</strong> with your own .com.</p><h3>Step 1: Decide what your site is</h3><p>Write one or two sentences. Example: “A one-page site for my dog-walking business in Tokyo with services, prices and a contact button.”</p><p>The clearer you are, the better the result.</p><h3>Step 2: Ask Claude to build it</h3><p>Open Claude and paste something like this:</p><blockquote><em>Build me a single-file website (one index.html, with CSS and JavaScript inside). It’s for [your idea]. Include: [sections like Home, About, Services, Contact]. Style: clean, modern, works on phones. Use placeholder text I can edit.</em></blockquote><p>Claude gives you the code. Copy it into a plain text file and save it as <strong>index.html</strong>. (On Windows use Notepad, on Mac use TextEdit in plain-text mode.)</p><p>Want more power? <strong>Claude Code</strong> can create the whole folder of files for you, and even publish it. But a single index.html is the easiest start.</p><h3>Step 3: Preview it</h3><p>Double-click index.html. It opens in your browser. Not happy? Go back to Claude and say what to change: “Make the header blue”, “Add a pricing table”, “Make the text bigger”. Save the new code and refresh.</p><h3>Step 4: Put it online (hosting)</h3><p>A static site (pages, text, images, simple forms) can be hosted <strong>free</strong>. Your options:</p><p>Option Cost Good for <strong>Cloudflare Pages</strong> Free Best all-rounder. Unlimited bandwidth on static sites, and you can drag and drop your files. Allowed for business use. <strong>Netlify</strong> Free tier Drag and drop, easy forms. Free usage has limits. <strong>GitHub Pages</strong> Free Personal sites and blogs. Its rules don’t allow free hosting for online businesses or stores. <strong>Vercel (Hobby)</strong> Free Personal, non-commercial projects only. <strong>Paid shared hosting</strong> A few dollars/month Only needed for WordPress or sites with a database.</p><p><strong>My pick for beginners: Cloudflare Pages.</strong> In short:</p><ol><li>Create a free Cloudflare account.</li><li>Go to Workers &amp; Pages, then create a Pages project, then choose Upload assets.</li><li>Drag in your folder containing index.html and click Deploy.</li><li>You instantly get a free address like yoursite.pages.dev.</li></ol><p>You now have a live website for $0.</p><h3>Step 5: Get your own domain (optional)</h3><p>A domain is your web address, like mydogwalker.com. You rent it per year. Typical .com prices in late 2026:</p><ul><li><strong>Cloudflare Registrar</strong>: about $10.46/yr, sold at cost, so renewals don’t jump</li><li><strong>Porkbun</strong>: about $11.08/yr, friendly for beginners</li><li><strong>Namecheap</strong>: cheap first year, but it renews at a much higher price</li><li><strong>Avoid</strong> super-cheap first-year deals from big registrars. Renewal is where they get you.</li></ul><p>Tip: pick something short, easy to spell, ending in .com if you can. Free WHOIS privacy (hides your personal details) is included at all of the above.</p><h3>Step 6: Connect domain and hosting</h3><p>If you bought it at Cloudflare, this is the easy path: in your Pages project, open Custom domains, then Set up a custom domain, and type your domain. Cloudflare does the rest, including the free HTTPS padlock. If you bought elsewhere, the dashboard shows two DNS records to copy into your registrar. It can take a few minutes to a few hours.</p><h3>Step 7: Update your site any time</h3><p>Ask Claude for changes, save the new index.html, and upload it again in Pages (Create deployment). Done.</p><h3>When you need more than a simple site</h3><ul><li><strong>Contact form:</strong> use a free form service, or ask Claude to wire one up.</li><li><strong>Accounts, payments, databases:</strong> ask Claude for a simple backend (for example on Cloudflare Workers) or use a no-code tool like Stripe Payment Links for selling.</li><li><strong>Blog:</strong> ask Claude for a small static blog, or publish on Medium or Substack instead.</li></ul><h3>Cost summary</h3><ul><li>Cheapest possible: <strong>$0</strong> (free .pages.dev address)</li><li>Recommended: <strong>about $10 a year</strong> (Cloudflare Pages hosting + your own .com)</li></ul><h3>Tips that save time</h3><ul><li>Start small: one page first, then add more.</li><li>Describe changes one at a time.</li><li>Keep a backup copy of index.html before every big change.</li><li>Always check the site on your phone.</li></ul><p>That’s it. Idea to live website in an afternoon.</p><p><em>Prices checked October 2026 and can change.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4c68f63efea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How does Redis Eviction work ?]]></title>
            <link>https://vedantkekan.medium.com/how-does-redis-eviction-work-4a6c59b0b213?source=rss-200bc65fa774------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a6c59b0b213</guid>
            <category><![CDATA[interview-questions]]></category>
            <category><![CDATA[caching]]></category>
            <category><![CDATA[redis-cluster]]></category>
            <category><![CDATA[redis]]></category>
            <dc:creator><![CDATA[Vedant Kekan]]></dc:creator>
            <pubDate>Sun, 12 Jan 2025 05:42:08 GMT</pubDate>
            <atom:updated>2025-01-12T09:58:24.538Z</atom:updated>
            <content:encoded><![CDATA[<h3>How does Redis Eviction work ?</h3><p>Redis eviction is the process of <strong>removing keys</strong> from the database <strong>when it reaches its memory limit</strong>, ensuring that new data can be added without exceeding the allocated memory.</p><p>This memory management is necessary when Redis is used as cache.</p><p><strong>Redis Memory Model</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZJqm13J_vLQxP_D7vThS3w.jpeg" /><figcaption>Redis memory allocarion</figcaption></figure><p>Redis allow setting maximum memory for usage using <strong>maxmemory </strong>configuration.Once this memory limit is reached Redis decide on handling data based on eviction policy.</p><p>Eviction policy can be configured using <strong>maxmemory-policy</strong> configuration.</p><pre>maxmemory 100mb<br>maxmemory-policy allkeys-lru</pre><p><strong>Lets take look at Eviction Policies in Redis</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*V_0HP3-ljaG-grxlJqrqQw.png" /></figure><p><strong>A) Volatile : Applicable only if key have expiry = true</strong></p><ol><li><strong>volatile-lru </strong>: Evict the least recently used (LRU) keys with TTL<br><strong>Usage:</strong> Cases were recently accessed data is reused, like latest trending news</li><li><strong>volatile-lfu</strong> : Evict the least frequently used (LFU) keys with TTL<br><strong>Usage:</strong> Data that is used frequently, like popular products on ecommerce</li><li><strong>volatile-random</strong> : Evict random keys with TTL<br><strong>Usage:</strong> Cases where data could be accessed randomly, app that read data in cycles</li><li><strong>volatile-ttl</strong> : Evict keys with the shortest TTL first<br><strong>Usage:</strong> Cases were we can predict how long we need cache</li></ol><p><strong>B) All-Key Eviction: Applicable on all keys</strong></p><ol><li><strong>allkeys-lru : </strong>Evict the least recently used keys</li><li><strong>allkeys-lfu : </strong>Evict the least frequently used keys</li><li><strong>allkeys-random : </strong>Evict random keys</li></ol><p>Similar to above explanation just works on all keys</p><p><strong>C) No Eviction : Redis returns an error for write operations</strong><br><strong>Usage:</strong> When Redis is used as persistent store</p><p><strong>Lets review all Configuration and fine-tuning once again,</strong></p><p><strong>maxmemory</strong>: Specifies the memory limit. <br>Example: maxmemory 512mb.</p><p><strong>maxmemory-policy</strong>: Specifies the eviction policy. <br>Example: maxmemory-policy allkeys-lru.</p><p><strong>maxmemory-samples</strong>: Defines the number of keys sampled when applying eviction algorithms. <br>Higher values provide more accuracy but increase CPU usage. Default is 5.</p><p><strong>You can get below commands to inspect evictions configuration,</strong></p><pre>CONFIG GET maxmemory<br>CONFIG GET maxmemory-policy</pre><p>Finally, you should always monitor and check how your cache is behaving.<br>You can use INFO memory command which will tell you cache hit ratio.</p><pre>keyspace_hits / (keyspace_hits + keyspace_misses) * 100</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a6c59b0b213" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Docker” will damage your computer. Stuck in popup loop.]]></title>
            <link>https://vedantkekan.medium.com/docker-will-damage-your-computer-stuck-in-popup-loop-cc4c957cc9aa?source=rss-200bc65fa774------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc4c957cc9aa</guid>
            <category><![CDATA[docker-compose]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[docker-desktop]]></category>
            <dc:creator><![CDATA[Vedant Kekan]]></dc:creator>
            <pubDate>Sat, 11 Jan 2025 13:22:50 GMT</pubDate>
            <atom:updated>2025-01-12T09:29:21.174Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/858/0*ZQGa39zOunvANcyU.png" /></figure><p>The issue may prevent Docker Desktop from starting and in some cases, may also trigger inaccurate malware warnings.</p><p>If you are facing this issue, just follow below simple steps to fix</p><h3>Upgrade to Docker Desktop version 4.37.2 (latest version)</h3><p>Kill the Docker process that cannot start properly:</p><pre>sudo launchctl bootout system/com.docker.vmnetd 2&gt;/dev/null || true<br>sudo launchctl bootout system/com.docker.socket 2&gt;/dev/null || true<br><br>sudo rm /Library/PrivilegedHelperTools/com.docker.vmnetd || true<br>sudo rm /Library/PrivilegedHelperTools/com.docker.socket || true<br><br>ps aux | grep -i docker | awk &#39;{print $2}&#39; | sudo xargs kill -9 2&gt;/dev/null</pre><p><a href="https://docs.docker.com/desktop/release-notes/#4372">Download and install version 4.37.2</a>.</p><h3>HomeBrew User</h3><p>Just run below commands to upgrade your docker to latest verison</p><pre> brew update<br> brew reinstall --cask docker</pre><p>If above dont work, you can uninstall docker with force and reinstall</p><pre>brew uninstall --cask docker --force<br>brew uninstall --formula docker --force<br><br>brew install cask docker<br></pre><p>Here is short video tutorial</p><p><a href="https://youtu.be/FZQyyAp9u-8">https://youtu.be/FZQyyAp9u-8</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc4c957cc9aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OOP principles in Java Simplified]]></title>
            <link>https://vedantkekan.medium.com/oop-principles-in-java-simplified-484fdf1652b1?source=rss-200bc65fa774------2</link>
            <guid isPermaLink="false">https://medium.com/p/484fdf1652b1</guid>
            <category><![CDATA[object-oriented]]></category>
            <category><![CDATA[java-programming]]></category>
            <category><![CDATA[oop]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Vedant Kekan]]></dc:creator>
            <pubDate>Thu, 09 Jan 2025 12:24:12 GMT</pubDate>
            <atom:updated>2025-01-09T12:24:12.577Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*K-QhwPKKkRXsOeIdT4L-Sw@2x.jpeg" /></figure><p><strong>Encapsulation<br></strong>bundling of fields and methods into a single unit (class)<br>basically this is done to allow a restricted access to certain components with use of access modifiers (public, private, protected etc)</p><p>In Spring Boot Rest API, encapsulation ensure that data models only expose necessary fields</p><p>A User entity class hide sensitive information like password. Passwords can be hashed and validated internally within the class or service layer without direct exposure.</p><pre>public class User {<br>    private String username;<br>    private String password;<br><br>    public String getUsername() {<br>        return username;<br>    }<br><br>    public void setUsername(String username) {<br>        this.username = username;<br>    }<br><br>    public void setPassword(String password) {<br>        this.password = hashPassword(password);<br>    }<br><br>    private String hashPassword(String password) {<br>        // Hashing logic here<br>        return passwordHash;<br>    }<br>}</pre><p><strong>Inheritance</strong></p><p>allows a class to inherit fields and methods from another class, promoting code reuse and hierarchy modeling</p><p>A BaseEntity class can include common properties like id, createdAt, updatedAt, which are inherited by other entity classes like Order and Customer.</p><pre>@MappedSuperclass<br>public class BaseEntity {<br>    @Id<br>    @GeneratedValue(strategy = GenerationType.IDENTITY)<br>    private Long id;<br>    private LocalDateTime createdAt;<br>    private LocalDateTime updatedAt;<br><br>    // Getters and setters<br>}<br><br>@Entity<br>public class Customer extends BaseEntity {<br>    private String name;<br>    private String email;<br><br>    // Additional fields and methods<br>}</pre><p><strong>Polymorphism</strong></p><p>allows methods to perform different tasks based on the object calling them. It can be achieved via method overriding or overloading.</p><p>Different payment methods (CreditCardPayment, PaypalPayment) can implement a common PaymentService interface. The system dynamically determines the appropriate method to invoke.</p><pre>public interface PaymentService {<br>    void processPayment(double amount);<br>}<br><br>public class CreditCardPayment implements PaymentService {<br>    @Override<br>    public void processPayment(double amount) {<br>        System.out.println(&quot;Processing credit card payment of &quot; + amount);<br>    }<br>}<br><br>public class PaypalPayment implements PaymentService {<br>    @Override<br>    public void processPayment(double amount) {<br>        System.out.println(&quot;Processing PayPal payment of &quot; + amount);<br>    }<br>}</pre><p><strong>Abstraction</strong></p><p>hides implementation details and shows only essential features to the user</p><p>In <strong>API design</strong>, abstraction is employed to define service contracts while hiding implementation details.</p><p>An abstract NotificationService can define methods for sending notifications without exposing the underlying implementations (email, SMS, push notifications).</p><pre>public abstract class NotificationService {<br>    public abstract void sendNotification(String message, String recipient);<br>}<br><br>public class EmailNotificationService extends NotificationService {<br>    @Override<br>    public void sendNotification(String message, String recipient) {<br>        System.out.println(&quot;Sending email to &quot; + recipient + &quot;: &quot; + message);<br>    }<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=484fdf1652b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Caching strategies explained]]></title>
            <link>https://vedantkekan.medium.com/caching-strategies-explained-08186a34e1e8?source=rss-200bc65fa774------2</link>
            <guid isPermaLink="false">https://medium.com/p/08186a34e1e8</guid>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[caching]]></category>
            <category><![CDATA[caching-strategies]]></category>
            <dc:creator><![CDATA[Vedant Kekan]]></dc:creator>
            <pubDate>Fri, 20 Dec 2024 05:39:43 GMT</pubDate>
            <atom:updated>2024-12-20T05:45:13.115Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Write-Through Cache</strong>: Data is written to cache and database simultaneously.<br>Ensure <strong>Data</strong> <strong>Consistency</strong></p><p><strong><em>Example</em></strong>: A retail website ensuring inventory updates are consistent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n0614l_41gcMRjZhafnwRA.png" /></figure><p><strong>Write-Back Cache</strong>: Data is written to the cache first and database asynchronously.<br>Ensure <strong>Low Latency</strong></p><p><strong><em>Example</em></strong>: Online gaming systems saving player stats.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3T0m9Ikdvbkdiy0sJsXULA.png" /></figure><p><strong>Read-Through Cache</strong>: Data is fetched from the database and stored in cache for future requests.<br><strong>Read heavy apps/Slow db</strong></p><p><strong><em>Example</em></strong>: Frequently viewed product pages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qKxfdC8JGdfWzc44PezBgA.png" /></figure><p><strong>Cache Aside</strong>: Application queries cache first; if data isn’t there, fetches from the database and write to cache.<br><strong>Application manages cache</strong></p><p><strong><em>Example</em></strong>: Social media profile data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uq6sgtIFxtcagc1ecGhjcw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=08186a34e1e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vscode how to remove Incoming/Outgoing changes graph]]></title>
            <link>https://vedantkekan.medium.com/vscode-how-to-remove-incoming-outgoing-changes-graph-42ce81d9039c?source=rss-200bc65fa774------2</link>
            <guid isPermaLink="false">https://medium.com/p/42ce81d9039c</guid>
            <category><![CDATA[visual-studio-code]]></category>
            <category><![CDATA[visual-studio]]></category>
            <category><![CDATA[vscode]]></category>
            <dc:creator><![CDATA[Vedant Kekan]]></dc:creator>
            <pubDate>Wed, 07 Aug 2024 00:55:51 GMT</pubDate>
            <atom:updated>2024-08-07T00:55:51.999Z</atom:updated>
            <content:encoded><![CDATA[<p>In latest version of <a href="https://code.visualstudio.com/updates/v1_92#_incomingoutgoing-changes-graph">(update 1.92)</a> introduced this new Income/Outgoing changes graph:</p><p>You might see this slowing down you system or showing complicated change view.</p><p>You can disable this history graph from setting.</p><p>Check this short video on how to remove this graph on you VScode</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJfD3OLGMCjc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJfD3OLGMCjc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJfD3OLGMCjc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6bd16440281d84c6a975c123d94aa703/href">https://medium.com/media/6bd16440281d84c6a975c123d94aa703/href</a></iframe><p>Hope this helps.<br>Thank you</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42ce81d9039c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Setup Local Redis Cluster]]></title>
            <link>https://vedantkekan.medium.com/how-to-setup-local-redis-cluster-a9bacbacdf44?source=rss-200bc65fa774------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9bacbacdf44</guid>
            <category><![CDATA[redis-cluster]]></category>
            <category><![CDATA[redis]]></category>
            <dc:creator><![CDATA[Vedant Kekan]]></dc:creator>
            <pubDate>Mon, 05 Aug 2024 10:05:44 GMT</pubDate>
            <atom:updated>2024-08-11T00:44:21.397Z</atom:updated>
            <content:encoded><![CDATA[<p>In this document we will learn how to setup a Redis cluster step by step. And go through all the important topics listed below which we need to understand for mastering Redis Cluster setup.</p><p>In this example we will create a 6 nodes cluster (3 master and 3 replicas).</p><p>First make sure you have redis installed on your system</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FtoyMdtOTUkg&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DtoyMdtOTUkg&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FtoyMdtOTUkg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4d1c4e144c260fd201878593b6f5b60b/href">https://medium.com/media/4d1c4e144c260fd201878593b6f5b60b/href</a></iframe><h3>Create Redis Cluster</h3><ul><li>We need to have few empty Redis instances running in cluster mode.</li><li>We need at least following directives in our <a href="https://redis.io/docs/latest/operate/oss_and_stack/management/config-file/">redis.config</a></li></ul><pre>port 8000<br>cluster-enabled yes<br>cluster-config-file nodes.conf<br>cluster-node-timeout 5000<br>appendonly yes</pre><p>On local we will create 6 different folders where we will maintain config of each node and start Redis on same host different ports.</p><pre>mkdir cluster-test<br>cd cluster-test<br>mkdir 8000 8001 8002 8003 8004 8005</pre><p>Create a redis.conf file inside each of the directories, from 7000 to 7005<br>make sure to replace the port number 7000 with the right port number according to the directory name.</p><p>Start every instance in different terminal with following commands</p><pre>cd 8000<br>redis-server ./redis.conf<br><br>cd 8001<br>redis-server ./redis.conf<br><br>cd 8002<br>redis-server ./redis.conf<br><br>cd 8003<br>redis-server ./redis.conf<br><br>cd 8004<br>redis-server ./redis.conf<br><br>cd 8005<br>redis-server ./redis.conf</pre><p>Now we will create cluster with <strong>create</strong> command</p><pre>redis-cli --cluster create 127.0.0.1:8000 127.0.0.1:8001 \<br>127.0.0.1:8002 127.0.0.1:8003 127.0.0.1:8004 127.0.0.1:8005 \<br>--cluster-replicas 1</pre><p>--cluster-replicas 1 means that we want a replica for every master created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BCE0gofa4pAiH6TtbhyFHA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*eFrhJoVoOjH9Lka37ZP35g.png" /></figure><p>Here is a video ghuide for same:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FhlacDfYU6bM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DhlacDfYU6bM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FhlacDfYU6bM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/84ff58698f2dd9e66eec341ba6929b5e/href">https://medium.com/media/84ff58698f2dd9e66eec341ba6929b5e/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9bacbacdf44" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HomeBrew Uninstall Error: uninstall script does not exist.]]></title>
            <link>https://vedantkekan.medium.com/homebrew-uninstall-error-uninstall-script-does-not-exist-bb208598ce53?source=rss-200bc65fa774------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb208598ce53</guid>
            <category><![CDATA[homebrew-uninstall]]></category>
            <category><![CDATA[homebrew]]></category>
            <dc:creator><![CDATA[Vedant Kekan]]></dc:creator>
            <pubDate>Wed, 31 Jul 2024 11:54:47 GMT</pubDate>
            <atom:updated>2024-07-31T11:55:26.263Z</atom:updated>
            <content:encoded><![CDATA[<p>This is error you may face in case you have manually deleted uninstall script for any package which was installed using homebrew.</p><p>Error: uninstall script /Applications/XAMPP/uninstall.app/Contents/MacOS/osx-x86_64 does not exist.</p><p>You can fix by removing file with rm command , check this. short 1 minute video for a demonstration</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FknsbdncmWTg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DknsbdncmWTg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FknsbdncmWTg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0fff407a36613bf73670fd19b5eea5b1/href">https://medium.com/media/0fff407a36613bf73670fd19b5eea5b1/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb208598ce53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Redis Cluster Interview Questions]]></title>
            <link>https://vedantkekan.medium.com/redis-cluster-interview-questions-8573a07e44ce?source=rss-200bc65fa774------2</link>
            <guid isPermaLink="false">https://medium.com/p/8573a07e44ce</guid>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[redis-cluster]]></category>
            <dc:creator><![CDATA[Vedant Kekan]]></dc:creator>
            <pubDate>Wed, 31 Jul 2024 10:15:49 GMT</pubDate>
            <atom:updated>2024-07-31T10:15:49.170Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>What is purpose of Redis Cluster?</li><li>Explain how many TCP ports are used in Redis Cluster and what is role of each port?</li><li>How are ports handled for Redis deployed using Docker? Do we need to to anything specifically to make Docker compatible with Redis?</li><li>What is hash tag? What is purpose of hash tag?</li><li>Could you explain Redis cluster master-replica model ?</li><li>Does Redis cluster guarantee strong consistency ? Redis uses synchronous or asynchronous replication ?</li><li>How can we achieve strong consistency ? Does it have performance penalty ?</li><li>How can Redis achieve synchronous replication?</li><li>What is node timeout? What is its purpose?</li><li>What is cluster-slave-validity-factor configuration ?</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8573a07e44ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to get rid of “Choose your search engine” dialog in Chrome v.127 on Selenium test run?]]></title>
            <link>https://vedantkekan.medium.com/how-to-get-rid-of-choose-your-search-engine-dialog-in-chrome-v-127-on-selenium-test-run-ec46643a3228?source=rss-200bc65fa774------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec46643a3228</guid>
            <category><![CDATA[selenium-test-automation]]></category>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[selenium-webdriver]]></category>
            <dc:creator><![CDATA[Vedant Kekan]]></dc:creator>
            <pubDate>Sat, 27 Jul 2024 14:26:04 GMT</pubDate>
            <atom:updated>2024-07-27T14:27:47.426Z</atom:updated>
            <content:encoded><![CDATA[<p>After upgrading chrome driver version to v127 you might see after test run, popup windows ask to choose search engine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vILHdABT8XxnkfLqlWsjGQ.png" /></figure><p>You can fix it with simply setting argument --disable-search-engine-choice-screen to disable this popup to choose search engine.</p><p>Check this 1 minute video to see how we can set this argument</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FPJ6MApFBG5k%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DPJ6MApFBG5k&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FPJ6MApFBG5k%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a572e35033e5f3c14839c3aadf205d1a/href">https://medium.com/media/a572e35033e5f3c14839c3aadf205d1a/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec46643a3228" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>