<?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 Connor Lund on Medium]]></title>
        <description><![CDATA[Stories by Connor Lund on Medium]]></description>
        <link>https://medium.com/@daniel.doody?source=rss-c2b96f6d3b6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6qwWt6cqe1SldwMlezV3SQ.png</url>
            <title>Stories by Connor Lund on Medium</title>
            <link>https://medium.com/@daniel.doody?source=rss-c2b96f6d3b6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 19:54:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@daniel.doody/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How Mondeu’s Wine Barrel Men’s Wedding Bands Stole My Heart]]></title>
            <link>https://medium.com/@daniel.doody/how-mondeus-wine-barrel-men-s-wedding-bands-stole-my-heart-e15991487f20?source=rss-c2b96f6d3b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/e15991487f20</guid>
            <category><![CDATA[menwear]]></category>
            <category><![CDATA[weddings]]></category>
            <category><![CDATA[mens-fashion]]></category>
            <category><![CDATA[wedding-rings]]></category>
            <category><![CDATA[engagement-ring]]></category>
            <dc:creator><![CDATA[Connor Lund]]></dc:creator>
            <pubDate>Fri, 23 May 2025 18:05:13 GMT</pubDate>
            <atom:updated>2025-05-23T18:13:53.746Z</atom:updated>
            <content:encoded><![CDATA[<p>I wasn’t looking for a new wedding band. Mine’s been on my finger for years, a simple gold loop that’s served me well through vows, moves, and milestones. But then I caught up with my buddy Jake over coffee, and his ring — a sleek, silver-toned band with a subtle wood grain inlay — stopped me mid-sip. “What’s that?” I asked, pointing. He grinned and told me about Mondeu, a brand I’d never heard of. By the time I got home, I was deep down the rabbit hole of their website, and let me tell you, this company is something special. Mondeu’s story, their craftsmanship, and their downright <em>cool</em> approach to wedding bands have me hooked — and now I’m seriously considering a refresh for my own ring.</p><p>It all started with Jake’s band. It was <a href="https://mondeu.com/products/the-modernist-in-silver">this one</a>. He’s not a jewelry guy, so I was surprised to see him sporting something so distinctive. The ring was from Mondeu and made with an inlay of wine barrel wood sourced from a vineyard in Spain I believe. The wood had this rich, almost alive texture, like it carried the soul of the vineyard in its grain. Jake couldn’t stop talking about it — how it felt substantial but not heavy, how the craftsmanship was next-level, and how every time he looked at it, he felt connected to the history of the wine barrel it came from. I had to know more.</p><p>Mondeu, I learned, is a brand built on passion and ingenuity. They don’t just make rings; they craft stories. The wood inlays in their wedding bands come from reclaimed wine barrels, sourced from unique vineyards in regions like Bordeaux and Provence. These aren’t just any barrels — they’ve held some of the world’s finest wines, absorbing years of flavor and character before being transformed into jewelry. The process is meticulous: Mondeu’s artisans select the barrels for their quality and history, then pair the wood with premium materials like tungsten carbide, carbon fiber, or copper-tungsten alloys to create rings that are as durable as they are beautiful. The result is a band that’s not just a symbol of commitment but a conversation piece, a slice of heritage you carry with you.</p><p>What struck me most was the thoughtfulness behind it all. Mondeu’s founder, Daniel Mondeu, started the company with a vision to make wedding bands that stand out in a sea of sameness. On their website, they talk about how marriage taught them the value of commitment — not just to a partner, but to quality and individuality. Every ring is handcrafted with an almost obsessive attention to detail, from the free engraving they offer to the aircraft-grade protectant that keeps the wood pristine for a lifetime. And speaking of lifetime, their warranty is no joke — two free replacements if anything goes wrong, no questions asked. That kind of confidence in your product? It’s rare.</p><p>I kept digging into their story, and the wine barrel sourcing process blew me away. These barrels aren’t mass-produced; they’re handpicked from small, storied vineyards where winemakers have poured their hearts into their craft. Each barrel has a past — maybe it held a velvety Merlot or a crisp Sauvignon Blanc — and Mondeu turns that history into something you can wear. It’s like wearing a piece of a vineyard’s legacy, a reminder of sun-soaked hills and the art of winemaking. They estimate a single Bordeaux barrel can yield up to 1,500 inlays for their men’s rings, each one unique in its grain and hue. That’s not just jewelry; that’s alchemy.</p><p>Jake’s ring was the Modernist Silver, a sharp, minimalist design with a polished tungsten carbide body and a Bordeaux wine barrel inlay. It’s masculine without being bulky, sophisticated without being flashy. He showed me how the wood caught the light, revealing subtle streaks of amber and chestnut. “It’s like a fine wine,” he said, laughing. “Gets better with age.” I could see why he was so proud of it. The ring felt personal, like it was made just for him. Mondeu’s customization options — engraving, metal finishes, and three distinct styles (F1, Modernist, and Heritage) — let you tailor the ring to your vibe. Jake went for silver, but I’m eyeing the Gold Copper Tungsten for myself. There’s something about that warm, rich tone that feels like a fresh start.</p><p>As someone who’s been married for a while, I didn’t think I’d care about a new ring. But seeing Jake’s band and learning about Mondeu’s mission changed my mind. My old gold band is fine, but it’s just… there. It doesn’t tell a story or spark a feeling. Mondeu’s rings do. They’re a blend of rugged durability and refined artistry, with a nod to the romance of wine country. The idea of slipping on a band that carries the essence of a Bordeaux vineyard — maybe one I’ve even tasted — feels like a way to reconnect with the spark of those early married days. Plus, their 60-day return policy with a $45 restocking fee means I can try it out without stress.</p><p>I’m not usually one to get swept up by a brand, but Mondeu’s got me. Their Instagram is full of lifestyle shots — guys wearing these rings while hiking, toasting at weddings, or just living their lives — and it’s clear they’re not selling a product; they’re selling a feeling. The hashtags #MondeuMoments and #WineBarrelLegacy pop up everywhere, and the community vibe is real. People share stories about their rings, from proposals to anniversaries, and it’s like Mondeu’s created a club for guys who care about craftsmanship and meaning.</p><p>If you’re in the market for a wedding band — or, like me, just itching for a refresh — check out <a href="https://mondeu.com/">Mondeu</a>. They’re doing something different, something <em>cool</em>, in a world of cookie-cutter jewelry. I’m already picturing that Gold Copper Tungsten band on my finger, catching the light and sparking a conversation. Jake’s ring started it all, but Mondeu’s story has me sold. Here’s to love, legacy, and a damn good glass of wine.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e15991487f20" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Best Practices for Securing Django Rest Framework APIs]]></title>
            <link>https://medium.com/@daniel.doody/best-practices-for-securing-django-rest-framework-apis-9dbb7ba367a8?source=rss-c2b96f6d3b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9dbb7ba367a8</guid>
            <category><![CDATA[django]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Connor Lund]]></dc:creator>
            <pubDate>Tue, 18 Apr 2023 03:07:23 GMT</pubDate>
            <atom:updated>2023-04-18T03:30:46.130Z</atom:updated>
            <content:encoded><![CDATA[<p>1) Auth, 2) Rate Limiting, and 3) Encryption</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*_6oZAheCwiQiKHAHeJDK5w.png" /></figure><p>As you know, APIs have become an integral part of web applications, allowing different services to communicate and share data seamlessly. But with the increasing use of APIs, comes a growing concern for API security. Inadequate security measures can leave your application vulnerable to data breaches, unauthorized access, and other cyber threats. Yikes!</p><p>API security involves protecting your application’s endpoints, data, and functionality from potential threats. Let’s face it, the risks that come with poorly secured APIs are no joke. Unauthorized access, injection attacks, denial of service (DoS) attacks, and man-in-the-middle (MitM) attacks are just a few examples.</p><p>Imagine someone gaining unauthorized access to your API endpoint and stealing sensitive information. The consequences could be devastating for your business reputation. Or what if an attacker sends malicious code as a parameter to your API, allowing them to access your database or modify data? Sounds scary, right?</p><p>But it’s not all doom and gloom! By implementing proper API security measures, you can mitigate these risks and ensure the integrity and confidentiality of your API. In the following sections, we’ll discuss best practices for securing Django Rest Framework APIs, including authentication/authorization, rate limiting, and encryption. By implementing these security measures, you’ll be able to protect your application from potential threats.</p><h3>Authentication &amp; Authorization</h3><p>In simple terms, authentication is the process of verifying the identity of a user or client, while authorization is the process of determining whether a user has access to a particular resource or action.</p><p>By implementing proper auth measures, you can ensure that only authorized users can access your API and its resources. So… how do you go about doing this in Django Rest Framework?</p><p>First, let’s talk about authentication. Django Rest Framework provides a variety of authentication methods (token, session, and OAuth), but we’re only going to look at token-based authentication because it is the most popular and straightforward. In this method, the user is issued a token when they log in, which they then use to access protected resources.</p><p>Here’s a basic implementation of token-based auth in Django Rest Framework:</p><pre>from rest_framework.authentication import TokenAuthentication<br>from rest_framework.permissions import IsAuthenticated<br>from rest_framework.views import APIView<br><br>class MyProtectedView(APIView):<br>    authentication_classes = [TokenAuthentication]<br>    permission_classes = [IsAuthenticated]<br><br>    def get(self, request, format=None):<br>        content = {&#39;message&#39;: &#39;Hey, from inside Medium!&#39;}<br>        return Response(content)</pre><p><em>In this example, we’ve used the TokenAuthentication class from Django Rest Framework to authenticate the user’s token. We’ve also used the IsAuthenticated class to ensure that only authenticated users can access the protected view.</em></p><p>Authentication and authorization are like two peas in a pod. You need to know who the user is and what they’re allowed to access. In Django Rest Framework, you can use various permission classes like IsAuthenticated, IsAdminUser, and DjangoModelPermissions to grant or deny access to particular resources. These permission classes help you control who can access your API endpoints and what actions they’re authorized to perform.</p><p>Next, we use DjangoModelPermissions to restrict access to a specific resource:</p><pre>from rest_framework import viewsets<br>from rest_framework.permissions import DjangoModelPermissions<br><br>class MyViewSet(viewsets.ModelViewSet):<br>    queryset = MyModel.objects.all()<br>    serializer_class = MyModelSerializer<br>    permission_classes = [DjangoModelPermissions]</pre><p><em>In this example, we’ve used the DjangoModelPermissions class to restrict access to the MyModel resource based on the user’s Django model permissions. This means that only users with the appropriate permissions can view, create, update, or delete instances of MyModel.</em></p><h3>Rate Limiting</h3><p>Rate limiting is a crucial security measure that helps protect your Django Rest Framework API from bad actors that can overload your server with an excessive amount of requests. By limiting the number of requests a user or client can make within a certain timeframe, you can prevent DoS attacks, brute force attacks, and other abusive behavior that can cause harm to your API.</p><p>Now, you might be wondering, “how do I implement rate limiting in Django Rest Framework?” Well, the good news is that DRF provides built-in Throttle classes that allow you to set up rate limiting quickly and easily. Throttles are simple classes that define the maximum number of requests a user or client can make within a specified time frame.</p><pre>from rest_framework.throttling import AnonRateThrottle<br><br>class MyView(APIView):<br>    throttle_classes = [AnonRateThrottle]<br><br>    def get(self, request, format=None):<br>        content = {&#39;message&#39;: &#39;Hey, from inside Medium!&#39;}<br>        return Response(content)</pre><p><em>In this example, we’ve used the AnonRateThrottle class to limit the number of requests that anonymous users can make to our API. The default rate limit is set to 100 requests per day, but you can customize this in your Django settings file.</em></p><p>By implementing rate limiting measures like this (…in a production codebase, you will need to make more advanced customizations), you can help protect your API from abusive behavior and ensure that it remains available for all users.</p><h3>Encryption</h3><p>To encrypt data at rest, you should use encryption algorithms to protect sensitive data stored in your database or on disk. DRF actually doesn’t provide built-in support for encryption, but you can use third-party libraries like cryptography to implement encryption in your API.</p><p>Here’s an example code block that shows how to encrypt/decrypt data using the Fernet encryption algorithm from the cryptography library:</p><pre>from cryptography.fernet import Fernet<br><br># Generate a new encryption key<br>key = Fernet.generate_key()<br><br># Create a new Fernet instance with the key<br>fernet = Fernet(key)<br><br># Encrypt some data<br>plain_text = b&quot;Hey, my name is Dan!&quot;<br>encrypted_text = fernet.encrypt(plaintext)<br><br># Decrypt the data<br>decrypted_text = fernet.decrypt(ciphertext)<br><br>print(decrypted_text)</pre><p><em>In this example, we’ve generated a new encryption key and created a Fernet instance using this key. We use the instance to encrypt some text and decrypt the resulting decrypted_text.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9dbb7ba367a8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Converting Your React Codebase into TypeScript…]]></title>
            <link>https://medium.com/@daniel.doody/converting-a-react-codebase-into-typescript-63b23456ce06?source=rss-c2b96f6d3b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/63b23456ce06</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Connor Lund]]></dc:creator>
            <pubDate>Thu, 23 Feb 2023 01:45:15 GMT</pubDate>
            <atom:updated>2023-02-23T05:44:17.723Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*guHyussJAs9KhQSX0wnKig.png" /></figure><p>When we began developing new features for our open source product, I realized the potential benefits of migrating the product to TypeScript after doing research on some of the needs we would have when using our core API’s. Although we had not originally considered TypeScript during the system design phase, we believed that it was the right time to make the switch.</p><p>Fortunately, our team was open-minded and receptive to exploring the advantages of migrating to TypeScript. With everyone’s support, I proceeded with the migration and gained valuable experience in the process.</p><p>Looking back, there were several key lessons that I learned during the migration process. By sharing our insights, I hope to help others who are considering a similar move save time and avoid common pitfalls.</p><h3>Start With The Simple…</h3><p>If you’re transitioning your codebase from JavaScript to TypeScript, it’s important to take a careful approach. Rather than trying to migrate everything at once, you’ll likely find it easier to start with the simpler parts of your codebase.</p><p>For example, consider beginning with your utility functions. These are often self-contained and don’t have complex dependencies, which makes them a great candidate for early migration. As you migrate each function, look at how it’s used in the codebase and what other files import it. This will give you a better understanding of the dependencies between different parts of your code.</p><p>Gradually work your way up the dependency tree, migrating files and components as you go. As you do so, you’ll likely encounter some files that are more complex than others. In these cases, it’s okay to use the “@ts-nocheck” directive to exclude these files from the migration process temporarily, but <strong>don’t forget to go back and tend to this later.</strong></p><p>Taking a gradual approach to the migration process will help ensure that you catch any issues or errors that arise along the way. By starting small and working your way up, you’ll be able to migrate your codebase to TypeScript in a way that’s efficient, effective, and sustainable.</p><h3>Export ALL of Your Types…</h3><p>When working with TypeScript, it’s important to be diligent about exporting your types. Even if you don’t think you’ll need to import a type into another file, it’s a good habit to export them nonetheless. This way, your code will be more organized, and it will be easier to find and reuse types when you need them.</p><p>When defining types, it’s helpful to think about them as reusable building blocks. By exporting types, you make them available to other parts of your codebase, even if they aren’t immediately needed. This can be especially useful in larger projects with many modules and files.</p><p>In addition to making your code more organized and reusable, exporting types can also help prevent errors. When a type is defined in one module but used in another, TypeScript will check that the type matches the expected shape. This can help catch bugs early in the development process and save you time and effort in the long run.</p><p>In short, always make a habit of exporting your types, even if you don’t think you’ll need them in other modules. Doing so will help make your code more organized, reusable, and less prone to errors.</p><h3>Make Type Definitions For Your API Data</h3><p>When building an application that interacts with an API, it’s important to create type definitions for the data that the API sends back. Doing so can help you avoid errors and make your code more maintainable.</p><p>For example, suppose you’re building a chat application that uses a backend API to retrieve messages. You might create a “Message” type that defines the structure of a message, including fields like “id”, “content”, and “timestamp”. By using this type throughout your code, you can ensure that your application always handles message data in a consistent way.</p><p>In addition to helping prevent errors, creating type definitions for API responses can also make your code more readable and easier to maintain. By defining types that match the expected shape of the data, you can make it clear how different parts of your application are meant to work together.</p><p>Of course, creating type definitions for API responses does require some upfront work. You’ll need to carefully examine the data that the API sends back and create types that accurately reflect its structure. However, the benefits of doing so are well worth the effort.</p><p>In conclusion, when building an application that interacts with an API, taking the time to create type definitions for API responses can help you avoid errors, improve code readability, and make your code more maintainable.</p><h3>Set Up Your Linting Correctly…</h3><p>TypeScript is a powerful language that can help you catch errors before they even happen. However, to make the most of TypeScript’s features, it’s important to set up your development environment correctly. One key step is to configure your linter to work with TypeScript.</p><p>If you’re using ESLint as your linter, you may run into issues with the default no-unused-vars rule. This rule can conflict with TypeScript’s type checking and lead to false positives. Fortunately, there’s a specific no-unused-vars rule for TypeScript that you can use instead.</p><p>To enable this rule, you’ll need to update your ESLint configuration. Specifically, you’ll need to disable the default no-unused-vars rule and enable the TypeScript-specific version. This can be done by modifying your eslint.config.js file, adding the following lines:</p><pre>&quot;rules&quot;: {<br>    &quot;no-unused-vars&quot;: &quot;off&quot;,<br>    &quot;@typescript-eslint/no-unused-vars&quot;: [&quot;error&quot;]<br>}</pre><p>By making this change, you’ll ensure that your linter is properly configured to work with TypeScript. This can help you catch more errors and improve the overall quality of your code.</p><p>In conclusion, if you’re working with TypeScript, it’s important to set up your linter correctly. By disabling the default no-unused-vars rule and enabling the TypeScript-specific version, you can avoid false positives and catch more errors. With a properly configured linter, you’ll be well on your way to writing high-quality TypeScript code.</p><h3>Thanks for reading</h3><p>I hope you enjoyed reading this article. If you did, please show your support by liking it!</p><p>👉 connect with me on LinkedIn <a href="https://www.linkedin.com/in/daniel-doody/">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63b23456ce06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Servers: Event vs. Process-Driven Architecture]]></title>
            <link>https://medium.com/@daniel.doody/web-servers-a-high-level-overview-of-nginx-vs-apache-ba87f923c024?source=rss-c2b96f6d3b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba87f923c024</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-server]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Connor Lund]]></dc:creator>
            <pubDate>Wed, 01 Feb 2023 03:35:49 GMT</pubDate>
            <atom:updated>2023-02-16T00:03:40.326Z</atom:updated>
            <content:encoded><![CDATA[<h3>What are Web Servers?</h3><p>Web servers play a crucial role in the functioning of the internet by delivering web content to users. They are responsible for serving and responding to client requests for specific web pages or resources. The process begins when a client, such as a web browser, sends a request to a web server. The server then retrieves the requested information and sends it back to the client in the form of a response. Essentially, the internet is just one giant feedback loop of requests and responses, all brought to you by web servers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*faRrWCvY70dU3X3uvJymgQ.gif" /></figure><h3>Why They’re Important to Consumers</h3><p>Web servers serve as the backbone of the internet by enabling companies to deliver websites and applications to users. They process client requests and retrieve the appropriate response, such as HTML pages or JSON data, before returning it to the client’s web browser. Additionally, web servers handle routing client requests, managing connections, and providing security features, such as SSL encryption, to ensure the safe transmission of sensitive information, such as passwords and financial details. This secure layer of protection, as demonstrated in the example of logging into an online banking portal, provides peace of mind for consumers knowing that their confidential information is protected from potential hackers.</p><h3>Developer Features</h3><p>Web servers play a crucial role in streamlining deployment processes by offering convenient features such as load balancing and caching.</p><p><strong>Load balancing</strong> is the process of distributing incoming traffic evenly across servers, ensuring that no single server becomes overwhelmed and that each is running at an even capacity. Typically, the default load balancing method is called Round-Robin, which distributes all incoming traffic evenly across all servers, assuring that each server is running at an even level of capacity, and that no single server is getting overwhelmed.</p><p><strong>Caching</strong> is another key feature of web servers, caching improves performance by storing frequently requested data in memory, reducing the number of requests sent to the server and quickening response times.</p><p><strong>Data compression</strong> is crucial for serving content to clients because it reduces latency (load times), resulting in a better user experience. The most commonly used compression method is GZIP, where developers can use the default settings to automatically compress all data, or set their own custom configuration rules to only compress data over a certain size.</p><h3>NGINX and Event-Driven Architecture</h3><p>The event-driven architecture of Nginx allows for exceptional performance, even under high workloads. Nginx’s capability to handle multiple connections and requests simultaneously, thanks to its worker processes, enables it to effectively serve a large number of clients in a short amount of time. The <strong>low memory footprint</strong> of Nginx results from its ability to handle high bandwidths of traffic while keeping the number of open processes to a minimum. Nginx’s <strong>asynchronous I/O</strong> (input/output) model allows for the handling of multiple connections without blocking other threads, making it highly performant. The use of a <strong>reverse proxy</strong> is implemented to direct traffic, further contributing to Nginx’s efficiency. The cost-effectiveness of Nginx makes it a desirable choice for large companies, as the cost of running web applications through popular cloud hosting environments like AWS and Azure is typically based on a “pay for what you use” model.</p><h3>Apache and Process-Driven Architecture</h3><p>Process-driven architecture is favored for its <strong>stability and simplicity.</strong> Apache’s process-based architecture is well-established, with a large user base, making it a reliable choice for applications that require high uptime, such as a heart monitor. Apache’s longevity in the web server industry, coupled with a vast repository of third-party modules and plugins, makes it a <strong>highly flexible</strong> and customizable solution. The multi-processing module (MPM) of Apache provides the server with a master process that manages its child processes, providing an additional layer of control. Apache is also <strong>designed to be modular</strong>, enabling developers to fine-tune and improve security by selectively enabling or disabling features and functionality.</p><h3>Web Server Market Share (Event vs. Process)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*kKm44ay833KfhknCPrxKcQ.png" /><figcaption>Chart by w3 Techs: “Comparison of the Usage Statistics of Nginx vs. Apache for Websites.” <em>W3Techs</em>, <a href="https://w3techs.com/technologies/comparison/ws-apache,ws-nginx.">https://w3techs.com/technologies/comparison/ws-apache,ws-nginx.</a></figcaption></figure><p>The web server market is somewhat divided between event-driven Nginx + Cloudflare and process-driven Apache web servers. However, when considering scalability, top 1,000 companies are opting for event-driven architecture more frequently. CloudFlare, a notable player in the industry, recently made a significant move by switching from Nginx to their own custom event-driven solution, further emphasizing the trend towards event-driven architecture.</p><h3>What is Cloudflare?</h3><p>The growth of CloudFlare as a <strong>global Content Delivery Network</strong> (CDN) has had a significant impact on the web server industry. Unlike Nginx and Apache, which at their core are open source frameworks maintained by foundations, CloudFlare is a <strong>multi-billion dollar corporation </strong>that has deployed its web servers globally, in a giant network. This global distribution has numerous advantages, such as <strong>reducing latency</strong> through closer proximity to clients, <strong>increasing availability</strong> through the reduction of single points of failure, enhancing security<strong> </strong>through a larger network that makes it more challenging for hackers to target a single server, and promoting compliance through the ability to store and serve data within specific countries in accordance with their laws. These benefits contribute to a better user experience and <strong>secure handling</strong> of sensitive information.</p><h3>Future Innovation in Web Server Tech (Predictions)</h3><p>As technology continues to advance, I suspect that web servers will undergo significant improvements in a few different areas...</p><p><strong>Security</strong> is an ongoing concern for web servers and it is crucial for the technology to keep pace with the evolving threat landscape by providing enhanced security features.</p><p><strong>Cloud infrastructure</strong> needs better compatibility. Web servers will have to integrate with cloud infrastructure more seamlessly to accommodate the increasing trend of cloud adoption and containerization of applications. A few example areas are better built-in auto-scaling support for platforms such as Kubernetes and improved support for containerization of Docker images.</p><p><strong>Artificial Intelligence</strong> integration will slowly seep into built-in web server tech. The integration of artificial intelligence has the potential to bring innovative changes to web server technology, allowing servers to make real-time decisions based on data such as traffic patterns and user behavior.</p><p><strong>Diagnostics Tools</strong> will improve. Advancements in server diagnostics tools can hopefully be expected in the future. Better ease-of-access and visibility into the server monitoring/troubleshooting process would make life a little easier, given the vast amount of log data generated by web servers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba87f923c024" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>