<?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 Rajesh Shah on Medium]]></title>
        <description><![CDATA[Stories by Rajesh Shah on Medium]]></description>
        <link>https://medium.com/@shahrajesh2006?source=rss-e2b33d4fbeb8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*InWpRCyBETMyX27hWTHuuA.jpeg</url>
            <title>Stories by Rajesh Shah on Medium</title>
            <link>https://medium.com/@shahrajesh2006?source=rss-e2b33d4fbeb8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:25:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shahrajesh2006/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[AutoGen: Right Tool at Right Time]]></title>
            <link>https://shahrajesh2006.medium.com/autogen-is-developer-friendly-18e7eba7f4c0?source=rss-e2b33d4fbeb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/18e7eba7f4c0</guid>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[gpt]]></category>
            <category><![CDATA[multi-agent-systems]]></category>
            <category><![CDATA[llama-3]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Rajesh Shah]]></dc:creator>
            <pubDate>Mon, 28 Oct 2024 02:35:16 GMT</pubDate>
            <atom:updated>2024-10-28T02:45:44.986Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uYqHDcGZrl_HNZOnjPsVLw.png" /></figure><p>With the growth in LLM adoption, every enterprise is in the race to build Multi-Agent LLM Systems. Lets consider a simple workflow of Customer Service as multi-agent system:</p><p><strong>Customer Service Intro Agent</strong>: This agent greets customer and based on the customer ask, hands off to a specialist agent.</p><p><strong>Order Processing Agent</strong>: This agent helps the customer to find the products and take a new order.</p><p><strong>Returns Processing Agent</strong>: This agent will process the returns and refund for the customers.</p><p><strong>Customer Feedback Agent</strong>: This agent will take the feedback from the customer to improve the future experience.</p><p>To build such a multi agent system using LLMs from scratch is complex and time consuming effort.</p><p>Introducing <strong>AutoGen!</strong></p><p><strong>AutoGen</strong> is an open-source framework developed by Microsoft Research for building advanced AI agent systems and enabling next-generation LLM applications</p><h3>Core Features</h3><p><strong>Multi-Agent Conversation Framework</strong>: <strong>AutoGen</strong> provides a high-level abstraction for creating multi-agent conversations, allowing developers to build complex LLM workflows with minimal effort.</p><p><strong>Customizable Agents</strong>: The framework offers customizable and conversable agents that can integrate LLMs, tools, and human input.</p><p>F<strong>lexible Conversation Patterns</strong>: AutoGen supports diverse conversation patterns, including autonomous and human-in-the-loop workflows.</p><p><strong>Tool Integration: </strong>It provides native support for tool usage through code generation and execution.</p><h3>Key Components</h3><p><strong>AssistantAgent</strong>: An AI-powered agent that can generate responses using.</p><p><strong>UserProxyAgent:</strong> An agent that can execute code, use tools, and optionally incorporate human feedback.</p><p><strong>HumanProxyAgent:</strong> A special agent that enables easy integration of human involvement at different levels.</p><h3>Benefits and Applications</h3><p><strong>Simplifies Development: </strong>The agent modularity and conversation-based programming simplify development and enable code reuse.</p><p><strong>Enhanced LLM Performance: </strong>AutoGen helps maximize the performance of LLM models and overcome their weaknesses.</p><p><strong>Diverse Use Cases:</strong> The framework has been used to build applications in various domains, including mathematics, coding, question-answering, and supply-chain optimization.</p><h3>Technical Details</h3><p><strong>Open-Source:</strong> AutoGen is available as an open-source library on GitHub.</p><p><strong>Python Support: </strong>The framework can be installed via pip and used with Python.</p><p><strong>LLM Integration: </strong>It supports various LLM configurations and models like LLAMA and GPT.</p><h3>AutoGen Studio</h3><p>AutoGen Studio is built on top of the AutoGen framework, providing a user-friendly environment for:</p><ul><li>Rapidly prototyping AI agents</li><li>Enhancing agents with skills</li><li>Composing agents into workflows</li><li>Interacting with agents to accomplish tasks</li></ul><p>The platform is designed to lower the barrier to entry for developing multi-agent applications, facilitating quick prototyping and testing of solutions</p><p><strong>AutoGen</strong> Framework and <strong>AutoGen Studio</strong> aims to accelerate development and research in Agentic AI, providing a flexible and powerful framework for creating sophisticated AI applications based on multi-agent conversations.</p><h3><strong>References</strong></h3><p><a href="https://www.microsoft.com/en-us/research/project/autogen/">https://www.microsoft.com/en-us/research/project/autogen/</a></p><p><a href="https://www.microsoft.com/en-us/research/publication/autogen-enabling-next-gen-llm-applications-via-multi-agent-conversation-framework/">https://www.microsoft.com/en-us/research/publication/autogen-enabling-next-gen-llm-applications-via-multi-agent-conversation-framework/</a></p><p><a href="https://microsoft.github.io/autogen/0.2/blog/2023/12/01/AutoGenStudio/">https://microsoft.github.io/autogen/0.2/blog/2023/12/01/AutoGenStudio/</a></p><p>Some of the text on this page was generated using <a href="https://www.perplexity.ai/">https://www.perplexity.ai/</a></p><p>Image generated using <a href="https://stablediffusionweb.com/">https://stablediffusionweb.com/</a></p><p><strong>Disclaimer</strong>: This is a personal blog. The opinions expressed here represent my own and not those of my current or any previous employers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18e7eba7f4c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LLMOps with Langchain]]></title>
            <link>https://shahrajesh2006.medium.com/llmops-with-langchain-30a16627a486?source=rss-e2b33d4fbeb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/30a16627a486</guid>
            <category><![CDATA[langchain]]></category>
            <category><![CDATA[genarative-ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[llmops]]></category>
            <dc:creator><![CDATA[Rajesh Shah]]></dc:creator>
            <pubDate>Mon, 18 Mar 2024 03:04:47 GMT</pubDate>
            <atom:updated>2024-03-18T03:13:06.792Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*elWzzx_SgM6o6ND7d1ZUWA.png" /></figure><p>After the release of OpenAI ChatGPT in early 2023, we have seen flood gates open for innovation using the Large Language Models (GPT4, LLAMA2 etc). We all have been blown away by the LLM demos we saw for code writing, generating document summaries, poems and stories etc. Enterprises have created multiple teams to build use cases using Large Language Models. Key for enterprise success is to leverage in house data. Enterprise use case vary from enhancing customer service to help improve employee productivity.</p><p>Typical Enterprise Use Case looks something as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VLPMNgwqDlfSmPhmiZK2vw.png" /></figure><p>As enterprise embark on this journey to build LLM use cases, need for LLMOps tools and framework has grown rapidly.</p><h3>Introducing Langchain</h3><p>LangChain is an open-source framework designed to simplify the creation of applications using large language models (LLMs). It provides tools and abstractions to improve the customization, accuracy, and relevancy of information generated by these models. LangChain allows developers to connect language models with external data sources, enabling the development of diverse applications such as chatbots, question-answering systems, content generators, and more. It was launched in 2022 as an open-source project, offering Python and JavaScript libraries for developers to work with.</p><h3>Langchain Key Modules</h3><p>LangChain comprises several key modules that play essential roles in developing applications powered by language models. These modules provide specific functionalities and tools to streamline the creation of advanced language model applications. Here is a breakdown of the key modules of LangChain:</p><p><strong>Model I/O:</strong></p><p>This module facilitates interaction with various language models, managing their inputs and outputs efficiently. It includes interfaces for connecting to language models, handling their inputs and outputs effectively.</p><p><strong>Retrieval:</strong></p><p>The Retrieval module enables access to and interaction with application-specific data, crucial for dynamic data utilization also called <strong>RAG(Retrieve Augment and Generate).</strong> It allows applications to retrieve and utilize data from external sources, enhancing the contextual understanding of language models.</p><p><strong>Agents</strong>:</p><p>Agents empower applications to select appropriate tools based on high-level directives, enhancing decision-making capabilities. Agents help in determining which tools or actions should be taken by the application based on predefined directives or instructions.</p><p><strong>Chains:</strong></p><p>Chains offer pre-defined, reusable compositions that serve as building blocks for application development. These chains consist of sequences of calls that help in structuring the flow of operations within the application.</p><p><strong>Prompt:</strong></p><p>The Prompt module involves user input guiding the model to generate relevant and coherent language-based responses. Prompts play a crucial role in shaping the behavior and responses of language models, influencing the output generated by the model.</p><p>These modules collectively form a comprehensive toolkit within LangChain, providing developers with the necessary components to create sophisticated applications leveraging large language models effectively</p><p><strong>References</strong></p><p><a href="https://python.langchain.com/docs/get_started/introduction">https://python.langchain.com/docs/get_started/introduction</a></p><p>Some of the text on this page was generated using <a href="https://www.perplexity.ai/">https://www.perplexity.ai/</a></p><p>Image generated using <a href="https://stablediffusionweb.com/">https://stablediffusionweb.com/</a></p><p><strong>Disclaimer</strong>: This is a personal blog. The opinions expressed here represent my own and not those of my current or any previous employers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30a16627a486" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[No-Brainer: Observability Driven Development(ODD) with Opentelemetry and Tracetest]]></title>
            <link>https://shahrajesh2006.medium.com/its-a-no-brainer-observability-driven-development-odd-with-opentelemetry-and-tracetest-864eb260c6f3?source=rss-e2b33d4fbeb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/864eb260c6f3</guid>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[tracetest]]></category>
            <category><![CDATA[opentelem]]></category>
            <category><![CDATA[observability]]></category>
            <dc:creator><![CDATA[Rajesh Shah]]></dc:creator>
            <pubDate>Fri, 22 Dec 2023 18:39:55 GMT</pubDate>
            <atom:updated>2023-12-22T19:30:39.066Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*gIArlcCB6fmWoX16MYl6kw.png" /></figure><p>Observability-Driven Development (ODD) is an approach that emphasizes on Observability of the distributed system during development phase. Focus is to identify and record application telemetry data : <strong>metrics, traces and logs</strong>. It involves gathering detailed data at the event level to understand the system’s internal state and behavior before, during, and after development. ODD is particularly relevant in modern, highly distributed and complex software systems, where traditional methods of predicting and pinpointing issues may be inefficient.</p><h4>Opentelemetry</h4><p><a href="https://opentelemetry.io/">OpenTelemetry</a> is an open-source observability framework that provides standardized protocols and tools for collecting and routing telemetry data, including metrics, logs, and traces, to monitoring platforms for analysis. It offers vendor-agnostic APIs, software development kits (SDKs), and other tools for gathering detailed data from cloud-native environments. <a href="https://opentelemetry.io/">OpenTelemetry</a> is used to instrument, generate, collect, and export telemetry data from distributed systems, enabling IT and developer teams to analyze software performance and behavior.</p><h4>Introducing “Tracetest”</h4><p><a href="https://tracetest.io/">Tracetest</a> is an open-source testing tool that enables the testing of distributed systems with distributed traces. It allows for the building of integration and end-to-end tests in minutes using OpenTelemetry traces, without the need to write test scripts or mocks. Tracetest provides a way to assert against trace data at every point of a request transaction, offering a faster test creation and reduction in troubleshooting time. The tool is designed to work with existing OpenTelemetry traces, allowing users to test against real data and assert on the timing of trace spans, among other capabilities.</p><h4><strong>Why No-Brainer ?</strong></h4><p>Opentelemetry adoption is rapidly increasing in the enterprises. This is fantastic opportunity for teams to adopt “Observability Driven Development(ODD)”. Adopting Distributed Tracing helps to monitor distributed systems better. But now with Tracetest framework same Distributed Tracing can be used for end to end integration testing. This is a bonus of adopting ODD. This also will help save valuable engineering time to build separate integration tests.</p><h4>References</h4><p>Some of the text on this page was generated using <a href="https://www.perplexity.ai/">https://www.perplexity.ai/</a></p><p>Image generated using <a href="https://stablediffusionweb.com/">https://stablediffusionweb.com/</a></p><ul><li><a href="https://opentelemetry.io/">OpenTelemetry</a></li><li><a href="https://tracetest.io/">Tracetest | Develop and Test with OpenTelemetry</a></li></ul><p><strong>Disclaimer</strong>: This is a personal blog. The opinions expressed here represent my own and not those of my current or any previous employers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=864eb260c6f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Lakes: Understanding File Format and Table Format]]></title>
            <link>https://shahrajesh2006.medium.com/data-lakes-understanding-file-format-and-table-formats-38d7999c0ec2?source=rss-e2b33d4fbeb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/38d7999c0ec2</guid>
            <category><![CDATA[apache-avro]]></category>
            <category><![CDATA[apache-ic]]></category>
            <category><![CDATA[apache-hud]]></category>
            <category><![CDATA[apache-pa]]></category>
            <category><![CDATA[delta-lak]]></category>
            <dc:creator><![CDATA[Rajesh Shah]]></dc:creator>
            <pubDate>Sun, 06 Mar 2022 15:42:57 GMT</pubDate>
            <atom:updated>2022-03-07T12:58:17.939Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*ASOSoPdrKnNfPo649WjXxg.jpeg" /></figure><h3>Overview</h3><p>Its been about a year since my data engineering journey started. For enterprises Data Engineering is instrumental in successful execution of ML/AI use cases. A strong data engineering team is integral part of ML/AI platforms.</p><p>Enterprises have created “Data Lakes” for storing vast amount of data generated everyday. This data can be structured or unstructured for example audio, images and video. In today’s story I am going to try to explain two important concepts or design decisions behind Data Lakes: File Format and Table Format. My experience has been with structured data, so that will be the focus of this story.</p><p><strong>File Format</strong>: Data at rest in a “Data Lakes” will be stored in some object storage like “AWS S3 Storage”, “Google Cloud Storage” or “Azure Cloud Storage”. The format of object storage is called File Format. It is not recommended to store data in “json” or “xml” formats. Choice of one of the data storage file formats will be important for success of data lakes. Using a data storage format allows to define a schema for structured data. Data can be stored in columnar or row format. Data at rest in “Data Lakes” will be stored in a file format like “Avro”, “Parquet”, etc.</p><p><strong>Table Format:</strong> So once we decide on “File Format”, remember we can’t put all the data in a single file hence. we need to make a decision on the “Table Format” to organize the files in “Data Lakes”. This decision is important because that would drive how efficiently you can select/insert/update/delete data. Some the popular Table Formats are “Hive”, “Iceberg” etc. You can also think of this as Metadata Layer in Data Lakes.</p><p>Using a standard <strong>File Format</strong> and <strong>Table Format</strong> for storing data would help build BI/ML/AI applications around “Data Lake”. Lot of open source tooling is build around these standards.</p><h3>Popular File Formats</h3><p><a href="https://avro.apache.org/">Apache Avro</a></p><p><a href="https://parquet.apache.org/">Apache Parquet</a></p><p><a href="https://orc.apache.org/">Apache ORC</a></p><h3>Popular Table Formats</h3><p><a href="https://hive.apache.org/">Apache Hive</a></p><p><a href="https://iceberg.apache.org/">Apache Iceberg</a></p><p><a href="https://delta.io/">Delta Lake</a></p><p><a href="https://hudi.apache.org/">Apache Hudi</a></p><h3>Final Thoughts</h3><p>This story is quick attempt to explain two high level concepts of a Data Lakes “File Format” and “Table Format” and technologies behind them. When I started my data engineering journey, I was perplexed with so many technologies. Even though I had prior experience working with RDBMS, understanding big data technologies initially was a challenge. I think you have to step back and understand challenges of managing big data to appreciate all the standards that have been developed in this space.</p><p>This is the best time to be in data engineering especially to make ML/AI dream successful!</p><p><strong>Disclaimer</strong>: This is a personal blog. The opinions expressed here represent my own and not those of my current or any previous employers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38d7999c0ec2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started — Machine Learning]]></title>
            <link>https://codeburst.io/getting-started-machine-learning-e51770e9305c?source=rss-e2b33d4fbeb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e51770e9305c</guid>
            <category><![CDATA[pycaret]]></category>
            <category><![CDATA[getting-started]]></category>
            <category><![CDATA[google-colab]]></category>
            <category><![CDATA[jupyter-notebook]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Rajesh Shah]]></dc:creator>
            <pubDate>Sat, 12 Jun 2021 20:53:56 GMT</pubDate>
            <atom:updated>2021-06-13T12:10:21.464Z</atom:updated>
            <content:encoded><![CDATA[<h3>Kickstart your Machine Learning Journey</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QPdGdO7T2MRzsllA98HCwg.jpeg" /></figure><h3>Overview</h3><p>Saying Machine Learning is rapidly growing field, is an under statement. I am new to Machine Learning, the challenge for me was where to start in terms of getting some hands on experience with Machine Learning. There are ton of frameworks and tools available in machine learning disciplines, so it is easy to get lost if you are just getting started. Today I will try to share few open source frameworks and free tools, that I have found useful on this journey of learning. These tools helped me in learning ML concepts and get some hands on experience.</p><p>I will try to keep things simple, but remember ML is vast and a rapidly growing field, so this going to be a bumpy ride.</p><h3>Three Step Process</h3><h4>Step 1: Data Set Preparation</h4><p>You need a data set to start a Machine Learning project or experiment. This can be a structured dataset, like a consumer purchase history, credit transactions, or social media activity. It can also be a unstructured dataset, like text, images, video or audio. Quality of data is important for good Machine Learning experiment results. Some time this step can be the longest pole for enterprises embarking on Machine Learning.</p><h4>Step 2: ML Model Training, Testing and Tuning</h4><p>The 3 T’s are the most complex topic under ML that include lot of sub disciplines. This step in some scenarios may need a data scientist level skills. In this, we create a ML model which can be used to make predictions or take decisions. There are plenty of frameworks and algorithms available for training models. We are going to avoid getting into a discussion of types trainings and algorithms for this article. Let’s assume there multiple ways to train a model. After training, we have to test and tune the model to make sure it is working as expected on our new data.</p><h4>Step 3: Deploy ML Model</h4><p>Once we have final model created, we can use it for predictions on new data. In terms of model deployment, one option is to deploy as API, which will allow easy access.</p><h3>Tool — Jupyter Notebook</h3><p><strong>Jupyter Notebooks</strong> have been tool of choice for ML and data science applications. Notebooks allow to mix code snippets with static HTML content which is saved as json file with extension “*.ipynb”. You easily edit and run the Notebook in the browser. Notebook files can be saved in a GitHub repo and easily shared with other team members. Notebooks supports multiple languages like Python, Julia, R, and a variety of more. <strong>JupyterLab </strong>is the platform to run Jupyter Notebook.</p><p>You can try a Jupyter Notebook free in the browser from here <a href="https://jupyter.org/try">https://jupyter.org/try</a></p><h3>Tool — Google Colab</h3><p><strong>Google Colab</strong> is a hosted service to run Jupyter Notebooks. Colab allows anybody to write and execute arbitrary code through the browser, and is especially well suited to machine learning, data analysis and education. Colab notebooks are stored in Google Drive, or can be loaded from GitHub. Colab notebooks can be shared just as you would with Google Docs or Sheets.</p><p>You can try Google Colab free in the browser from here <a href="https://colab.research.google.com/notebooks/intro.ipynb(No">https://colab.research.google.com/notebooks/intro.ipynb</a></p><h3>Framework — PyCaret</h3><p><strong>PyCaret </strong>is open source Python framework which makes it easy to prepare data, train and tune models and deploy and serve ML models. Only with few lines of code you will be able to compare and choose the right model. Framework also includes some example prepared datasets to get started.</p><p>PyCaret team has created tutorials for different level as Jupyter Notebooks. Here is the link to the tutorial page.</p><p><a href="https://pycaret.readthedocs.io/en/latest/tutorials.html">Tutorials - pycaret 2.2.0 documentation</a></p><p>I would highly recommend trying some beginner level tutorial. You can use online “JupyterLab” or “Google Colab” environment to open and run the pycaret tutorial.</p><h3>Dataset — Kaggle</h3><p>Kaggle is Google company which has thousands of prepared quality datasets from different domains available for free download.</p><p>If you looking for a prepared dataset for your Machine Learning experiment try searching here: <a href="https://www.kaggle.com/datasets">https://www.kaggle.com/datasets</a></p><h3>Final Thoughts</h3><p>Believe me, we have not even touched the surface of Machine Learning topic. There is so much to learn and explore in this field. ML provides step toward building Artificial Intelligence(AI) where machines can take autonomous decisions. In next few years, it is certain that ML/AI is going to eat the world. So it’s right time to pick up some experience in this field.</p><p>Happy Learning!</p><p><strong>Disclaimer</strong>: This is a personal blog. The opinions expressed here represent my own and not those of my current or any previous employers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e51770e9305c" width="1" height="1" alt=""><hr><p><a href="https://codeburst.io/getting-started-machine-learning-e51770e9305c">Getting Started — Machine Learning</a> was originally published in <a href="https://codeburst.io/">codeburst</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Apache Spark is must have skill for Data Engineering?]]></title>
            <link>https://codeburst.io/why-apache-spark-is-must-have-skill-for-data-engineering-40d3e9506e2a?source=rss-e2b33d4fbeb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/40d3e9506e2a</guid>
            <category><![CDATA[apache-spark]]></category>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[mapreduce]]></category>
            <dc:creator><![CDATA[Rajesh Shah]]></dc:creator>
            <pubDate>Sun, 16 May 2021 03:22:25 GMT</pubDate>
            <atom:updated>2021-05-16T10:45:33.304Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*zBBiSACqbOOH3sSPut4EgA.jpeg" /></figure><h3>Overview</h3><p>I started learning Apache Spark about a year ago now. In this story I will try to explain why Apache Spark has become ubiquitous in enterprise big data processing both for batch and streaming workloads. There are ton of technologies in data engineering space which have come and gone. But Apache Spark stands out as one which will last for years to come. Lets get started with some history and background. Apache Spark started as a research project at the UC Berkeley AMPLab in 2009, and was open sourced in early 2010 and moved to the Apache Software Foundation in 2013. The fundamental motive and goal behind developing the Apache Spark framework was to overcome the complexity and inefficiency of Hadoop MapReduce processing.</p><h3>Understanding Spark Architecture</h3><p>Spark uses distributed processing to parallelize the data workload for faster execution with fault tolerance and resiliency.</p><p>Apache Spark Architecture is based on two main abstractions-</p><h4><strong>Resilient Distributed Datasets (RDD)</strong></h4><p>— RDDs are a read-only collection of partitioned data objects across different machines and fault-tolerant as the same exact copy can be created from scratch in case of process failure. or node failure</p><h4><strong>Directed Acyclic Graph (DAG)</strong></h4><p>— DAG is a sequence of computations(tasks) performed on data where each node is an RDD partition and edge is a transformation on top of data. The DAG abstraction helps eliminate the Hadoop MapReduce multi stage execution model and provides performance enhancements over Hadoop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*uSC7PB2IbzcALTOc2bdctw.jpeg" /></figure><h4><strong>Spark Driver</strong></h4><p>— The driver program that runs on the master node of the spark cluster schedules the job execution and negotiates with the cluster manager. Driver contains various components — DAGScheduler, TaskScheduler, etc responsible for the translation of spark user code into actual spark jobs executed on the cluster.</p><h4><strong>Cluster Manager</strong></h4><p>— An external service responsible for acquiring resources on the spark cluster and allocating them to a spark job. The system currently supports several cluster managers:</p><ul><li><strong>Standalone </strong>— a simple cluster manager included with Spark that makes it easy to set up a cluster.</li><li><strong>Apache Mesos </strong>— a general cluster manager that can also run Hadoop MapReduce and service applications.</li><li><strong>Hadoop YARN</strong> — the resource manager in Hadoop 2.</li><li><strong>Kubernetes </strong>— an open-source system for automating deployment, scaling, and management of containerized applications.</li></ul><h4><strong>Spark Executor</strong></h4><p>— Executor is a distributed agent responsible for the execution of tasks. Every spark applications has its own executor process.</p><h4><strong>Spark Task</strong></h4><p>— A unit of work that will be sent to one executor. Spark job is divided into smaller Task and run in parallel across executors to achieve performance efficiency. In the event of a task failure, its restarted to provide resiliency.</p><h3>Spark Modules</h3><h4><strong>SQL Module</strong></h4><p>— <strong>Spark SQL</strong> is Apache Spark’s module for working with structured data. Spark SQL lets you query structured data inside Spark programs using SQL. This layer provides higher level abstractions to RDD using DataFrames. DataFrames and SQL provide a common way to access a variety of data sources, including Hive, Avro, Parquet, ORC, JSON, and JDBC. You can even join data across these sources using Spark Dataset and DataFrame API.</p><h4><strong>Streaming</strong></h4><p>— <strong>Spark Streaming</strong> makes it easy to build scalable fault-tolerant streaming applications. By running on Spark, Spark Streaming lets you reuse the same code for batch processing, join streams against historical data, or run ad-hoc queries on stream state. New <strong>Spark Structured Streaming</strong> is suitable for low latency , single digit milli-seconds latency enterprise use case.</p><h4><strong>MLlib</strong></h4><p>— <strong>MLlib</strong> is Apache Spark’s scalable machine learning library. MLlib contains many algorithms and utilities. Spark excels at iterative computation, enabling MLlib to run fast. This is module has been renamed to <strong>ML</strong>, we should expect lot of new features and enhancement to this module in future.</p><h4><strong>GraphX</strong></h4><p>— <strong>GraphX</strong> is Apache Spark’s API for graphs and graph-parallel computation. GraphX unifies ETL, exploratory analysis, and iterative graph computation within a single system.</p><h3><strong>So Why Apache Spark?</strong></h3><h4><strong>Speed</strong></h4><p>Apache Spark achieves high performance for both batch and streaming data, using a state-of-the-art DAG scheduler, a query optimizer, and a physical execution engine.</p><h4><strong>Ease of Use</strong></h4><p>Write applications quickly in Java, Scala, Python, R, and SQL. Spark offers over 80 high-level operators that make it easy to build parallel apps. And you can use it <em>interactively</em> from the Scala, Python, R, and SQL shells.</p><h4><strong>Generality</strong></h4><p>Combine SQL, streaming, and complex analytics. Spark powers a stack of libraries including SQL and DataFrames, MLlib for machine learning, GraphX, and Spark Streaming. You can combine these libraries seamlessly in the same application</p><h4><strong>Runs Everywhere</strong></h4><p>Spark runs on Hadoop, Apache Mesos, Kubernetes, standalone, or in the cloud. It can access diverse data sources.</p><h3>Final Thoughts</h3><p>Its been a decade since Apache Spark Framework was open sourced. In this time, framework has seen wide enterprise adoption and continues to grow. Very rarely a framework survives 10 years in the fast moving technology world. Company DataBricks is the key force behind the success of Apache Spark. Team behind this framework continues to add new features like low latency structured streaming and ML/AI capabilities. It provides unified capabilities to build data pipelines. With no real competition in sight, looks like Apache Spark is going to be a framework of choice for building batch and streaming big data pipeline for the foreseeable future.</p><p>Go build data pipelines using <a href="https://spark.apache.org/">Apache Spark</a>!</p><p><strong>Disclaimer</strong>: This is a personal blog. The opinions expressed here represent my own and not those of my current or any previous employers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40d3e9506e2a" width="1" height="1" alt=""><hr><p><a href="https://codeburst.io/why-apache-spark-is-must-have-skill-for-data-engineering-40d3e9506e2a">Why Apache Spark is must have skill for Data Engineering?</a> was originally published in <a href="https://codeburst.io/">codeburst</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Space Travel Sci-Fi Movies]]></title>
            <link>https://shahrajesh2006.medium.com/space-travel-sci-fi-movies-66cfa8ecd8d7?source=rss-e2b33d4fbeb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/66cfa8ecd8d7</guid>
            <category><![CDATA[space-travel]]></category>
            <category><![CDATA[movie-review]]></category>
            <dc:creator><![CDATA[Rajesh Shah]]></dc:creator>
            <pubDate>Fri, 25 Dec 2020 15:24:52 GMT</pubDate>
            <atom:updated>2021-05-16T10:47:36.127Z</atom:updated>
            <content:encoded><![CDATA[<h3>Space Travel Sci-Fi Movies -Top Picks</h3><p>Below is my pick for space travel Sci-Fi movies. These are the movies by the top Hollywood directors and actors in the last decade. VFX in these movies is fun to watch and story telling and performances is extra ordinary. So grab some pop corn and enjoy the show!</p><h3>Interstellar (2014)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BVkT6c-rxQXAEX8gCAiC2Q.jpeg" /></figure><p>This Christopher Nolan movie, is my top pick for space travel science fiction category. The movie intelligently bends the definition of time with regard to space travel. Stunning VFX , musical score and sound effects makes this movie delight to watch. Strong performance by <strong>Matthew McConaughey, Anne Hathaway, Jessica Chastain and Micheal Cane</strong> — this movie is must watch.</p><h3>The Martian (2015)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*vo1U6m8lDyZJLg8U6ccagw.jpeg" /></figure><p>This feel good movie by Ridley Scott is one of the realistic space travel movie which builds on human desire to colonize Mars. Matt Damon is at his best performance surviving against all odds. VFX and story telling will keep you on the edge of your seat.</p><h3>Gravity (2013)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GnV5W16eqEx3HAzlx18btg.jpeg" /></figure><p>This movie builds on a space accident and human spirit of survival. Directed by Alfonso Cuarón with Sandra Bullock and George Clooney playing main characters. I like how the story is developed around real human space achievements like “Hubble Telescope” , “International Space Station” and others.</p><h3>Passengers (2016)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*ujWZ6jGqRVGZKcLEbRzsmg.jpeg" /></figure><p>This movie is mix of space travel sci-fi combined with romance and relationship. Directed by Morten Tyldum stars Jennifer Lawerence and Chris Pratt as two passenger on 120-year voyage to colonize a remote galaxy. VFX for this movie is enjoyable.</p><h3>Ad Astra (2019)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M8_1JDjKAhsLXKHyc2i8Pw.jpeg" /></figure><p>This Brad Pitt space travel thriller explore his relation ship with missing father(Tommy Lee Jones). Directed by James Gray, this movie takes you into vastness and surprises of the space travel.</p><h3>The Midnight Sky (2020)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*7xxzB7Jy2w_Z1Rqh2uq3Dw.png" /></figure><p>This is a new release produced and directed by George Clooney, based on the 2016 novel <em>Good Morning, Midnight</em> by Lily Brooks-Dalton. It stars Clooney as a scientist who must venture through the Arctic Circle with a young girl to warn off a returning spaceship following a global catastrophe.</p><p>Happy Holidays!</p><p><strong>Disclaimer</strong>: This is a personal blog. The opinions expressed here represent my own and not those of my current or any previous employers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66cfa8ecd8d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Observability for Cloud Native Applications]]></title>
            <link>https://codeburst.io/observability-for-cloud-native-applications-cd7cf866514e?source=rss-e2b33d4fbeb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd7cf866514e</guid>
            <category><![CDATA[observability]]></category>
            <category><![CDATA[jaegertracing]]></category>
            <category><![CDATA[opentelemetry]]></category>
            <category><![CDATA[prometheus]]></category>
            <category><![CDATA[fluentd]]></category>
            <dc:creator><![CDATA[Rajesh Shah]]></dc:creator>
            <pubDate>Mon, 30 Nov 2020 01:20:47 GMT</pubDate>
            <atom:updated>2021-02-16T00:11:48.442Z</atom:updated>
            <content:encoded><![CDATA[<h3>Observability for Cloud-Native Applications</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*002O9n3d_0QL6r8OQYa5LQ.png" /></figure><h3>Introduction</h3><p>Modern Cloud Native applications are complex by nature because they are distributed and have multiple dependencies. This results in multiple failure points during the request processing life cycle. Even a few milliseconds of high latency or downtime can result in a huge business impact. Having comprehensive observability(monitoring) for the application can help to quickly identify bottlenecks and take action. It is important to plan for application Observability during the design phase. In this article let&#39;s go over some of the key open-source projects under <a href="https://www.cncf.io/">CNCF </a>umbrella to help build Observability for Cloud Native applications.</p><h3>Data Sources for Application Observability</h3><p>Before we dive into Observability projects and tools, lets breakdown Application Observability data sources into three categories.</p><p><strong>Metrics —</strong></p><p>This data represents a variable changing over a period of time also called as timeseries data. For example number of requests, response time, errors, CPU usage, memory usage over the period of time. Any spikes in this variable are a good way to identify outlier scenarios.</p><p><strong>Traces —</strong></p><p>This data tracks the progression of a single application request, called as trace.Each unit of work in a trace is called a span; a trace is a tree of spans Traces provides insight into the processing time and help identify performance bottlenecks of the application. Distributed Tracing can be used to monitor multiple services involved in the request life cycle.</p><p><strong>Logs —</strong></p><p>This is data generated by application code to emit certain failure and success conditions. This data can be structured or unstructured. This data can help to troubleshoot and monitor applications along with metrics and traces.</p><h3><strong>Prometheus</strong></h3><p><a href="https://prometheus.io/">Prometheus </a>was first created at SoundCloud in 2012 and was contributed to CNCF in May 2016. Since its inception in 2012, Prometheus has become one of the top open-source monitoring tools of choice for enterprises building modern cloud-native applications. The systems and service monitoring framework collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true. Each Prometheus Server is stand-alone and does not depend on other services, such as network storage or remote services. The server was designed to be the last system standing as a reliable tool when everything else is burning. Prometheus also has a separate module called “Alert Manager” that is used to customize and call alerts within the application. Finally, Prometheus provides a powerful, declarative, query language called PromQL.</p><p><a href="https://prometheus.io/">Prometheus - Monitoring system &amp; time series database</a></p><h3><strong>Jaegar</strong></h3><p><a href="https://www.jaegertracing.io/">Jaeger</a> is an open-source, end-to-end distributed tracing platform built to help companies of all sizes monitor and troubleshoot their cloud-native architectures. Jaeger was created in 2015 by Uber, and is now integrated into thousands of microservices and recording thousands of traces every second across the company. Jaeger was accepted as a CNCF Incubation project in September 2017 and became a graduate project in October 2019. It has the following features:</p><ul><li>Distributed context propagation</li><li>Distributed transaction monitoring</li><li>Root cause analysis</li><li>Service dependency analysis</li><li>Performance / latency optimization</li><li>Multiple storage backends: Cassandra, Elasticsearch, memory.</li></ul><p><a href="https://www.jaegertracing.io/">Jaeger: open source, distributed tracing platform</a></p><h3><strong>OpenTelemetry</strong></h3><p><a href="https://opentelemetry.io/">OpenTelemetry </a>provides community-contributed instrumentation that standardizes telemetry data collection from your applications and services, without vendor lock-in. Open Telemetry was created by merging two CNCF projects: OpenTracing and OpenCensus because of synergies and similar goals. OpenTelemetry is currently incubating CNCF projects. OpenTelemetry provides a single set of APIs, SDKs, and tools for the collection of telemetry data from cloud-native software — telemetry such as metrics, traces, and logs. The OpenTelemetry Collector offers a vendor-agnostic implementation on how to receive, process, and export telemetry data. It removes the need to run, operate, and maintain multiple agents/collectors in order to support open-source observability data formats (e.g. Jaeger, Prometheus, etc.) sending to one or more open-source or commercial back-ends. The Collector is the default location instrumentation libraries export telemetry data.</p><p><a href="https://opentelemetry.io/">OpenTelemetry</a></p><h3>Fluentd</h3><p><a href="https://www.fluentd.org/">Fluentd </a>was created in 2011 as an open-source data collector for building a Unified Logging Layer, which unifies the data collection and consumption for better use and understanding of data. In November 2016, Fluentd was accepted as CNCF’s sixth graduated project. Fluentd’s 500+ plugins connect it to many data <a href="https://www.fluentd.org/datasources">sources</a> and <a href="https://www.fluentd.org/dataoutputs">outputs</a> while keeping its core simple. Fluentd solves many of the problems related to logging in distributed systems. It can handle everything from the networking hardware to the operating system and orchestrator events, all the way through to application logic.</p><p><a href="https://www.fluentd.org/">Fluentd | Open Source Data Collector</a></p><h3>Final Thoughts</h3><p>Above projects and tooling under the CNCF umbrella is a huge leap to fill up the gap in building open source observability solutions for today&#39;s complex cloud-native applications. Each of the above projects has tremendous adoption and community support and vendor participation. These solutions are designed to avoid vendor lock-in and help wider adoption among small to large enterprises.</p><p>My goal in this article was to highlight some of the exciting work going on in this space. Each of these tools needs more deep dive, which is beyond the scope of this article. With the availability of extensive open source tooling, this is certainly an exciting time to build cloud-native applications.</p><p><strong>Disclaimer</strong>: This is a personal blog. The opinions expressed here represent my own and not those of my current or any previous employers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd7cf866514e" width="1" height="1" alt=""><hr><p><a href="https://codeburst.io/observability-for-cloud-native-applications-cd7cf866514e">Observability for Cloud Native Applications</a> was originally published in <a href="https://codeburst.io/">codeburst</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rise of Containers]]></title>
            <link>https://codeburst.io/rise-of-containers-178a90f9336d?source=rss-e2b33d4fbeb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/178a90f9336d</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[ejb]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[j2ee]]></category>
            <dc:creator><![CDATA[Rajesh Shah]]></dc:creator>
            <pubDate>Sun, 13 Sep 2020 16:37:08 GMT</pubDate>
            <atom:updated>2021-02-16T00:14:03.745Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Rise of Containers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*pF-KKkiPI3wQuiWYuiH1wg.png" /></figure><h3>Introduction</h3><p>If you are an engineer in IT who started working in the last 5 years in the world of container technologies like <strong>Docker </strong>and <strong>Kubernetes, </strong>this<strong> </strong>is something you have grown up with. Using Docker containers to solve enterprise workloads has become a part of day to day work, no questions asked. It is an interesting topic to analyze how we got here. When I started my engineering career in the early 2000s (anyone remember the dotcom bubble?) one of the key technologies for creating scalable server-side components was <strong>Enterprise Java Bean(EJB)</strong> part of <strong>Java 2 Enterprise Edition(J2EE)</strong> specification. This specification was created and promoted by Sun Micro System (Now part of Oracle). In the 2000s an engineer with EJBs and other J2EE skills was in high demand. In this story, we will start with learning a little bit about EJBs/J2EE specification and how quickly technology changed and moved forward to where we are now.</p><h3>A New Hope</h3><p>The goal of EJB specification was to create reusable server-side Java Components. “Build-Once-Run-Anywhere” Components would implement predefined methods or hooks which allowed them to be deployed in any EJB Compliant Server. Clients would invoke components using Java Remote Method Invocation(RMI) protocol. Some of the key services provided by EJB Containers are listed below-</p><p><strong>EJB Cache/Pooling</strong> — This will allow us to specify how many components are created during startup and ready to process client requests.</p><p><strong>EJB Scaling</strong> — This will make sure components are scaled up if the number of client requests increases.</p><p><strong>Life Cycle Managemen</strong>t — If a component crashes due to some error the container would recreate. When a component is getting taken out of the service container would call destroy method on the container</p><p><strong>Transaction Management</strong> — This allowed us to define the transaction boundary on EJB methods. Multiple EJBs can participate in a distributed transaction.</p><p>This ushered in a new era of building reusable server-side components. EJB along with other <strong>J2EE </strong>specifications became a new gold standard for building enterprise applications.</p><h3>The Application Server Menace</h3><p>During the early 2000s, every software company was building <strong>J2EE </strong>specification compliant application servers. Below is the list of top J2EE Application Server vendors:</p><p><strong>BEA Weblogic Application Server (Now part of Oracle)</strong></p><p><strong>JBoss Application Server (Open Source Option)</strong></p><p><strong>IBM Web Sphere Application Server</strong></p><p>These application servers provided a platform for building high-performance scalable enterprise applications. Other key J2EE specifications include Servlet API, Java Database Connectivity (JDBC) API, Java Message Service (JMS) API, and Java Connector Architecture (JCA) to mention a few. To differentiate the product offerings, vendors started bundling special features and tools with application servers. In the next 10 years till around 2010, we saw tremendous growth and adoption of the application servers. Every enterprise was running some form of application server platform.</p><p>Soon it became clear that the dream of having reusable server components in the marketplace which can run anywhere is not going to happen. Few of the reasons I can think of:</p><p>— J2EE Specification was built around Java and so other programming language workloads could not participate, which drastically reduced the footprint of reusable components</p><p>— Application Servers became a complex platform to manage for enterprises, resulting in valuable engineering time invested in keeping the platform operational.</p><p>— Application server vendor built their own extensions and features on J2EE specs reducing the portability of components.</p><h3>The Force Awakens</h3><p>The industry was looking for something more advanced than the ability to package and run components only in a J2EE application server. Specifically, something which can support multiple programming language and hardware platforms, something which is more open and not controlled by few Application Server vendors.</p><p>When the <strong>Docker </strong>platform launched in 2013, it met the needs of the industry that I outlined above. Docker defined specifications to package and run applications written in any programming language on a virtual machine with a Docker engine. This is a new level of abstraction which J2EE application server is not able to provide.</p><p>Since 2013 Docker has seen rapid adoption in the enterprise. Creating Docker images for enterprise workloads has become new normal. <a href="https://hub.docker.com/">Docker Hub </a>has become the official repository for publishing and downloading Docker Images. The dream of having a reusable server component has finally become a reality.</p><p>In 2014 Google Open Sourced <strong>Kubernetes </strong>— a Container Orchestration framework. Kubernetes brings features like load balancing, auto-scaling, container health management, rolling updates, etc. to Docker containers. This just was the right timing for two technologies: <strong>Docker+Kubernetes, </strong>which caused Enterprise building Cloud Native apps to immediately latch on to these two technologies.</p><h3>Final Thoughts</h3><p>Since 2013 we have seen enterprises adopt new container technologies like <strong>Docker </strong>and <strong>Kubernetes </strong>as a platform for greenfield projects. Most of the enterprises are moving away from J2EE Application servers. Building containerized and serverless workloads seems to be the way to go for the foreseeable future. It is still worth reminding ourselves that nothing in technology is permanent.</p><p>May the force be with you!</p><p><strong>Disclaimer</strong>: This is a personal blog. The opinions expressed here represent my own and not those of my current or any previous employers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=178a90f9336d" width="1" height="1" alt=""><hr><p><a href="https://codeburst.io/rise-of-containers-178a90f9336d">Rise of Containers</a> was originally published in <a href="https://codeburst.io/">codeburst</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Service Mesh Interface(SMI)]]></title>
            <link>https://codeburst.io/service-mesh-interface-smi-b0a3aa1c1b69?source=rss-e2b33d4fbeb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0a3aa1c1b69</guid>
            <category><![CDATA[istio]]></category>
            <category><![CDATA[cloud-native]]></category>
            <category><![CDATA[kubs]]></category>
            <category><![CDATA[service-mesh]]></category>
            <category><![CDATA[linkerd]]></category>
            <dc:creator><![CDATA[Rajesh Shah]]></dc:creator>
            <pubDate>Sun, 06 Sep 2020 15:27:05 GMT</pubDate>
            <atom:updated>2021-02-16T00:15:27.831Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*x_su4p9lqgDXWzRquZ3bHw.png" /></figure><h3>Introduction</h3><p>With huge enterprise interest in <strong>Service Mesh</strong> technologies, it&#39;s no surprise industry has seen exponential growth in the new offerings in this area. Enterprise has to choose between available Service Mesh offerings, which can sometimes result in vendor lock-in. So it’s time to have a Service Mesh Interface(SMI) specification which will help to standardize, build portability and interoperability between different vendor offerings. Keeping this in mind Microsoft and other leading Cloud Providers introduced<a href="https://smi-spec.io/"> <strong>Service Mesh Interface(SMI)</strong></a><strong> </strong>specification for Kubernetes in 2019 KubeCon (CNCF Cloud Native Conference). Quickly SMI has been adopted as CNCF sandbox project. In this story I will highlight the goal of SMI, the main components(APIs), and key players and technologies behind it. If you are new to Service Mesh, highly recommend you read my story on <a href="https://medium.com/@shahrajesh2006/from-service-mess-to-service-mesh-4f025bd72db1">Service Mesh here</a>.</p><h3>Service Mesh Interface(SMI) Goals:</h3><ul><li>Provide a common, portable set of service mesh APIs which a Kubernetes user can use in a provider agnostic manner.</li><li>Provide a standard interface for service meshes on Kubernetes</li><li>A basic feature set for the most common service mesh use cases</li><li>Flexibility to support new service mesh capabilities over time</li><li>Space for the ecosystem to innovate with service mesh technology</li></ul><h3>SMI Components</h3><p>The SMI is specified as a collection of Kubernetes APIs via Kubernetes Custom Resource Definitions (CRD) and Extension API Servers. These APIs can be installed onto any Kubernetes cluster and manipulated using standard tools. In its current version Specification includes the following four APIs:</p><p><strong>Traffic Access Control —</strong></p><p>The <a href="https://github.com/servicemeshinterface/smi-spec/blob/master/apis/traffic-access/v1alpha2/traffic-access.md">Traffic Access Control</a> API describes a resource to configure access to specific pods and routes based on the identity of a client for locking down applications to only allowed users and services.</p><p><strong>Traffic Split —</strong></p><p>The <a href="https://github.com/servicemeshinterface/smi-spec/blob/master/apis/traffic-split/v1alpha3/traffic-split.md">Traffic Split</a> API describes a resource to incrementally direct percentages of traffic between various services to assist in building out canary rollouts.</p><p><strong>Traffic Specs —</strong></p><p>The <a href="https://github.com/servicemeshinterface/smi-spec/blob/master/apis/traffic-specs/v1alpha3/traffic-specs.md">Traffic Specs</a> API describes a set of resources to define how traffic looks on a per-protocol basis. These resources work in concert with access control and other types of policy to manage traffic at a protocol level.</p><p><strong>Traffic Metrics —</strong></p><p>The <a href="https://github.com/servicemeshinterface/smi-spec/blob/master/apis/traffic-metrics/v1alpha1/traffic-metrics.md">Traffic Metrics</a> API exposes common traffic metrics for use by tools such as dashboards and auto scalers.</p><h3>SMI Key Players</h3><p>Below is a list of key Service Mesh offerings that have included support for SMI specification.</p><ul><li><strong>Consul Connect*</strong>: service segmentation (<a href="https://consul.io/docs/connect">consul.io/docs/connect</a>)</li><li><strong>Flagger</strong>: progressive delivery operator (<a href="https://flagger.app/">flagger.app</a>)</li><li><strong>Istio</strong>*: connect, secure, control, observe (<a href="https://github.com/servicemeshinterface/smi-adapter-istio">servicemeshinterface/smi-adapter-istio</a>)</li><li><strong>Linkerd</strong>: ultralight service mesh (<a href="https://linkerd.io/">linkerd.io</a>)</li><li><strong>Maesh</strong>: simpler service mesh (<a href="https://mae.sh/">mae.sh</a>)</li><li><strong>Meshery</strong>: the service mesh management plane (<a href="https://layer5.io/meshery">layer5.io/meshery</a>)</li><li><strong>Rio</strong>: application deployment engine (<a href="https://rio.io/">rio.io</a>)</li><li><strong>Service Mesh Hub</strong>: unified dashboard (<a href="https://solo.io/products/service-mesh-hub">solo.io/products/service-mesh-hub</a>)</li><li><strong>Open Service Mesh</strong>: lightweight and extensible cloud-native service mesh (<a href="https://openservicemesh.io/">openservicemesh.io</a>)</li></ul><h3>Final Thoughts</h3><p>The growth and success of a new technology are about developing standards that help widen adoption and participation. Having standards and specifications helps build healthy competition and more choices for the Enterprises. This will also lead to innovation and new features that can be leveraged across different vendor offerings. Service Mesh is a growing area and having a standard specification is the right move for this technology. This is still a new specification on the path to playing an important role in the service mesh industry.</p><p><strong>Disclaimer</strong>: This is a personal blog. The opinions expressed here represent my own and not those of my current or any previous employers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0a3aa1c1b69" width="1" height="1" alt=""><hr><p><a href="https://codeburst.io/service-mesh-interface-smi-b0a3aa1c1b69">Service Mesh Interface(SMI)</a> was originally published in <a href="https://codeburst.io/">codeburst</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>