<?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 Riadh Jouini on Medium]]></title>
        <description><![CDATA[Stories by Riadh Jouini on Medium]]></description>
        <link>https://medium.com/@jouiniriadh4?source=rss-e9d7392a1414------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*C6pikfBuKSI26lR9</url>
            <title>Stories by Riadh Jouini on Medium</title>
            <link>https://medium.com/@jouiniriadh4?source=rss-e9d7392a1414------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 22:57:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jouiniriadh4/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to decide which database to use?]]></title>
            <link>https://medium.com/@jouiniriadh4/how-to-decide-which-database-to-use-2b769f53acf2?source=rss-e9d7392a1414------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b769f53acf2</guid>
            <dc:creator><![CDATA[Riadh Jouini]]></dc:creator>
            <pubDate>Wed, 28 Dec 2022 16:21:41 GMT</pubDate>
            <atom:updated>2022-12-28T16:21:41.373Z</atom:updated>
            <content:encoded><![CDATA[<p>There are several factors to consider when deciding which database to use for your application:</p><p>Data model: Different databases support different data models. For example, some databases are designed for storing and querying structured data (e.g., MySQL, PostgreSQL), while others are designed for storing and querying unstructured data (e.g., MongoDB).</p><p>Performance: Different databases have different performance characteristics. For example, some databases are better suited for high-concurrency environments (e.g., MySQL), while others are better suited for high-throughput environments (e.g., Cassandra).</p><p>Scalability: Some databases are easier to scale out than others. For example, some databases use a shared-nothing architecture that allows them to scale horizontally by adding more servers (e.g., Cassandra, MongoDB), while others use a shared-disk architecture that requires special configuration to scale out (e.g., MySQL, PostgreSQL).</p><p>Deployment: Some databases are easier to deploy and manage than others. For example, some databases can be deployed in the cloud with just a few clicks (e.g., AWS RDS, Azure Cosmos DB), while others require more manual configuration and maintenance (e.g., MySQL, PostgreSQL).</p><p>Developer familiarity: It’s often easier to develop and maintain applications if the developers are already familiar with the database being used.</p><p>Cost: Different databases have different cost models. Some databases are open source and free to use (e.g., MySQL, PostgreSQL), while others have licensing fees or charge for additional features (e.g., Oracle, Microsoft SQL Server).</p><p>Ultimately, the best database for your application will depend on your specific requirements and constraints. It’s often a good idea to evaluate a few different options to see which one works best for your needs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b769f53acf2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How does load balancing work?]]></title>
            <link>https://medium.com/@jouiniriadh4/how-does-load-balancing-work-559d860a327c?source=rss-e9d7392a1414------2</link>
            <guid isPermaLink="false">https://medium.com/p/559d860a327c</guid>
            <dc:creator><![CDATA[Riadh Jouini]]></dc:creator>
            <pubDate>Mon, 19 Dec 2022 20:48:34 GMT</pubDate>
            <atom:updated>2022-12-19T20:48:34.735Z</atom:updated>
            <content:encoded><![CDATA[<p>A load balancer is a device that distributes network traffic across a group of servers or resources. Its main purpose is to increase the availability and reliability of a network service by distributing the workload across multiple servers.</p><p>Here’s how a load balancer works:</p><p>When a client makes a request to a network service, the request is received by the load balancer.</p><p>The load balancer uses a scheduling algorithm to determine which server or resource should handle the request. This can be based on various factors such as the server’s current workload, the geographical location of the client, or the type of request being made.</p><p>The load balancer then forwards the request to the selected server or resource.</p><p>The server processes the request and returns the response to the client through the load balancer.</p><p>The load balancer can also monitor the health of the servers and resources in its pool and redirect traffic away from any servers that are experiencing issues or are down for maintenance.</p><p>Overall, the load balancer helps to distribute the workload evenly across multiple servers or resources, improving the performance and availability of the network service for the client.</p><p>GTM vs LTM?</p><p>A global traffic manager (GTM) is a type of load balancer that is designed to distribute network traffic across servers or resources located in multiple geographical regions. GTMs are often used to improve the performance and reliability of websites and applications that are accessed by users from around the world.</p><p>Here’s how a GTM works:</p><p>When a user makes a request to a website or application, the request is received by the GTM.</p><p>The GTM uses a scheduling algorithm to determine the best server or resource to handle the request based on factors such as the user’s geographical location, the current workload of the servers, and the available network resources.</p><p>The GTM then directs the request to the selected server or resource.</p><p>The server processes the request and returns the response to the user through the GTM.</p><p>The GTM can also monitor the health of the servers and resources in its pool and redirect traffic away from any servers that are experiencing issues or are down for maintenance.</p><p>Overall, the GTM helps to ensure that users can access the website or application from anywhere in the world with the best possible performance and reliability.</p><p>A local traffic manager (LTM) is a type of load balancer that is designed to distribute network traffic across servers or resources within a single geographical region. LTMs are typically used to improve the performance and reliability of websites and applications that are accessed by users within a specific geographic area.</p><p>Like other types of load balancers, LTMs use scheduling algorithms to determine which server or resource should handle a request based on factors such as the server’s current workload, the type of request being made, and the availability of network resources. The LTM then forwards the request to the selected server or resource and returns the response to the client.</p><p>In addition to load balancing, LTMs can also provide other networking functions such as traffic management, application acceleration, and security. They can be configured to perform tasks such as SSL termination, content switching, and HTTP compression to improve the performance and security of the network service.</p><p>Overall, the LTM helps to ensure that users within a specific geographic region can access the website or application with the best possible performance and reliability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=559d860a327c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[«Cloud strategies for entreprises», Gregor Hohpe.]]></title>
            <link>https://medium.com/@jouiniriadh4/cloud-strategies-for-entreprises-gregor-hohpe-13bb6194d541?source=rss-e9d7392a1414------2</link>
            <guid isPermaLink="false">https://medium.com/p/13bb6194d541</guid>
            <dc:creator><![CDATA[Riadh Jouini]]></dc:creator>
            <pubDate>Sun, 18 Dec 2022 19:14:38 GMT</pubDate>
            <atom:updated>2022-12-18T19:14:38.861Z</atom:updated>
            <content:encoded><![CDATA[<p>According to Gregor Hohpe, there are several key concepts that organizations should understand before moving to the cloud. These include:</p><p>Types of cloud services: Hohpe discusses the different types of cloud services that are available, including infrastructure as a service (IaaS), platform as a service (PaaS), and software as a service (SaaS), and the pros and cons of each.</p><p>Cloud provider selection: Hohpe advises organizations to carefully evaluate their cloud provider options and choose a provider that meets their specific needs and requirements. This may include considering factors such as the provider’s security and compliance practices, the available service level agreements (SLAs), and the cost of the service.</p><p>Hybrid cloud architectures: Hohpe discusses the role that hybrid cloud architectures can play in enabling organizations to take advantage of the benefits of both on-premises and cloud-based systems, and the challenges that organizations may face when implementing a hybrid cloud solution.</p><p>Cloud governance: Hohpe emphasizes the importance of developing a clear governance model and establishing policies and procedures for managing the use of cloud resources, including monitoring and managing costs.</p><p>Application redesign: Hohpe advises organizations to carefully consider the need to redesign their applications to take advantage of cloud-specific capabilities, as well as the potential for vendor lock-in.</p><p>Overall, these are key concepts that organizations should understand before moving to the cloud to ensure a smooth and successful transition.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13bb6194d541" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[4 AWS services you should ABSOLUTELY be familiar with.]]></title>
            <link>https://medium.com/@jouiniriadh4/4-aws-services-you-should-absolutely-be-familiar-with-7785b5b5fa31?source=rss-e9d7392a1414------2</link>
            <guid isPermaLink="false">https://medium.com/p/7785b5b5fa31</guid>
            <dc:creator><![CDATA[Riadh Jouini]]></dc:creator>
            <pubDate>Sun, 18 Dec 2022 12:17:41 GMT</pubDate>
            <atom:updated>2022-12-18T12:17:41.369Z</atom:updated>
            <content:encoded><![CDATA[<p>There are many complex services offered by Amazon Web Services (AWS), and the level of complexity can depend on the specific use case and the skills and experience of the user. Some of the more advanced or complex services offered by AWS include:</p><p>Amazon Elastic Container Service for Kubernetes (Amazon EKS): This service allows you to run Kubernetes, an open-source container orchestration system, on AWS. It can be complex to set up and manage, especially for users who are not familiar with Kubernetes.</p><p>Amazon Elastic MapReduce (Amazon EMR): This service allows you to process large amounts of data using a distributed processing framework such as Apache Hadoop or Apache Spark. It can be complex to set up and manage, especially for users who are not familiar with distributed processing frameworks.</p><p>Amazon Relational Database Service (Amazon RDS): This service allows you to easily set up, operate, and scale a relational database. While it can be used for simple database setups, it also offers many advanced features that can make it complex to use, such as support for multi-AZ deployments, read replicas, and database snapshot restore.</p><p>AWS Lambda: This service allows you to run code in response to specific events, such as changes to data in an Amazon S3 bucket or a message arriving in an Amazon SQS queue. It can be complex to use, especially for users who are not familiar with event-driven programming and the use of serverless architectures.</p><p>Overall, it’s important to carefully evaluate the complexity of the AWS services you plan to use, and to ensure that you have the necessary skills and experience to use them effectively.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7785b5b5fa31" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to choose the right database?]]></title>
            <link>https://medium.com/@jouiniriadh4/how-to-choose-the-right-database-ef082fdfaf22?source=rss-e9d7392a1414------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef082fdfaf22</guid>
            <dc:creator><![CDATA[Riadh Jouini]]></dc:creator>
            <pubDate>Sun, 18 Dec 2022 10:06:45 GMT</pubDate>
            <atom:updated>2022-12-18T10:06:45.409Z</atom:updated>
            <content:encoded><![CDATA[<p>Choosing the right database for your needs is an important decision, as it can have a significant impact on the performance and scalability of your application. There are several factors to consider when choosing a database, including the following:</p><p>Data model: Different databases support different data models, such as relational, document, graph, key-value, and more. It’s important to choose a database that supports the data model that best fits your needs.</p><p>Scalability: Consider the scale of your data and the performance needs of your application. Some databases are better suited for handling large volumes of data and high levels of concurrency, while others may be more suitable for smaller, simpler applications.</p><p>Data consistency: Different databases offer different levels of data consistency. Some databases, such as those that support ACID transactions, offer strong consistency guarantees, while others, such as those that use eventual consistency, may offer weaker guarantees but may be more suitable for certain types of applications.</p><p>Deployment options: Consider how you want to deploy your database. Some databases can be installed on-premises, while others can be deployed in the cloud or as a managed service.</p><p>Cost: Cost is an important consideration, as different databases have different pricing models. Consider both the upfront costs and ongoing maintenance and support costs when choosing a database.</p><p>Ultimately, the right database for your needs will depend on the specific requirements of your application. It’s a good idea to evaluate several different options and carefully consider the trade-offs between them before making a decision.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef082fdfaf22" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How does the garbage collector work?]]></title>
            <link>https://medium.com/@jouiniriadh4/how-does-the-garbage-collector-work-8fcb4b6c7dbc?source=rss-e9d7392a1414------2</link>
            <guid isPermaLink="false">https://medium.com/p/8fcb4b6c7dbc</guid>
            <dc:creator><![CDATA[Riadh Jouini]]></dc:creator>
            <pubDate>Sat, 17 Dec 2022 22:27:11 GMT</pubDate>
            <atom:updated>2022-12-17T22:27:11.332Z</atom:updated>
            <content:encoded><![CDATA[<p>The garbage collector is a program that runs in the background and is responsible for freeing up memory that is no longer being used by the program. When an object is no longer being used or referred to by the program, it becomes eligible for garbage collection.</p><p>The garbage collector works by periodically scanning the heap (a portion of memory where objects are stored) for objects that are no longer being used. When it finds such an object, it removes it from memory and frees up the space for other objects to be stored.</p><p>There are several different algorithms that can be used for garbage collection, each with its own benefits and trade-offs. Some popular approaches include reference counting, mark-and-sweep, and generational garbage collection.</p><p>In reference counting, each object has a counter that keeps track of how many references to it exist. When the counter reaches zero, the object is no longer being used and can be garbage collected. This approach is simple and efficient, but it can lead to memory leaks if an object has a reference cycle (i.e., two objects refer to each other and keep each other alive).</p><p>In mark-and-sweep, the garbage collector periodically marks all objects that are in use and sweeps through the heap to delete any objects that are not marked. This approach is more thorough than reference counting, but it can cause pauses in the program’s execution while the garbage collection is taking place.</p><p>Generational garbage collection is a hybrid approach that combines elements of both reference counting and mark-and-sweep. It divides the heap into two or more generations (e.g., young and old), and it uses a more efficient algorithm (such as reference counting) for the younger generation and a more thorough algorithm (such as mark-and-sweep) for the older generation. This allows the garbage collector to quickly reclaim the memory used by short-lived objects, while still being able to detect and remove longer-lived objects that are no longer needed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8fcb4b6c7dbc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>