<?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 Puranjay Kwatra on Medium]]></title>
        <description><![CDATA[Stories by Puranjay Kwatra on Medium]]></description>
        <link>https://medium.com/@kwattrapuranjay?source=rss-3507f666c220------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*EYBKe6JN3SlURmCj</url>
            <title>Stories by Puranjay Kwatra on Medium</title>
            <link>https://medium.com/@kwattrapuranjay?source=rss-3507f666c220------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 13:23:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kwattrapuranjay/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[Setup Apache Airflow on Google Cloud VM: A Complete Guide with Custom MYSQL database, Redis…]]></title>
            <link>https://medium.com/@kwattrapuranjay/apache-airflow-on-google-cloud-vm-a-complete-guide-with-custom-mysql-database-redis-caching-and-c00d1fd86cf2?source=rss-3507f666c220------2</link>
            <guid isPermaLink="false">https://medium.com/p/c00d1fd86cf2</guid>
            <category><![CDATA[google-cloud]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[airflow]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Puranjay Kwatra]]></dc:creator>
            <pubDate>Tue, 24 Oct 2023 09:54:51 GMT</pubDate>
            <atom:updated>2023-10-24T11:55:47.586Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*6X1pk3z52xixwONndBVTDA.png" /></figure><h3><strong>Setup Apache Airflow on Google Cloud VM: </strong>A Complete Guide with Custom<strong> MYSQL database, Redis Caching, and Docker Compose.</strong></h3><p>When dealing with a multitude of concurrently running services like scripts and pipelines, managing and remembering them can be a complex task. <strong>Airflow,</strong> on the other hand, simplifies this process. It’s a platform designed to automate pipeline and workflow management, utilizing <strong>Directed Acyclic Graphs (DAGs), </strong>which are essentially Python scripts. This technical approach greatly simplifies the developer’s workload.</p><p>Setting up Apache Airflow to integrate with a custom database for your website can be a complex task. When embarking on this journey, you must consider cost-effectiveness and simplicity in the setup process, avoiding unnecessary over-engineering. In my quest to find the ideal approach, I explored three scenarios: one for small-scale usage, another for larger-scale operations, and a way where we can use it cost-effectively and for a few clients or users. Obviously, we are going for the cost-effective one which is using Google Cloud VM.</p><p><strong>Cloud run for efficiency:</strong></p><p>At first, you might think Google Cloud Run is the perfect solution for a hassle-free setup. It’s a serverless platform that minimizes maintenance. However, it’s not a perfect match for Airflow, which relies on maintaining states for tasks and workflows. There’s a workaround in which you can implement <a href="https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/dag-serialization.html"><strong>DAG serialization</strong></a> which works if you have a different database somewhere else and your dags and logs are being called and saved there this is not the best approach, but if you want your web server and scheduler to run together, you’ll need to look elsewhere.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1DWIdH_cPPMqdn3L.png" /></figure><p><strong>Scaling with GKE:</strong></p><p>In an ideal scenario where budget isn’t a constraint and you’re looking to scale your Airflow system, Google Kubernetes Engine (GKE) becomes a compelling choice. However, for a smaller system, using Google Cloud VM can be a cost-effective and flexible solution, granting you more control over the underlying infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/1*b-nPbKi8QDOUbCYQyZY_rg.png" /></figure><h3>The Google Cloud VM approach :</h3><p>Now, let’s proceed to create your Google Cloud virtual machine:</p><p>With these strategies and considerations in mind, you’ll be well-prepared to set up Apache Airflow effectively, tailored to your specific needs and budget.</p><p>But if you want to use Google Cloud VM for setting up VM it comes with a set of disadvantages as well.</p><ul><li><strong>Reduced Reliability</strong>: Cloud Virtual Machines (VMs) are less dependable compared to managed services due to their weaker integration with the underlying infrastructure.</li><li><strong>Limited Scalability</strong>: Scaling Cloud VMs can be more challenging as you must manually create additional VMs when your workload grows</li></ul><p>But for now, at an early stage of setup, we can use a Cloud VM for airflow as it requires low cost for setup, more flexibility and you have more control over the underlying infrastructure.</p><h4><strong>Setup requirements</strong></h4><p>It’s crucial to understand what you need for this setup. You have a custom database hosted on Google Cloud SQL, a Redis service elsewhere, possibly on AWS, and a Google Cloud virtual machine with a recommended configuration of 8GB of RAM.</p><p>1. Navigate to console.cloud.google.com.<br>2. Click on the “Create VM” option.<br>3. Use the following configurations:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*Z6XX3Vx-e-GWH7_M7x40Sg.png" /></figure><p>To ensure optimal performance for our multiple services, we must employ the machine type ‘<strong>standard e2-standard-2,</strong>’ which boasts increased RAM capacity. This transition has resolved previous low RAM issues, which i was facing when setting up Apache airflow using at least 8 GB of RAM</p><p>For all other configurations, feel free to retain the default settings. assuming that you’ve established a service account, facilitating Airflow’s access to and necessary permissions for our services. see this for <a href="https://support.google.com/a/answer/7378726?hl=en">more details</a></p><p>In addition, it is essential to include an SSH key for your VM to enable the connection from your local machine. To achieve this, please follow the provided steps at this link: <a href="https://cloud.google.com/compute/docs/connect/add-ssh-keys">Add SSH key</a>.</p><p>so let us start setting up Apache airflow in the VM<br>Go to the VM instance page and then see your created VM instance like this and copy the external IP from there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*0jMvm_G2vHI96_jRBnnSpw.png" /></figure><p>To set up your VM instance, follow these steps:</p><ol><li>Take note of the External IP address of your VM instance.</li><li>Open Visual Studio Code (VS Code).</li><li>Navigate to the bottom left corner of the VS Code window.</li><li>Click on the “Remote Window” option.</li></ol><p>This will allow you to establish a connection to your VM instance using the External IP address you noted in step 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*Uqrds3SUpFkJe4XMrTwebw.png" /><figcaption>remote window VS code</figcaption></figure><ul><li>Begin by clicking on the ‘<strong>Connect Host’</strong> option and entering the External IP address. which should be like this “10.81.69.13”</li><li>This action will establish a remote connection on your local machine.</li><li>Now that you’re within the VM, it’s time to install Docker on your Ubuntu system.</li></ul><h3><strong>Docker installation:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/0*rI10bD_2qTKUF8Y9" /><figcaption><a href="https://www.google.com/url?sa=i&amp;url=https%3A%2F%2Fwww.linkedin.com%2Fpulse%2Fbeginners-guide-apache-airflow-docker-part-1-tom-reid&amp;psig=AOvVaw0Oj3Y0WQxi8A2_xta321Kz&amp;ust=1698224878308000&amp;source=images&amp;cd=vfe&amp;opi=89978449&amp;ved=0CBMQjhxqFwoTCLiRrueqjoIDFQAAAAAdAAAAABAE">refernce</a></figcaption></figure><ul><li>Follow the <a href="https://docs.docker.com/engine/install/ubuntu/">official documentation</a> for a detailed step-by-step guide for docker installation of Windows or macOS.</li><li>Or simply run a set of commands — no modifications needed — to install the latest version of Docker on your system if you have Ubuntu.</li></ul><ol><li><strong>Set up docker apt’s repo</strong></li></ol><pre># Add Docker&#39;s official GPG key:<br>sudo apt-get update<br>sudo apt-get install ca-certificates curl gnupg<br>sudo install -m 0755 -d /etc/apt/keyrings<br>curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg - dearmor -o /etc/apt/keyrings/docker.gpg<br>sudo chmod a+r /etc/apt/keyrings/docker.gpg<br># Add the repository to Apt sources:<br>echo \<br> &quot;deb [arch=&quot;$(dpkg - print-architecture)&quot; signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \<br> &quot;$(. /etc/os-release &amp;&amp; echo &quot;$VERSION_CODENAME&quot;)&quot; stable&quot; | \<br> sudo tee /etc/apt/sources.list.d/docker.list &gt; /dev/null<br>sudo apt-get update</pre><p><strong>2. Install docker packages</strong></p><pre><br>sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin</pre><h3><strong>Airflow docker-compose.yaml file setup</strong></h3><p>Next, we’ll set up the Airflow Docker Compose file. To do this, we’ll utilize the official Docker Compose image file. Here are the steps in Visual Studio Code:</p><ol><li>Start by creating a new folder named ‘airflow-setup.’”</li></ol><pre>mkdir airflow-setup<br>cd airflow-setup</pre><p>2.Now Install the docker-compose.yaml file.</p><pre>curl -LfO ‘https://airflow.apache.org/docs/apache-airflow/2.7.1/docker-compose.yaml&#39;</pre><p>3.Now we have to set the necessary permission so that airflow can access environment variables in the docker-compose file so run this command.</p><pre>echo -e &quot;AIRFLOW_UID=$(id -u)\nAIRFLOW_GID=0&quot; &gt; .env</pre><p>This will make a .env file in the same folder which will have content like this it may have a different value for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*oRu4mFvhCUzpxutZN-xA_w.png" /><figcaption>.env file</figcaption></figure><blockquote><strong>Note * Now the most important step for all before running any command in the terminal is to set the current working directory for airflow unless you are working in the root directory Set the current working directory for airflow in any terminal you work.</strong></blockquote><pre>export AIRFLOW_HOME=~/airflow-setup #or your current directory</pre><p>To set up our custom MySQL database, we’ll be using Google Cloud SQL, and for Redis caching storage, we’ll employ AWS Kubernetes (k8s). Let’s begin by verifying the SQL connection string, ensuring we have the correct database name and SQL version. Please note that using compatible versions is crucial to avoid any dependency issues.</p><p>To configure our custom settings, we’ll need to make adjustments in both the ‘<strong>airflow.cfg’ and ‘docker-compose.yaml’ files</strong>. Starting with the ‘<strong>docker-compose</strong>’ file, here’s how we edit our custom MySQL database setup:”</p><h3><strong>docker-compose.yaml :</strong></h3><pre><br>&#39;mysql://root:root@10.91.1.5/airflow&#39;</pre><p>What does this line represent? It’s a connection string designed for linking to your MySQL database. It’s adaptable for various environments, like CLOUD SQL in this instance, but the format remains consistent. You could also apply it to a local MySQL setup. Now, let’s break down this connection URL</p><ul><li><strong>mysql://</strong>: Indicates the type of database being used (MySQL).</li><li><strong>root:</strong> The username used to connect to the MySQL database.</li><li><strong>root:</strong> The password for the MySQL user.</li><li><strong>@10.91.1.5:</strong> It is the private IP address of the MYSQL database where it is hosted in this case CLOUD SQL, if you are using local storage you can give local IP as well</li><li><strong>/airflow:</strong> Database name which you want to connect in this case we have a database named “airflow” in my Cloud SQL.</li></ul><p>Now add this line in the docker-compose file where you find a connection string it should look like this you have to add the connection string URL in this location we will not go in-depth into why we and what services these are you can take reference from <a href="https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html">here </a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DdTJAwQtLdC2bi-huFctPQ.png" /></figure><p>Now, let’s delve into a crucial aspect: setting up volumes. Many people encounter challenges when dealing with larger-scale setups or when they wish to change the location of volumes where DAGs and logs are stored. Configuring volumes can be a time-consuming task. i will simplify this process for you.”</p><h3>Volumes:</h3><p>Volumes are like storage units for your data within the container engine. If you’re storing data in a different place than the default location, you might run into issues and need to change how volumes are set up. Here’s the basic format for setting up volumes:”</p><p>this is a simple format for volumes in docker-compose that we will be editing now.</p><pre><br>source directory location:container location</pre><p>If you’re working within the root directory, there’s no need to modify volume locations; they can stay as they are. However, if you’re working outside of the root directory, it’s essential to customize the volume locations to suit your needs.</p><p>Here’s a visual representation of where you need to change the volume location, starting with the first one located under ‘<strong>x-airflow-common’</strong>: change this accordingly to your location.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/453/1*_2sxzfNslW_pCrh79kCHCQ.png" /></figure><p>In addition to the volume adjustments, we also have the ‘airflow-init’ service, which handles the initialization of all the necessary services. This service includes a bash script that creates folders for:</p><blockquote><strong>dags-stores the scripts for workflows</strong></blockquote><blockquote><strong>logs — store the log history</strong></blockquote><p>When you initially run the Docker Compose file, it’s important to execute this service before proceeding further. This ensures that the required directory structure is in place as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*G0SiIySdeS41HkAFxlb9Pw.png" /><figcaption>airflow-init Volumes (bash)</figcaption></figure><p>We’re looking to establish our Redis caching service. To do that, navigate to the docker-compose file and update the Redis service with the appropriate URL. If you’d like to store your Redis caching data elsewhere, here’s a sample URL. In this scenario, we’re employing Amazon Web Services (AWS) Kubernetes (K8s).”</p><pre>AIRFLOW__CELERY__BROKER_URL: redis://:@k8s-elastics.us-sample-1.elb.amazonaws.com:1234/0</pre><p>Now our docker-compose file edits are done.</p><p>now open the terminal and set the current working directory as airflow_home</p><pre>export AIRFLOW_HOME=~/airflow-setup #or your current directory</pre><p>Now you can run the command this will initialize the services and it will create.</p><pre>docker compose up airflow-init # if there is a issue follow steps below</pre><p>when you run the above command it creates 3 files in the active airflow directory named <strong>airflow.cfg, airflow. db and webserver-config.py.</strong></p><blockquote>if you might face some issues while running the above command it is because your configuration is not set. if not you can skip these configuration setting options.</blockquote><h3>Now working on airflow.cfg</h3><p>Open <strong>airflow.cfg</strong> file and set all the location paths that is required by the airflow to access files such as <strong>DAGs, logs,</strong> and <strong>configs.</strong></p><p>let&#39;s look at those things one by one<br>first, change the default dag location to this.</p><pre>dags_folder = /home/asus/etl/dagsd</pre><p>Also in the config file you need to specify the database string as well</p><pre><br>sql_alchemy_conn = mysql://root:root@1.2.3.4/airflow</pre><p>Also change this location to mentioned below these are mentioned in different locations so search the keywords and change the location accordingly to your own location such as /home/your_device/folder/dags</p><pre>base_log_folder = /home/asus/etl/logs #/home/asus/airflow/logs<br>dag_processor_manager_log_location = /home/asus/etl/logs/dag_processor_manager/dag_processor_manager.log<br>config_file = /home/asus/etl/webserver_config.py #/home/asus/airflow/webserver_config.py<br>child_process_log_directory = /home/asus/etl/logs/scheduler#/home/asus/airflow/logs/scheduler</pre><p>Now all of the things are set</p><blockquote><strong>Our docker-compose.yaml file and airflow.cfg is set.</strong></blockquote><p>Now run the command once again to start all the services using-&gt;</p><pre>docker compose up airflow-init</pre><p>Then in a new terminal set the <strong>airflow_home</strong> variable mentioned above to the current directory.</p><blockquote><strong><em>Note: </em></strong><em>The services airflow </em><strong><em>docker-compose</em></strong><em> and airflow scheduler require the different terminals to run so make a new terminal and set the </em><strong><em>airflow_home</em></strong><em> to the current directory.</em></blockquote><p>Run:</p><pre>docker compose up</pre><ul><li>Once everything is set up, the web server should be accessible at <a href="http://localhost:8080/home">http://localhost:8080/home</a>.</li></ul><h3><strong>Airflow scheduler</strong></h3><p>For now, we are currently using a single thread executor named Sequential executor which is default exector .You can change it in “airflow.cfg” file so we need to run this service separately in a new terminal after setting <strong>airflow_home</strong> to the current directory using Run the scheduler using airflow scheduler.</p><pre>export AIRFLOW_HOME=~/airflow-setup #or your current directory<br>airflow scheduler</pre><p>You need to run the Airflow scheduler separately when using Docker Compose because the default Airflow version operates with the <strong>Sequential Executor,</strong> which can only handle one task at a time in a single thread. To enable multiple tasks to run concurrently, you run the scheduler in a separate terminal or change the executor to another executor.</p><p>Here’s why:</p><p>1. <strong>Default Sequential Executor</strong>: The default Airflow version uses the Sequential Executor, which means it processes tasks one by one. This can be inefficient, especially when you have multiple services or need parallel task execution.</p><p>2. <strong>Separate Terminal</strong>: To work around the single-threaded nature of the Sequential Executor, you run the scheduler in a different terminal. This allows you to manage task scheduling independently, leading to better performance and task concurrency.</p><p>3. <strong>Configuring Airflow Home</strong>: Before running the scheduler command, ensure you set the ‘airflow_home’ location, specifying where your Airflow configurations and DAGs are stored.</p><p>Now if you refresh the page your scheduler is running along with the webserver and it should look like this default username and password is mentioned below you can change through the compose file or make a new user through the terminal.</p><p><strong>username: airflow</strong></p><p><strong>password: airflow</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*stYq7RNdChKE9B0OLQbtBA.png" /></figure><p>Fantastic! Your Airflow setup is now complete. You can log in using your username and password. Thank you for taking the time to read this blog. If you encounter any issues or have questions, don’t hesitate to reach out to me and do follow me on linkedin.</p><p>Follow me on <strong>LinkedIn</strong> : P<a href="https://www.linkedin.com/in/puranjay314/">uranjay kwatra</a></p><p><strong>If you have any questions or if you wanna work with me, feel free to contact me. </strong>I’m always available to help</p><p>email: kwattrapuranjay@gmail.com</p><p>If you enjoyed what you read, please consider supporting me <a href="https://www.buymeacoffee.com/puranjaykwatra"><strong>here</strong> Your support is greatly appreciated!</a></p><p>Keep hustling!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c00d1fd86cf2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Greenfield vs. Brownfield Projects: Unveiling the Best Path in Software and Data Engineering]]></title>
            <link>https://medium.com/@kwattrapuranjay/greenfield-vs-brownfield-projects-unveiling-the-best-path-in-software-and-data-engineering-385b145c638a?source=rss-3507f666c220------2</link>
            <guid isPermaLink="false">https://medium.com/p/385b145c638a</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Puranjay Kwatra]]></dc:creator>
            <pubDate>Tue, 25 Jul 2023 10:33:07 GMT</pubDate>
            <atom:updated>2023-07-25T10:33:07.828Z</atom:updated>
            <content:encoded><![CDATA[<h3>Greenfield vs. Brownfield Projects: Unraveling the Best Path in Software, Data, and Machine Learning Engineering</h3><p>Every software Engineer, Data engineer, data architect, and machine learning engineer faces this term when they were to start working on a project. You need to know whether you are starting with a clean whiteboard or reconstructing an existing architecture or framework. These types of jargon you will often face when working in the corporate world</p><h3><strong>What are Brown Field projects?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*H42ofuivSUTgZqADXFP3_Q.jpeg" /><figcaption><a href="https://www.freepik.com/free-photo/dry-large-grassland-clear-sky-it-perfect-background_13382401.htm#query=brown%20field&amp;position=3&amp;from_view=search&amp;track=ais">Brown Field</a></figcaption></figure><p>Brownfield projects generally are those projects whose architecture is already been made or those projects which involve adding features, maintaining the system, or changing the legacy code and development on the older codebase. Generally, brownfield projects require you to have a strong understanding of the previous architecture or the coding environment you can only work on top of that you can keep the technologies that the system has built on.</p><p>Many new developers do this mistake and choose to make things all from scratch but it is not feasible from time to time depending upon the situation and the (ROI)return on investment. Suppose you want to build a resume parsing application and want to extract the details of candidates from the resume and get all the details of the resumes of multiple candidates in a single sheet. if I have to make this application it will take up to 6 months and the salary of multiple engineers to work on this and I still may not get a feasible result. There is a company called XYZ they are offering the same things for some price which will give better service at a less price and cost less money than if we have to make it from scratch. and any other dependencies you want to build you can build on top of that. It depends on you which side you choose.</p><p>so many times choosing a prebuilt system and brownfield projects is a good choice you just have to choose which is better for this current requirement.</p><p><strong>Let&#39;s take the example of Instagram</strong></p><p>It was initially built on a framework called Django which uses Python if they hire new engineers or architects they have to work on Django itself and they have to study the whole codebase and understand the architecture. But in increasing the number of users an application cannot only be monolithic and it transitioned to microservices architecture. In big tech companies like Google and Microsoft, all the architecture uses multiple technologies many small companies maintain a homogenous architecture and code base but when there come new better, fast, and more reliable technologies that can fasten up the work they have to use different technologies. so they can choose to work from scratch on a particular feature but they have to align with previous architecture and sometimes use only the tools that are already built so that they don&#39;t have to make those things from scratch.</p><h3><strong>What are Green Field projects?</strong></h3><p>Greenfield projects generally are those projects which give you a chance to start a project or a feature from scratch. These are the projects which do not have any restraint whatsoever they allow you to freely choose any technologies that will fit your requirement and allow you to build data pipeline or architecture from the ground up without requiring the existing codebase sometimes Greenfield projects are made on top of brownfield projects such as when you want to integrate a new project in a legacy system you can by using API calls which require modifications and enhancements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-BAKX1nMrnp5AmeLnSacjw.jpeg" /><figcaption><a href="https://www.freepik.com/free-photo/beautiful-shot-lonely-tree-standing-middle-greenfield-clear-sky_9076556.htm#query=greenfield&amp;position=2&amp;from_view=search&amp;track=sph">Green Field</a></figcaption></figure><p>In Greenfield projects, you can choose your own Tech stack which often has many benefits you can choose the tech stack in which your team works the best and allow the new best practices that are not feasible with legacy code or older data architecture.</p><p>When starting with a new project in a startup or small team think carefully about what you need, whether you want to make something from scratch with green field projects options or you want to choose brownfield projects which have already been made and are available in the market for a reasonable price for the same software. It totally depends on the need, budget, and time for that particular piece of software that you need.</p><p>But if you are making the project from scratch you need to do it with the best practices and security so that the project does not have any loopholes and don’t give you problem in the future so is better to follow best engineering practices while working with greenfield projects and a team of experienced employees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*1OUlWCKbPGEh46RNid4Rnw.png" /></figure><p>For advice if you work in a startup and need to quickly need results with less money go for already available options and build on top of that what you need and customize it further because there is not always an available solution for your problem you need careful planning and consideration for the system you need.</p><p>***************************************************************</p><p>If you loved what you read, would you be able to <a href="https://bmc.link/puranjaykwatra"><strong>buy me a cup of coffee?</strong></a> It’s okay if you can’t right now.</p><p>Follow me on LinkedIn : <a href="https://www.linkedin.com/in/puranjay314/">puranjay kwatra</a></p><p><strong>If you have any questions or if you wanna work with me, feel free to contact me. </strong>I’m always available to help</p><p>email: kwattrapuranjay@gmail.com</p><p>Keep hustling!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=385b145c638a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>