<?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 Bodo Admin on Medium]]></title>
        <description><![CDATA[Stories by Bodo Admin on Medium]]></description>
        <link>https://medium.com/@bodoadmin?source=rss-ddc2d2d2a0ad------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lp1ZdIvphYfxUs1ogcSaNA.png</url>
            <title>Stories by Bodo Admin on Medium</title>
            <link>https://medium.com/@bodoadmin?source=rss-ddc2d2d2a0ad------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 03:30:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bodoadmin/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[Benchmarking Bodo (Part I): Monte Carlo Pi]]></title>
            <link>https://medium.com/bodo-ai/benchmarking-bodo-part-i-monte-carlo-pi-21608345b611?source=rss-ddc2d2d2a0ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/21608345b611</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[numpy]]></category>
            <category><![CDATA[monte-carlo]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Bodo Admin]]></dc:creator>
            <pubDate>Sun, 14 Mar 2021 22:42:30 GMT</pubDate>
            <atom:updated>2021-03-15T19:09:00.749Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Guest Post by </strong>Ali Reza Farhidzadeh (Wipro)</h4><p><strong>Motivation</strong></p><p>Bodo is a new scalable analytics platform that offers automatic parallelization and optimization of Python analytics code with the addition of a simple decorator. I wanted to try Bodo and see how it performs on popular data analytics example benchmarks. The Monte Carlo approximation of Pi happens to be a popular example as well as one of the first examples demonstrating the Spark <a href="https://spark.apache.org/docs/latest/api/java/org/apache/spark/rdd/RDD.html">RDD API</a>. Trying out Bodo on this benchmark on the occasion of Pi Day seemed suitable, and that is what this blog post is about.</p><p><strong>Monte Carlo Pi Example Code</strong></p><p>The Monte Carlo Pi approximation basically considers a square with side = 1, and a circle inscribed within this square. The probability that a random point in the square is also in the circle is π/4. This probability can be estimated by selecting a large number of random points and then dividing the number of points within the circle by the total number of points.</p><p>Here’s a simple Numpy program, which implements this approximation:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/999a8379252402a8bedeb81fd79fb42e/href">https://medium.com/media/999a8379252402a8bedeb81fd79fb42e/href</a></iframe><p><strong>Benchmarking Monte Carlo Pi</strong></p><p>I saved the Numpy code shown above in a file called <em>pi.py</em>, and ran it on the terminal. There’s no special API required in Bodo to parallelize this function, unlike <a href="https://spark.apache.org/examples.html">Spark</a>. All I need to do is add a <em>@bodo.jit</em> decorator, and Bodo parallelizes and optimizes this function automatically. Figure 3 shows CPU utilization of the Numpy program using <a href="https://hisham.hm/htop/"><em>htop</em></a>. It didn’t look bad to me, but that was before I added the <em>@bodo.jit</em> decorator. Now, this same code could run on multiple processors using <em>mpiexec</em>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/258038fec05d88ae77b0a432ec23f82f/href">https://medium.com/media/258038fec05d88ae77b0a432ec23f82f/href</a></iframe><p>As we can see in Figure 3, now 8 cores are busy up to 100%. I tested this code on an AWS EC2 c5n.4xlarge instance with 8 physical cores running 2 threads per core, making 16 vCPUs. I also repeated this test on a MacBook Pro with 6 physical cores running 2 threads per core (12 CPUs). Let’s see if Bodo improved the run time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B0bzdj0FeNO4VwlK7AuSIw.png" /><figcaption><em>Figure 3. CPU utilization in Monte Carlo pi calculation on AWS EC2 c5n.4xlarge (top) NumPy (bottom) Bodo with 8 cores, i.e., mpiexec -n 8 python pi.py</em></figcaption></figure><p>Figure 4 shows the run times for both the MacBook Pro and the AWS c5n.4xlarge instance. As shown, running with 2 cores cuts the run time in half, 3 cores bring it down to a third, and with 4 cores it takes about one-quarter of the original run time. My MacBook Pro was a bit slower because it was running other processes as well, but the EC2 instance had a fresh Linux image with nothing but Python and Bodo installed.</p><p>Note that Bodo is efficient, and it runs directly on physical cores; it doesn’t need physical multithreading to be more efficient. Consequently, if you look at the MacBook Pro run times in Figure 4, the run time for 6, 7, and 8 cores are the same.</p><figure><img alt="Plot showing the performance of improvement of Bodo vs Numpy" src="https://cdn-images-1.medium.com/max/391/1*kiUtTGG8YPm999fqg736dw.png" /><figcaption>Figure 4. Run time comparison for Monte Carlo calculation of Pi, Numpy versus parallelized Numpy through Bodo</figcaption></figure><p><strong>Conclusion</strong></p><p>I think Bodo is a breakthrough in the field of Data Science and Data Engineering. Most developers in these fields use Python, but they struggle to scale their applications to process big data. Having to rewrite the Python application code to Spark to enable it to scale adds a layer of difficulty that often slows down the data science development process. With Bodo, Python code no longer needs to be converted to Scala or PySpark. It can stay as is or with just minor refactoring for type stability. My amazing experience with this benchmark made me want to put Bodo to the test with some more advanced benchmarks, and I will share those in future blog posts.</p><p>If you want to try out Bodo yourself, there’s a Bodo<a href="https://docs.bodo.ai/latest/source/install.html"> Community Edition</a> you can try for free on up to 4 cores, or visit <a href="https://bodo.ai/">bodo.ai</a> to learn more.</p><p><em>About the Author: Ali Reza Farhidzadeh is an Enterprise Artificial Intelligence Architect at Wipro Limited with 12 years of experience in data science, machine learning, business intelligence, and numerical computations. He is also a Former Professor of Probability and Statistics at the University of Buffalo.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21608345b611" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bodo-ai/benchmarking-bodo-part-i-monte-carlo-pi-21608345b611">Benchmarking Bodo (Part I): Monte Carlo Pi</a> was originally published in <a href="https://medium.com/bodo-ai">bodo.ai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bodo is now on AWS Marketplace]]></title>
            <link>https://medium.com/bodo-ai/bodo-is-now-on-aws-marketplace-915927fa1fef?source=rss-ddc2d2d2a0ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/915927fa1fef</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[bodo]]></category>
            <dc:creator><![CDATA[Bodo Admin]]></dc:creator>
            <pubDate>Tue, 12 Jan 2021 22:25:32 GMT</pubDate>
            <atom:updated>2021-08-20T17:02:29.776Z</atom:updated>
            <content:encoded><![CDATA[<p>We are excited to share that Bodo is available on the AWS marketplace, and you can easily subscribe and start using our cloud platform on AWS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*wLjwi4CdK0Np5kYl0AHsOw.png" /></figure><p>AWS Marketplace is a curated digital catalog customers can use to find, buy, deploy, and manage third-party software, data, and services that customers need to build solutions and run their businesses. AWS Marketplace also simplifies software licensing and procurement with flexible pricing options and multiple deployment methods (<a href="https://docs.aws.amazon.com/marketplace/latest/userguide/what-is-marketplace.html">source</a>).</p><p><strong>What can you look forward to with Bodo on AWS?</strong></p><p>The infrastructure agnostic design of Bodo makes it convenient to use Bodo on any compute platform, both cloud and on-premises. Using Bodo on AWS comes with additional benefits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/64/0*Ddg3U0xP0DLgGbMu" /></figure><p><em>Ease of Use</em>: You can create clusters and attach Jupyter notebooks, or schedule jobs to run your Python/Pandas code with a click of a button on the Bodo Platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/64/0*1ovvLtMVwPotuENo" /></figure><p><em>Privacy and Security</em><strong>: </strong>Resources are created in your own AWS account, giving you complete privacy and control of your data and resources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/64/0*nrlFH_2tRLavVhfV" /></figure><p><em>Resource Management</em><strong>: </strong>Bodo seamlessly manages AWS resources for you, so you can focus on your data science application instead of maintaining the compute infrastructure.</p><p><strong>How it works</strong></p><p>The Bodo platform launches all resources in your AWS account. The compute clusters, the Jupyter notebooks, and the data (stored in S3 or any external source) are all owned and fully controlled by you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DeQAX8n2CLtIAoWP" /></figure><p><strong>Ready to try Bodo?</strong></p><p>You can subscribe to Bodo on <a href="https://aws.amazon.com/marketplace/pp/B08NY29SMQ">AWS</a>. If you want to learn about Bodo, watch our <a href="https://www.youtube.com/watch?v=DjWqLgBpN0U&amp;feature=youtu.be">getting started tutorial</a> on YouTube. Our docs are also publicly available <a href="http://docs.bodo.ai/">here</a>. You can also visit our <a href="http://bodo.ai/">website</a> and <a href="http://bodo.ai/contact">contact us</a> to schedule a demo with our engineers. To stay up-to-date on Bodo news and updates, sign up for our newsletter <a href="https://bodo.us8.list-manage.com/subscribe/post?u=106b28e0b608777a223dfceec&amp;amp;id=4ea6695a78">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=915927fa1fef" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bodo-ai/bodo-is-now-on-aws-marketplace-915927fa1fef">Bodo is now on AWS Marketplace</a> was originally published in <a href="https://medium.com/bodo-ai">bodo.ai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>