<?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 Ehsan Maiqani on Medium]]></title>
        <description><![CDATA[Stories by Ehsan Maiqani on Medium]]></description>
        <link>https://medium.com/@ehsan.maiqani?source=rss-717956de3ebc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ldFkZhUMDWRQ-NyIJ_8JHA.jpeg</url>
            <title>Stories by Ehsan Maiqani on Medium</title>
            <link>https://medium.com/@ehsan.maiqani?source=rss-717956de3ebc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 13:24:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ehsan.maiqani/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[SQL vs. NoSQL: Build modern apps with Purpose-built databases]]></title>
            <link>https://medium.com/analytics-vidhya/build-modern-apps-with-purpose-built-databases-1b7cef31bb24?source=rss-717956de3ebc------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b7cef31bb24</guid>
            <category><![CDATA[nosql]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Ehsan Maiqani]]></dc:creator>
            <pubDate>Sun, 12 Feb 2023 09:34:24 GMT</pubDate>
            <atom:updated>2023-02-12T17:59:02.845Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PHcJQpwiROWUoODz9_MRbQ.jpeg" /></figure><p>The advancement in technology has greatly impacted the database landscape over the past thirty years. Initially, the relational database was the most widely used option for applications, but with the rise of internet-enabled and cloud computing applications, the demand for databases with faster and more global capabilities increased. This shift has led to the emergence of purpose-built databases, which are tailored to specific application needs. Developers now have a range of options, such as document databases for mobile applications with heterogeneous data, graph databases for tightly related data, and in-memory cache for high-speed applications. This article briefly describe the use of five different purpose-built databases in applications and the factors to consider when choosing the right database. This article is designed to help software architects, developers, and data scientists make informed decisions when building applications with databases.</p><h3>Background</h3><p>Let’s examine the evolution of application architecture over recent decades to grasp the significance of databases designed specifically for a purpose. Afterwards, we will delve into the functioning of databases in current application development.</p><p><strong>Evolution of application architectures</strong></p><p>The evolution of application architecture has seen significant changes in recent decades, starting with the use of mainframes for critical applications, which combined compute and storage functions. The shift to client-server architecture allowed for more distributed systems and scalability. The rise of the internet saw the implementation of the three-tier architecture, with applications separated into presentation, application, and data tiers for increased scalability. The latest trend is microservices, where applications are split into separate services based on their functionality for better agility and independent scalability.</p><p><strong>Databases in the world of microservices</strong></p><p>The evolution of databases has paralleled that of application architectures. Initially, hierarchical databases were used for internal systems and stored data as a tree with limited ability to model complex relationships. The rise of relational databases with strict schemas, normalized records, and SQL query language dominated the market with an emphasis on data integrity and storage cost savings. The advent of web-enabled global businesses and cloud computing sparked the emergence of NoSQL databases for better performance, and the trend towards microservices in application development paved the way for purpose-built databases, allowing developers to choose the best fit for their application.</p><h3>Factors to consider when choosing a database</h3><p>Selecting the right database is a crucial aspect of your application architecture that has a significant impact on the access patterns, performance, and operational responsibilities of your application. A range of factors should be taken into consideration, such as the workload of your application, the form of your data, the desired level of performance, and the operational burden.</p><p><strong>Application workload</strong></p><p>When deciding on a purpose-built database, it’s crucial to consider the application workload. The workload refers to the type of data stored and the data access patterns in the application. There are three main categories of workloads: <strong>transactional</strong> (OLTP), <strong>analytical</strong> (OLAP), and <strong>caching</strong>. Transactional workloads involve a high number of concurrent operations with each operation reading or writing a small number of rows, commonly seen in user-facing apps like ecommerce and social networking. Analytical workloads aggregate and summarize large amounts of data with fewer concurrent queries but operating on many more rows per query, typically used in internal reporting apps. Caching workloads involve storing frequently accessed data in a separate database for faster response times, reducing the load on the transactional database and improving response times to users. Knowing the type of workload will aid in choosing the right database for your use case.</p><p><strong>Data shape</strong></p><p>The second factor to consider when selecting a database is the data shape. This refers to the entities you will model, the relationships between these entities, the ways you will access your data, and the frequency of entity updates. There are several common data models to choose from, including relational databases, key-value or wide-column databases, document databases, and graph databases. It’s important to understand your access patterns to make the best choice for your application.</p><p><strong>Performance</strong></p><p>The performance requirements of your application is another crucial factor in selecting a purpose-built database. This encompasses not only the speed of data access and size of records, but also the proximity to end users. For critical workloads with users awaiting a response, speed is essential and an in-memory cache may be necessary to reduce latency. However, for internal analytics or background data processing, speed may not be as crucial and attention may shift to handling the amount of data. It is important to also consider geographical needs for your data. Some databases offer easy replication globally, bringing data closer to users and reducing response times. Examples include PostgreSQL, Amazon DynamoDB and Amazon Aurora.</p><p><strong>Operations burden</strong></p><p>When choosing a database, it’s important to consider the operations burden it will bring. This includes preparations for instance failures, backups, and upgrades. By choosing a fully managed database service, like those offered by cloude platforms, the operations burden is handled for you, allowing you to focus on developing features for your users.</p><h3>Well suited database</h3><p>Table below briefly help you to get a quick look at the databases portfolio. Following description provides information let you choose when apply each of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*rDhpAKWmKcFbiG46rEA-lg.png" /><figcaption>databases portfolio</figcaption></figure><h3><strong>Relational</strong></h3><p>Relational databases are a type of database that store data in a structured format using tables, rows, and columns. They are based on the relational model, which organizes data into one or more tables and defines relationships between the tables using keys.</p><p>Some common use cases for relational databases include:</p><ol><li>E-commerce: Online stores often use relational databases to store customer information, product details, and order history.</li><li>Financial services: Banks and other financial institutions use relational databases to track customer information, transactions, and account balances.</li><li>Healthcare: Hospitals and clinics use relational databases to store patient information, medical records, and appointment schedules.</li><li>Human resources: Companies use relational databases to store employee information, payroll data, and benefits information.</li><li>Inventory management: Retailers and manufacturers use relational databases to keep track of stock levels, suppliers, and purchase orders.</li></ol><p>These are just a few examples of the many ways that relational databases are used. In general, they are a popular choice for applications that require a high degree of structure and organization, as well as the ability to quickly retrieve and manipulate data.</p><h3><strong>Key-Value</strong></h3><p>Key-value databases, also known as key-value stores, are a type of NoSQL database that store data as a collection of key-value pairs. In this type of database, each piece of data is identified by a unique key, and the value associated with that key is the data itself. The key-value pair can store simple data types such as strings or numbers, or more complex data structures like arrays or objects.</p><p>Key-value databases are designed to provide fast and efficient access to data, with a simple and flexible data model that makes it easy to scale and manage large amounts of data. They are often used for applications that require a high degree of speed and scalability, such as:</p><ol><li>Caching: Key-value databases are often used as a caching layer in front of a traditional relational database, to speed up data retrieval by storing frequently accessed data in memory.</li><li>Session management: Key-value databases can be used to store session data for web applications, allowing developers to store information about a user’s session and retrieve it quickly as needed.</li><li>Gaming: Key-value databases are used to store game state information, high scores, and other data in real-time multiplayer games.</li><li>Distributed systems: Key-value databases are often used in distributed systems to store data across multiple nodes, providing high availability and fault tolerance.</li><li>Metrics and analytics: Key-value databases can be used to store and process large amounts of time-series data, such as metrics and analytics data from web applications and mobile apps.</li></ol><p>These are just a few examples of the many ways that key-value databases are used. They are well-suited for applications that require fast data retrieval and flexible, scalable data storage.</p><p>Graph Databases are designed to identify and work with the connections between data points; are often used to analyze the relationships between heterogeneous data points (high variability of data types and formats), such as in fraud prevention or for mining data about customers from social media.</p><h3><strong>In-Memory</strong></h3><p>In-memory databases are databases that store data entirely in RAM (Random Access Memory), instead of on disk. This means that all data is kept in memory, allowing for extremely fast data access times, as accessing data in RAM is much faster than accessing data on disk.</p><p>In-memory databases are used in a variety of applications where performance is critical, such as:</p><ol><li>Real-time analytics: In-memory databases are well-suited for real-time analytics, as they can process large amounts of data quickly and provide instant insights.</li><li>Gaming: In-memory databases are used in gaming applications to store game state information, player information, and other data, allowing for real-time updates and fast response times.</li><li>Trading systems: Financial trading systems use in-memory databases to store and process real-time market data and execute trades quickly.</li><li>Caching: In-memory databases can be used as a caching layer in front of a traditional relational database, to speed up data retrieval by storing frequently accessed data in memory.</li><li>Fraud detection: In-memory databases can be used in real-time fraud detection systems, where data must be processed quickly to identify and prevent fraudulent activity.</li></ol><p>While in-memory databases are fast and efficient, they also have some limitations, such as their high cost, as large amounts of RAM can be expensive, and the limited amount of memory available on a single system, which may limit the size of the data that can be stored in memory. Additionally, if the system loses power or crashes, all data stored in memory will be lost. For these reasons, in-memory databases are typically used in combination with disk-based databases to provide a balance of performance and persistence.</p><h3><strong>Document</strong></h3><p>Document databases are a type of NoSQL database that store data in the form of documents, rather than tables, rows, and columns. A document can be thought of as a collection of key-value pairs, where the keys are field names and the values are the data stored in those fields. Documents can also contain nested data structures, such as arrays and sub-documents.</p><p>Some common use cases for document databases include:</p><ol><li>Content management: Document databases are often used to store and manage unstructured content, such as text, images, and multimedia, in a way that allows for easy retrieval and manipulation of the data.</li><li>E-commerce: Online stores often use document databases to store product information, customer information, and order history, allowing for flexible and scalable data storage.</li><li>Real-time analytics: Document databases are well-suited for real-time analytics, as they can store and process large amounts of semi-structured data quickly and efficiently.</li><li>Gaming: Document databases are used in gaming applications to store player information, game state information, and other data, allowing for real-time updates and fast response times.</li><li>Logging and event tracking: Document databases can be used to store and process log data and event data from web applications and other systems, providing a flexible and scalable data storage solution.</li></ol><p>Document databases are often favored for applications that require a high degree of flexibility in terms of data structure, as they allow for the storage of semi-structured and unstructured data in a way that is easy to manage and retrieve. Additionally, they are well-suited for use in distributed systems, as they provide a scalable and flexible data storage solution that can be easily partitioned across multiple nodes.</p><h3><strong>Wide column</strong></h3><p>Wide column databases, also known as column-family databases, are a type of NoSQL database that store data in a column-oriented format, rather than in rows and columns like a traditional relational database. In a wide column database, data is organized into columns, and each column can contain a different type of data.</p><p>In a wide column database, data is typically stored in the form of a column family, which is a collection of related columns. Each row in a column family is identified by a unique key, and the data for that row is stored in the associated columns.</p><p>Wide column databases are well-suited for applications that require high write and read performance, such as:</p><ol><li>Big data processing: Wide column databases are often used to store and process large amounts of semi-structured and unstructured data, such as log data, event data, and sensor data.</li><li>Real-time analytics: Wide column databases can be used for real-time analytics, as they can store and process large amounts of data quickly and efficiently.</li><li>Gaming: Wide column databases are used in gaming applications to store player information, game state information, and other data, allowing for real-time updates and fast response times.</li><li>Financial systems: Wide column databases are used in financial systems to store and process large amounts of financial data, such as stock prices and trade data.</li><li>Social media: Wide column databases are used in social media applications to store user information, posts, and other data, allowing for flexible and scalable data storage.</li></ol><p>Wide column databases are often favored for applications that require fast and flexible data storage, as they allow for easy and efficient storage and retrieval of large amounts of semi-structured and unstructured data. Additionally, they are well-suited for use in distributed systems, as they provide a scalable and flexible data storage solution that can be easily partitioned across multiple nodes.</p><h3><strong>Graph</strong></h3><p>Graph databases are a type of NoSQL database that store data in the form of nodes and edges, rather than tables, rows, and columns. In a graph database, nodes represent entities or objects, and edges represent relationships or connections between those entities.</p><p>Graph databases are used to store and process data about relationships and connections between entities, making them well-suited for applications that require the analysis of complex, interconnected data. Some common use cases for graph databases include:</p><ol><li>Social network analysis: Graph databases are often used to store and analyze social network data, such as friend relationships and connections between users on a social media platform.</li><li>Fraud detection: Graph databases are used to detect fraud by analyzing relationships between entities, such as transactions and people, to identify patterns of behavior that are indicative of fraud.</li><li>Recommendation systems: Graph databases are used to store and analyze user behavior data, such as product purchases and online searches, to provide personalized recommendations to users.</li><li>Knowledge graphs: Graph databases are used to store and manage knowledge graphs, which are graph-based representations of knowledge about a particular domain or subject.</li><li>Network analysis: Graph databases are used to store and analyze data about networks, such as telecommunications networks, transportation networks, and biological networks.</li></ol><p>Graph databases are often favored for applications that require the analysis of complex, interconnected data, as they provide a flexible and scalable way to store and process data about relationships and connections between entities. Additionally, they are well-suited for use in real-time systems, as they allow for fast and efficient querying of graph data.</p><h3><strong>Time-series</strong></h3><p>Time series databases are a type of database specifically designed to store and manage time-stamped data. Time series data is data that is collected and recorded over time, such as financial data, sensor data, and log data.</p><p>Time series databases are optimized for handling time-stamped data, and are designed to store, retrieve, and aggregate time-series data efficiently. Some common use cases for time series databases include:</p><ol><li>IoT data: Time series databases are used to store and process large amounts of sensor data from IoT devices, such as temperature, humidity, and pressure data.</li><li>Financial data: Time series databases are used to store and analyze financial data, such as stock prices, trade data, and economic indicators.</li><li>Log data: Time series databases are used to store and analyze log data, such as server logs, application logs, and network logs.</li><li>Metrics and monitoring: Time series databases are used to store and aggregate metrics data, such as system performance data, application performance data, and user behavior data.</li><li>Environmental data: Time series databases are used to store and analyze environmental data, such as weather data, air quality data, and water quality data.</li></ol><p>Time series databases are often favored for applications that require the efficient storage, retrieval, and aggregation of time-stamped data, as they are optimized for handling this type of data. Additionally, they are well-suited for use in real-time systems, as they allow for fast and efficient querying of time-series data.</p><h3><strong>Ledger</strong></h3><p>Ledger databases, also known as blockchain databases, are a type of database that maintains a tamper-resistant, sequential record of transactions. In a ledger database, transactions are recorded in blocks, and each block is linked to the previous block, creating a chain of blocks, or a blockchain.</p><p>Ledger databases are designed to provide a secure and transparent way to store and manage data, and are commonly used in applications that require a high degree of trust and accountability, such as:</p><ol><li>Cryptocurrency: Ledger databases are used to store and manage transactions in cryptocurrencies, such as Bitcoin and Ethereum.</li><li>Supply chain management: Ledger databases are used to track the movement of goods and materials through a supply chain, ensuring transparency and accountability throughout the supply chain.</li><li>Healthcare: Ledger databases are used to store and manage patient health data, providing secure and transparent access to health data to authorized parties.</li><li>Voting systems: Ledger databases are used to provide a secure and transparent way to manage and count votes in elections, ensuring the integrity of the voting process.</li><li>Real estate: Ledger databases are used to store and manage real estate transactions, providing a secure and transparent record of ownership and property data.</li></ol><p>Ledger databases are often favored for applications that require a high degree of trust and accountability, as they provide a secure and transparent way to store and manage data. Additionally, they are well-suited for use in decentralized systems, as they provide a decentralized way to store and manage data that is resistant to tampering and manipulation.</p><h3>Conlusion</h3><p>Purpose-designed databases are databases created with a specific function or objective in mind. These databases are designed to meet the specific needs of a particular application or industry, and are optimized for the specific tasks they are intended to perform. As a result, they can provide more efficient and effective performance compared to general-purpose databases.</p><p>For more details you can examine following links:</p><ol><li><a href="https://aws.amazon.com/products/databases/">AWS Cloud Databases</a></li><li><a href="https://aws.amazon.com/getting-started/hands-on/purpose-built-databases/">Purpose-built databases</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b7cef31bb24" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/build-modern-apps-with-purpose-built-databases-1b7cef31bb24">SQL vs. NoSQL: Build modern apps with Purpose-built databases</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Database Normalization vs. Denormalization]]></title>
            <link>https://medium.com/analytics-vidhya/database-normalization-vs-denormalization-a42d211dd891?source=rss-717956de3ebc------2</link>
            <guid isPermaLink="false">https://medium.com/p/a42d211dd891</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[database-design]]></category>
            <dc:creator><![CDATA[Ehsan Maiqani]]></dc:creator>
            <pubDate>Mon, 30 Mar 2020 11:50:58 GMT</pubDate>
            <atom:updated>2024-01-19T11:50:18.756Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ybRNS6q7CUdduauM.jpg" /></figure><p>According to Wikipedia’s definitions,<a href="https://www.analyticsvidhya.com/blog/2022/08/database-normalization-a-step-by-step-guide-with-examples/"> <strong>Database normalization</strong> </a>is the process of structuring a relational database in accordance with a series of so-called normal forms to reduce <em>data redundancy</em> and improve <em>data integrity</em>.</p><p>In the database design scope,<strong> Normalization</strong> is a database design technique that organizes tables in a manner that reduces redundancy and dependency of data by minimizing the insertion, deletion and update anomalies through eliminating the redundant data. Using the Normalization technique to design databases causes divide larger tables into smaller tables and links them using relationships. <strong>The purpose of Normalization is to eliminate redundant (useless) data and ensure data is stored logically.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*QzI6M9zSMG33SUm4eg8u8Q.png" /><figcaption>Database tables in a Normalized manner</figcaption></figure><p>As the opposite, <strong>Denormalization</strong> is the inverse process of normalization where the redundancy is added to the data intentionally to improve the performance of the specific application and data integrity. The reason for performing denormalization is the <strong>overheads</strong> produced in the query processor by an over-normalized structure. Denormalization reduces the number of tables, and the complicated table joins because a higher number of joins can slow down the process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*FNMp1Ntu7P44bdPtIVZI6g.png" /><figcaption>Database tables in a Denormalized manner</figcaption></figure><h3>Key Differences Between Normalization and Denormalization</h3><p>Both the Normalized and Denormalized techniques have their own benefits and drawbacks. The following table compared these two <a href="https://www.analyticsvidhya.com/blog/2023/03/understanding-the-basics-of-database-normalization/">techniques</a> in a short but understandable way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*kTcdlLdvq6pZUpsjKpifOg.png" /><figcaption>Normalization vs. Denormalization</figcaption></figure><ol><li>Normalization is the technique of dividing the data into multiple tables to reduce data redundancy and inconsistency and to achieve data integrity. On the other hand, Denormalization is the technique of combining the data into a single table to make data retrieval faster.</li><li>Normalization is used in an <strong>OLTP</strong> system, which emphasizes making the insert, delete and update anomalies faster. As the opposite, Denormalization is used in an <strong>OLAP</strong> system, which emphasizes making the search and analysis faster.</li><li>Data integrity is maintained in the normalization process while in denormalization data integrity harder to retain.</li><li>Redundant data is eliminated when normalization is performed whereas denormalization increases the redundant data.</li><li>Normalization increases the number of tables and joins. In contrast, denormalization reduces the number of tables and joins.</li><li>Disk space is wasted in denormalization because the same data is stored in different places. On the contrary, disk space is optimized in a normalized table.</li></ol><h3>Conclusion</h3><p>Normalization and denormalization are useful according to the situation. Normalization is used when the faster insertion, deletion and update anomalies, and data consistency are necessarily required. On the other hand, Denormalization is used when the faster search is more important and to optimize the read performance. It also lessens the overheads created by over-normalized data or complicated table joins.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a42d211dd891" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/database-normalization-vs-denormalization-a42d211dd891">Database Normalization vs. Denormalization</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Microservice? What is not?]]></title>
            <link>https://medium.com/@ehsan.maiqani/what-is-microservice-what-is-not-383788285688?source=rss-717956de3ebc------2</link>
            <guid isPermaLink="false">https://medium.com/p/383788285688</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[microservice-architecture]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[microservices-application]]></category>
            <dc:creator><![CDATA[Ehsan Maiqani]]></dc:creator>
            <pubDate>Wed, 25 Mar 2020 21:47:09 GMT</pubDate>
            <atom:updated>2020-03-25T21:47:09.948Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*a2yloc9AhbI5tx1VU66-pw.png" /></figure><p>“Microservices” — yet another new term on the crowded world of software design that gives a straightforward approach in order to ease the pain of having to maintain a mammoth-sized monolithic application.</p><p>The term “Microservice Architecture” has sprung up over the last few years to describe a particular way of designing software applications as suites of independently deployable services. While there is no precise definition of this architectural style, there are certain common characteristics around the organization, around business capability, automated deployment, intelligence in the endpoints, and decentralized control of languages and data.</p><h3>What is Microservice?</h3><p>In short, a microservice architectural style is an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API. These services are built around business capabilities and independently deployable by fully automated deployment machinery.</p><p>Based on the definition provided in <a href="http://microservices.io/">microservices.io</a>, Microservices — also known as the microservice architecture — is an architectural style that structures an application as a collection of services that are</p><ul><li>Highly maintainable and testable</li><li>Loosely coupled</li><li>Independently deployable</li><li>Organized around business capabilities</li><li>Owned by a small team</li></ul><p>The microservice architecture enables the rapid, frequent and reliable delivery of large and complex applications. It also enables organizations to evolve their technology stack.</p><figure><img alt="Microservices vs. Molithic (From: https://martinfowler.com)" src="https://cdn-images-1.medium.com/max/850/1*S1kWdAuHYbxc7sUW7k-0hA.png" /><figcaption>Microservices vs. Monolithic (From <a href="https://martinfowler.com/">https://martinfowler.com</a>)</figcaption></figure><h3><strong>What is not?</strong></h3><p>As the microservice design explained, it’s useful to compare it to the monolithic style: a monolithic application built as a single unit. A monolithic architecture is the traditional unified model for the design of a software program. Monolithic, in this context, means composed all in one piece. Monolithic software is designed to be self-contained; components of the program are interconnected and interdependent rather than loosely-coupled as is the case with microservices software design. In a tightly-coupled architecture, each component and its associated components must be present in order for code to be executed or compiled.</p><p>Furthermore, if any component must be updated, the whole application has to be rewritten, whereas, in a microservices application, any separate component can be changed without affecting other parts of the application. Microservice design reduces the risk that a change made within one element will create unanticipated changes within other elements because modules are relatively independent. Microservices also lend themselves to iterative processes more readily than monolithic ones.</p><h3>When Microservices? When not?</h3><p>The microservice architecture is not the Elder Wand. It has several drawbacks. Moreover, when using this architecture there are numerous issues that you must address.</p><p>The microservice architecture pattern language is a collection of patterns for applying the microservice architecture. It has two goals:</p><ol><li>The pattern language enables you to decide whether microservices are good for your application.</li><li>The pattern language enables you to use the microservice architecture successfully.</li></ol><p>A good starting point is the <a href="https://microservices.io/patterns/monolithic.html">Monolithic Architecture pattern</a>, which is the traditional architectural style that is still a good choice for many applications. It does, however, have numerous limitations and issues and so a better choice for large/complex applications is the <a href="https://microservices.io/patterns/microservices.html">Microservice architecture pattern</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=383788285688" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LTE unlocks the full potential of Public Safety services]]></title>
            <link>https://medium.com/@ehsan.maiqani/lte-unlocks-the-full-potential-of-public-safety-services-49e218273436?source=rss-717956de3ebc------2</link>
            <guid isPermaLink="false">https://medium.com/p/49e218273436</guid>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[etl]]></category>
            <category><![CDATA[communication]]></category>
            <category><![CDATA[public-safety]]></category>
            <category><![CDATA[mission-critical]]></category>
            <dc:creator><![CDATA[Ehsan Maiqani]]></dc:creator>
            <pubDate>Tue, 03 Mar 2020 08:18:48 GMT</pubDate>
            <atom:updated>2020-03-03T08:18:48.954Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2ZHGj491I8E57kic6WmzYg.jpeg" /></figure><p><strong>Overview</strong></p><p>Many situations arise where human life and other values for society are at risk and where timely and reliable communications between first responders are essential to avoid or at least mitigate the damage: we refer to this type of exchange of information as <strong><em>critical communications</em></strong>.</p><blockquote>The most typical example of critical communications use is in the so-called “blue lights” agencies (police, ambulance fire brigade), however mission-critical communications are also applicable to many other sectors of society and industries.</blockquote><p>This short article briefly discusses how the capabilities of LTE networks can be leveraged not only to provide mission-critical communications at system parity with existing solutions but to enrich them by allowing users to exchange multimedia content in addition to voice and enjoy access to mobile broadband.</p><p><strong>Demand for enhanced Mission Critical services</strong></p><p>Public Safety Agencies (PSAs) utilize for their voice communication specialized systems based on private narrowband radio network systems such as TETRA (Terrestrial Trunked Radio) or Project25 (P25). While these systems offer functionality such as a device to device communication, group management, floor control, etc. that are essential for critical communications they tend to suffer from <strong><em>low spectral efficiency</em></strong><em>, </em><strong><em>limited data transport capabilities</em></strong><em>, </em><strong><em>slow evolution</em></strong> and <strong><em>high costs</em></strong> due to lack of economies of scale. For this reason, it is not unusual for PSAs to supplement their voice communications through private networks with carrier network voice and mobile broadband data.</p><p>As PSAs are by their nature highly mobile, they have gained significant productivity benefits by using mobile broadband. The devices used for attaining mobile broadband connectivity are regular consumer devices ranging from <strong><em>smartphones</em></strong> to <strong><em>tablets</em></strong> and <strong><em>notebooks</em></strong>. It is however cumbersome and inconvenient for operatives to carry multiple devices and they would instead benefit from consolidating all the functionality they need for voice and data communications, as well as the specific capabilities of the two-way radio devices into a single device. That single device operating on a Public Safety Mobile Broadband (PSMB) network can, therefore, satisfy the Agencies’ communications needs.</p><p>Moreover, the building and maintenance of a dedicated network such as TETRA or P25 are complex, time-consuming and costly, and some PSAs have acknowledged the better ability of carrier networks to meet their communications (voice and data) needs. It, therefore, becomes attractive to leverage where possible an existing public carrier network. Not only does this facilitate a more timely and cost-effective introduction of the capability but also offers coverage advantages. <strong><em>The use of LTE as underlying technology for mission-critical services removes existing interconnectivity issues between different types of Land Mobile Radio (LMR) networks operating in different geographical regions and, offers significant benefits of a large and sustainable ecosystem of devices available to suit commercial networks that have low unit costs because of global scale and harmonized spectrum usage.</em></strong></p><p>As was the case for traditional mission-critical voice services, <strong>MC-PTT </strong>(Mission Critical Push to Talk) will be primarily targeting PSAs (police, fire brigade, ambulance), however, a number of other industries including <em>transport</em>, <em>utilities</em>, <em>hotels</em>, <em>industrial plants,</em> and <em>nuclear plants</em> can take advantage of this new capability offered by the mobile network. Besides attaining service parity with the existing systems, Public Safety users have requested multimedia services be adapted to their missions and way of working. Considering the broad use case development for Mission Critical Data/Video over LTE, there is a need for Mission Critical Data/Video communications that leverage the same underlying system enablers defined for MC-PTT. This extends to organizations in the mining, oil and gas industry, as they also have a need for Mission Critical data/video communications to enable remote monitoring and control of their operations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aVBXOy2S6-Nr8ROPjNO3ZQ.jpeg" /></figure><p><strong>Mission Critical Video</strong></p><p>This set of Mission Critical applications leverages video media. The users can make a video call among groups as in a conference call, video can be streamed to the group members from a robot or drone, a security camera, etc. In the context of public safety, the personnel can enrich the voice media with video (Push to Video) allowing first responders to share the real conditions of the surrounding area with other PSA group members. This information will enable other PSAs to make better decisions.</p><p><strong>Mission Critical Data</strong></p><p>This set of Mission Critical applications leverages no-voice/video traffic. The customer can use Computer Aided Dispatch, make database inquiries, and make use of features such as event manager sync or robot control, intelligence gathering and dissemination. The customers can also distribute files requiring mission-critical transport, securely access public safety cloud and use messaging service similar to Short Data Service from TETRA.</p><p><strong>Demand for non-mission-critical services</strong></p><p>The same technology providing mission-critical services could also be provided for customers wanting generic non-mission-critical group communications. Generally, any situation where employees use two-way radio communications to communicate with each other could be a potential target for commercial PTT services. Examples include security staff in stadiums, train stations, airports, etc. The technology is also being studied as a replacement for the aging GSM-R system currently deployed in many European countries, Australia, India, China, and South Africa.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49e218273436" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Coronavirus Made a Great Opportunity To Experimentally Put Remote Working To The Test]]></title>
            <link>https://medium.com/@ehsan.maiqani/coronavirus-made-a-great-opportunity-to-experimentally-put-remote-working-to-the-test-4541c904e7a0?source=rss-717956de3ebc------2</link>
            <guid isPermaLink="false">https://medium.com/p/4541c904e7a0</guid>
            <category><![CDATA[organizational-culture]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[corona]]></category>
            <category><![CDATA[remote-working]]></category>
            <dc:creator><![CDATA[Ehsan Maiqani]]></dc:creator>
            <pubDate>Sun, 01 Mar 2020 10:43:20 GMT</pubDate>
            <atom:updated>2020-03-01T10:43:20.081Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Kml95kgzQ8KibxNy4Ih5hw.png" /></figure><h3>With the covid19 epidemic that affecting the world economy and impacting negatively on the performance of a variety of businesses, perhaps this is a good moment to test how companies’ businesses would be affected if the preventing policies were implemented in our country or city.</h3><p>Scaling remote working has been a challenge as the team has grown. Remote companies are still relatively rare, and therefore all of us who are choosing to have a remote-friendly culture, need to both:</p><ul><li>work through the normal challenges of growing as a company and as a team</li><li>also put time into figuring out how remote can scale, where there is no real pre-existing playbook</li></ul><p>One of the significant commitments I’ve seen recently in businesses is to approach company growth goals in a long-term fashion, staying true to the culture of remote working. This means these businesses deliberately make time to try to scale remote working, even if this may at times feel it comes at the expense of short-term financial growth.</p><p>It is my belief that working to develop a great remote working culture is an investment that will pay dividends for decades to come. If we can make this work over the long-term, we set the company up for many significant advantages and great freedom for us as a team.</p><h3>The levels of remote working</h3><p>In my researches, I came to the realization that remote working is a scale, and there are actually a number of different options along across spectrum from “not remote” to “fully distributed”.</p><h3>1. Not remote / office-based culture</h3><p>Obviously, at the far end of the spectrum, we have what is today perhaps the most typical working environment for companies. In this model, you have your whole team in one or more offices.</p><p>This means that you typically have set down working hours (strict or loosely enforced). You will work from the office all day, and not have too much flexibility in your day, nor will you have the option to choose the work environment you enjoy and find yourself most productive within.</p><p>Of course, office-based environments are also awesome for a whole bunch of reasons. You more naturally have close bonds and friendships forming. You can whiteboard and brainstorm, which can be very productive. If you have people who are junior in their role, they can very readily and easily get help so they don’t get stuck.</p><h3>2. Office-based with a work-from-home option</h3><p>Some companies which operate from a single office, have started to give team members the option to work from home one or more days per week. This is a great start, and perhaps a perfect way to start to experiment with a remote working culture.</p><p>This small degree of remote-friendliness will already test the culture and require a few key changes to how work is done within a team. For example, those days that team members are working from home, the team will need to mostly communicate through email, chat and other teamwork tools such as <a href="https://slack.com/intl/en-ir/">Slack</a> and <a href="https://trello.com/">Trello</a> than the face-to-face methods which can be relied on upon without thinking about it in an office environment.</p><p>One key challenge when you start to experiment with this setup will be avoiding the people who work from home feeling left out of discussions that lead to key decisions. When you have the majority of the team in one place and a few people not in the office, it’s easy for those people to feel like second class citizens.</p><h3>3. A remote team, in a single time zone</h3><p>This is where things start to get more truly remote. In this category, you’ll have companies that are more truly remote. However, some remote companies still choose to have the team mostly in one time zone, or very few largely overlapping time zones.</p><p>This is a truly remote setup, so the way work is done certainly is different from a team-based within an office. Text-based communication and collaboration tools such as <a href="https://www.skype.com/en/">Skype</a> or <a href="https://www.whatsapp.com/">Whatsapp</a> will come in here.</p><p>At the same time, in this setup, you still have a lot of hours of overlap, if not full overlap, with everyone in the team. So at least you can rely on someone being available when you need to get work done. Therefore, a lot of the day-to-day work can still be done in a synchronous fashion and work well.</p><h3>4. A worldwide remote team spread across numerous time zones</h3><p>A step further is to have a team where everyone is spread across different time zones. This means that asynchronous collaboration becomes even more vital. You’ll likely just have a few hours of overlap with other people in your team, and so this setup requires a little more structure to make communication and collaboration efficient.</p><p>Sometimes companies set up this way, will choose to concentrate certain roles in the same time zone. Other times, it will be a completely location-independent setup. In either case, you generally have team members staying permanently in their location, for a long duration of time. So you can at least have some consistency of the setup of each team, and can set up some forms of synchronous communication at the times of overlap.</p><p>The challenges with a fully remote setup like this are numerous. One key one is around-the-clock coverage of customer support or engineering.</p><h3>5. A fully distributed team with nomadic team members</h3><p>The most extreme case of remote working, in my mind, is a fully remote team where some of the members of the team are nomadic and traveling.</p><p>Currently, there are some challenges in reaching this level of freedom for team members, and a collaboration system that can be efficient with this setup. A key milestone I believe of this level will be that work continues regardless of people moving locations. Of course, moving to a new place can affect productivity and this is for people to be mindful about. However, I do believe there is a way that collaboration can happen, where aside from those productivity challenges, work can happen in the exact same way, regardless of location. This is what is needed to truly be able to work efficiently with nomadic people in the team.</p><p>I believe open source can be a great inspiration for the kind of asynchronous collaboration that is needed for this setup. Synchronous chat tools are problematic. At the same time, to cultivate culture and create bonds, synchronous chat tools, and video calls can be effective here too. The key, it seems, is to separate “how work happens” from those synchronous communications.</p><p>Do you do remote work at your company? Which level are you at, or do you see yourself at a different level I’ve not covered here? What do you think is worth striving for? I’d love to hear from you in the comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4541c904e7a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>