Are You an Ambitious Entrepreneur Aspiring to Launch a World-Class Web3 Project? GRAB your WEB3 EXPERT CONSULTATION!
Book a Session!

Blockchain for Supply Chain Management: the Next Technological Revolution

Blockchain Supply Chain

Transparency and Traceability in the Supply Chain

Selling certain things to a customer is based on the supply chain. Almost all companies engaged in the purchase and sale sphere cope with the fundamental phases of supply chain management. Trust and transparency in the supply chain are the two most sustainable factors for running an efficient process. What does blockchain predict for supply chain management? Read on, and figure out what the key benefits of this new robust ledger technology are.

Supply Chain Principles

supply_chain

Let’s provide the definition of the supply chain notion, its management, and the basic principles of the supply chain process. The supply chain is the cumulative network of different entities, individuals, information, and resources involved in a product’s creation, transportation, and sale, from the original manufacturer to the end customer. It combines the following process stages:

  • raw material supply
  • converting materials into products
  • warehouse storage
  • distribution and delivery to retailers
  • delivering the product to the ultimate consumer

Supply chain segment and logistics are often confused notions. Logistics simply refers to the transportation of goods, whereas supply chain covers many other fields. Thus, logistics is only part of the supply chain. The entire chain includes the coordination of raw materials delivery from supplier to producer to ultimate user. The supply chain impacts the quality and time frame of product manufacturing.

The whole process of delivering the materials from the supplier to the manufacturer, from manufacturer to retailer, from retailer to the end customer, must be managed.

What is Supply Chain Management (SCM)?

Supply chain management is the crucial process of optimization leading to lower costs and profitable results for companies. It creates a sustainable, competitive advantage while maximizing customer value. SCM covers product development, production, logistics, and the information systems that coordinate these undertakings. The aim of SCM is to control the shipment, delivery, and distribution process while cutting costs and optimizing time management.

SCM is important to the success of any business. Hence, it requires close monitoring of all costs paid and procedures. Supply Chain Management impacts the development of supply chains in an efficient way. CSM is based on the idea that every product is the result of the efforts of the many entities of the supply chain.

According to Investopedia explanation of SCM, it attempts to coordinate these efforts while minimizing costs and trimming fat. There is the example of Conglomo, making its widgets in a domestic factory. Conglomo negotiates with suppliers to buy the raw materials it needs and staffs the factory with paid workers to build the widgets.

The company also provides the factory with supplies to run operations: everything from equipment to light bulbs. The factory packages and ships the final widgets to stores for sale, requiring packaging supplies and equipment, trucks, drivers, fuel, and insurance. SCM centrally controls production, shipment, and distribution.

SCM challenges: Traceability and Transparency

Due to the growing difficulties in supply chain management, this business field usually copes with challenges that are complicated to solve. Within the global business supply chain, traceability plays the most decisive role in the advancement of its sustainability.

Why is it so crucial for small and large businesses to maintain traceability and transparency of all processes within supply chain management? Traceability is the whole system connecting all the stages in the chain together. It is the ability to identify and trace the history, distribution, location, and application of products, parts, and materials. As a result, a traceability system follows, records, and controls the process, from supplier to ultimate consumer.

Food and drug safety is one of the vital things to trace and control. With increasing demands from governments, suppliers, buyers, and consumers, traceability ensures information on the origin of food and goods, as well as the conditions under which they are produced, preserved, and transported.

supply_chain_challenges

Traceability includes information on products’ components, quality, and safety. The collaboration of companies involved in the supply chain should provide in-depth, real-time insights, plus the mechanisms for analyzing the information gathered through the manufacturer management system. According to the practical guide of the United Nations Global Compact (UNGC), collaboration is the best practice for supply chain traceability:

suuply_chain_traceability

Supply chain actors are responsible for tracking products from the source to the consumer, tracing their origin, and detailing their history of delivery. Mislabeling is one of the disadvantages of bad management in supply-chain segment. With traceability systems, one can perform more effective audits and share data.

There are several factors affecting supply chain complexity. Due to the customers’ demands to have a product in time and for the reasonable price, it is very difficult to create an efficient supply chain. Finally, we are going to review some problems of supply chain management and traceability which hinder its sustainability:

  • Globalization and Customers’ Demands

In the globalization context, there exists a huge opportunity for fraudsters due to complex supply chains. Normally, a customer wishes to get his product immediately, and for a reasonable price. For this reason, companies have to relocate their manufacturing to countries where the price is lower. Correspondingly, this acquires extended time for implementation. Supply chain requires strict control and verification across all the stages of the process.

  • Food Fraud

A lack of transparency is always the reason for food fraud. With the growth of highly-organized criminal activity, the supply chain often suffers from this natural phenomenon.

However, it is very complicated for food safety systems to effectively detect and mitigate fraud. Therefore, food fraud adversely affects the population’s general state of health, and damages companies’ brands and reputations. According to the Rey Global Food Safety Initiative (GFSI), which provides cutting-edge information on food fraud, the most commonly reported frauds belong to fish, olive oil, milk, and honey.

food_fraud_in_supply_chain

Companies are losing money, and customers are losing faith. Food fraud is estimated to cost the global food industry U.S. $30 billion to $40 billion every year. But that’s just the economic cost.

As a transformative technology, blockchain may resolve this type of problem. This technology will keep all the players in supply chain management open, and record their every operation in a transparent and decentralized way. We will be discussing this huge opportunity in the next section.

  • The Information Gap

A lack of automation not only impacts supply chain organization but also creates uncertainty in finance organization. As shown in Figure 3, an astounding 90% of enterprises report that their global supply chain technology is inadequate to provide the corporate finance organization with the timely information it requires. This information includes accurate costs and delivery dates for budgets, cash flow planning, and management. Thus, the financial productivity of enterprises is being undercut by the lack of the global supply chain visibility and automation, which are vital weapons against uncertainty.

information_gap_supply_chain

supply chain management

A properly-designed traceability system is crucial to ensure that data collection is managed effectively and that the right data are collected. Companies need to exchange traceability data with other actors in the supply chain. The sharing of information and good communication between the different actors in the supply chain are important aspects of successful supply- chain traceability.

  • Non-Compliance with the Standards

Standards provide information about the social and environmental performance of goods and services, including information about the supply chain. When consumers purchase labeled or certified products, they are sufficiently convinced that they are buying sustainable, environmentally-friendly, safe, high-quality products. They trust the standards rather than the product or companies that make the product. The problem is that the systems for implementing standards are never perfect.

  • Lack of transparency

In our everyday lives, we deal with many material products without hesitation to use them. We know a little about the things we purchase at the market or in the stores. It is a long journey for a supplier to deliver the product to the end consumer. A vast network of so many entities and individuals remains obscure in the way it is collaborated and compiled. Production, delivery, supply, storage, and distribution take prolonged time for implementation. The lack of transparency in supply-chain management has a plenty of negative consequences, including food fraud, infections, unsafe working conditions, harmful substances, improper food storage conditions, low-quality products, etc.

In this case, it is worth mentioning the horsemeat scandal, during which sold and supplied beef products in the U.K. were found to contain horse DNA. The mass media announced this on BBC news in April 2013. 50,000 tons of horse meat had been supplied across Europe since 2011. According to the World Health Organization, each year, as many as 600 million (or almost one in ten people in the world) fall ill after consuming contaminated food. Of these, 420,000 people die.

Blockchain Solutions for Supply Chain Management: an Important Tool in Digitized Supply Chains

Blockchain, the ledger technology, is captivating the world with skyrocketing speed. The confirmation of this fact was noted in Quartz, which stated that blockchain has captured corporate executives who cannot afford to ignore it anymore. Compared to last year, blockchain mentions in quarterly reports and conference calls have more than tripled this earnings season. The statistics display that over a period of four weeks in October-November, blockchain mentioning by corporate executives was used 665 times. Robust companies with a wide range of industries are involved in ledger technology. Among them are the following: IBM, Walmart, Estée Lauder, NVIDIA, Oracle, Maersk, Citigroup, Webjet, UPS, Western Union, and others.

During an IBM presentation, Martin Schroeter, CFO, said:

blockchain solutions for supply chain

Has the increase in Bitcoin price had an impact on blockchain chatting? Certainly, yes; it is part of the reason. According to Quartz, there is more likely an assumption that corporate execs are talking about blockchain as the sky-high price of Bitcoin has made the technology impossible to avoid.

blockchain_mentionings

Centralization vs. Decentralization

To start with, let’s figure out what this huge animal called blockchain is, and let’s make a differentiation between centralization and decentralization. Centralization means that all transactions are made via third parties, which all have different internal systems—their own visions and business models.

Due to these factors, there are many frictions and much paper documentation leading to non-compliance with the legitimacy, inefficiency, and obscure state of the situation. In such networks, every participant can change the data history, which creates vulnerability with high-cost payments.

Decentralization is an entirely new and opposite notion. The ledger where all transactions are fixed and saved is immutable and is distributed among all the nodes of the network. Everyone in the network is able to view the transaction history and all the data they have permission to see. Thus, decentralization forms the basis of blockchain technology, ensuring trust, transparency, and traceability within business processes.

Why Is Decentralized Technology Suitable for Modern Supply Chains?

blockchain

This question requires an advanced answer. The aforementioned challenges of supply-chain management strictly indicate the need to take measures for efficiency. Historically, there has been a diverse set of issues affecting the sustainable development of the supply chain. For decades, the supply chain has suffered from three main problems: data visibility, customer demand management, and process optimization. Certainly, blockchain technology cannot serve as the pill to solve all problems, but it may help to improve the process of traceability, trust, and transparency. Ledger-digitized technology is trustworthy because it increases credibility and accountability within and between businesses.

Plenty of industries have implemented blockchain, with its ability to maintain privacy and security in business development. Our aim is to help businesses select and deploy the right blockchain technology for their business cases, as well as to develop applications based on the blockchain. For companies’ insurance, blockchain provides smart contracts between the businesses. This provides an additional level of security and reduces costs without the need for third-party accounting services.

Why Does Supply-Chain Management Really Need this Powerful Digitized Tool? What Does It Predict?

Blockchain is a decentralized, distributed digital ledger providing all participants in the supply chain the ability to conduct business-to-business exchanges. It is a single immutable database, as no one can change or delete the transactions. Therefore, potential fraud schemes are impossible to apply a priori. First of all, blockchain provides transparency, trust, and traceability for supply-chain management. The following advantages of ledger technology may, in the future, totally change the state of supply-chain management.

The advantages of blockchain technology for supply chains:

  • Safe Transactions Among All Players 

A decentralized supply chain is a distributed peer-to-peer network in which all players in the process are able to fix transactions and validate them in real time. Each participant can view the progress of goods across the whole supply-chain ecosystem.

A transparent and shared network is permitted. This means that due to the presence of confidential data, there are restrictions on who can take part and in what capacity, and who can have access to the network. In order to contribute, participants must receive an invitation and then validation.

No other individual can participate in the network; however, validated members can view all transactions made so far without the ability to change them. Based on this specific level of permission, all players in the supply chain have end-to-end visibility of the network.

The decentralized peer-to-peer model allows the involvement of participants in open, transparent collaboration with each other, with no opportunity to cheat or deceive.

  • The Provenance of Traceability

No one can modify or delete the records without the permission of other participants. Blockchain enables the detailed traceability of assets, under the conditions of which they remain the responsible party/owner(s) without question.

Blockchain_food_traceability
Source: Blockchain and food safety with IBN and Walmart (Frank Yiannis)
  • Cybersecurity 

Nowadays, the modern trends in various industries are digital technologies, which can considerably simplify all business operations. With these innovative solutions, however, there are increased risks of cyber attacks. Blockchain technology can help to keep precious data private and protect supply chains’ operations.

In Medium, Marin Ivezic, cybersecurity partner at PwC, shared his opinions in an article on blockchain for cybersecurity: 

blockchain for cybersecurity

He stated that this idea has the potential to become a part of the supply-chain cyber and cyber-physical systems security efforts that are of great concern to countries around the globe, particularly noticeable in the efforts put forth in recent years by the U.S., China, Russia, India, and others.

In summary, it is worth saying that smart contracts built on blockchain are written as code in the blockchain, ensuring trust between the parties. The individuals involved are anonymous, but the contract is a public ledger. The system as a whole is less vulnerable to hacks and unauthorized modifications. No one outside the network can make alterations on blockchain applications or validate them. Only network members have access. Thus, cybersecurity is much more robust and restrains hackers from stealing private data. If you need help implementing your token distribution logics, business behavior, and storage in a decentralized way, the Ethereum ecosystem is the way to go—and we can help.

  • Automotive Operating Costs and Saving Time

There is no need to hire banking systems and auditing services for making payments and finance transfers from payer to payee. Blockchain makes these procedures simple. Secure, rapid operation in minutes saves costs and reduces fees compared to standard audit clearing houses, which take several days to fulfill payment.

  • Fraud prevention

The increase of regulatory and consumer-demand provenance information is of substantial importance for business brands and reputation. In order to conduct criminal schemes, fraudsters delete or change information in accounting systems, substituting documents with their own fake files. On a blockchain network, there is no centralization; every transaction is made across the network between all participants. These transactions are fixed and saved on the shared decentralized ledger, where their visibility and transparency will not allow fraudsters to alter information or delete data. Due to this immutable transaction history, manufacturers’ goods will have provenance.

Let’s see how the history of transactions is created. There is an intelligible explanation provided on the IBM Blog. Before adding a new transaction block on the network, its validation must be agreed to by network participants. This is called consensus. The blocks have a timestamp, are secured by a cryptographic private key, and are linked to the previous block in the chain. You can definitely add a new transaction to the network, but all original records will be open and traceable. In this case, blockchain serves as the network where everyone in the chain can view the asset origin, its owner, and its track of progress.

  • Reduction in Delays Due to Paperwork

Still, some companies undertake manual paperwork, which leads to transportation and payment delays. A decentralized platform will make all these operations quickly, safely, and transparently without third-party involvement. Blockchain implementation promises to be an optimal, high-level solution over the next few years. First, it predicts provision of a secure means for financial transactions and data-sharing. Manual paperwork has errors in orders, invoices, and other related documents due to human nature. Blockchain electronic documents have the potential to be a good substitution.

The Implementation of Blockchain for Supply-Chain Management

blockchain_implementation_in_supply_chain

Blockchain empowers the supply-chain sphere, fundamentally drawing in the interest of big worldwide players who wish to deploy it because of its lack of transparency, especially in the food sector. It has already inspired IT players and startups to launch new pilot projects that have been successfully developed alongside supply-chain management.

Walmart and IBM Collaboration in the Food Safety Alliance

In an IBM press release on 14 December 2017, it was stated that IBM, Walmart, and Tsinghua University have recently announced their collaboration in the Food Safety Alliance to enhance food tracking, traceability, and safety in China, and to achieve greater transparency across the food-supply chain.

It is worth mentioning that IBM and Walmart have already piloted the common blockchain project on tracking food items, including pork in China and mangoes in the U.S.

Walmart’s food safety solutions are built on the IBM blockchain platform. Frank Yinass, Walmart vice president: 

IBM blockchain solutions

He said that all the transparent information will show insights that will allow people to have a safer, more affordable and sustainable food system. It will essentially reduce the time of tracing the goods: from days and weeks to minutes.

The collaboration helps to ensure brand owners’ data privacy while helping them integrate their online and offline traceability for food safety and quality-management channels. Companies that join the alliance will be able to share information using blockchain technology, and plans include them being able to choose the standards-based traceability solution that best suits their needs and legacy systems. This will, in turn, bring greater transparency to the supply chain and introduce new technologies to the retail sector designed to create a safer food environment and enhance the consumer experience.

Technical Blockchain Implementation for the Supply Chain

How to use blockchain for supply-chain management? In this section, we touch on the technical methods of blockchain implementation, models of business processes, blockchain architecture, and client application specifications. Our understanding is that you need the solution that will prove provenance to your customers as well as further optimize resources arising from the benefits of data availability and new approaches to business and technology.

Business Process Modelling. BPMN 2.0

blockchain-bpm

How can you predict the future state of your business and analyze the current one? There is one effective tool called Business Process Modeling. It is a high-priority mechanism for businesses to improve processes, applying functioning tools and navigation for their effective operation. BPM is a mechanism intended to map out a workflow of business processes for analysis and advancement. This method is applied by representing different activities, steps, logical decisions, events, and resources to optimize their efficiency and improve business performance. Visualizations of the processes through diagrams, charts, and maps are used to make better decisions.

We are strongly convinced that streamlined management and well-organized work process are key priorities for smooth and flexible team functioning. BPM combines steps such as Process Mapping, Process Discovery, Process Simulation, Process Analysis, and Process Improvement.

Why Use Business Process Modeling?

In this section, we are going to share the benefits of BPM and why we use it in business cases. Business Process Modeling instruments allow representation of business processes using digital transformation and automated events. In ancient times, work processes were conducted by one person from start to finish. It was definitely a time-consuming and inefficient means of production and operation. It took the last two decades to replace previous organizational techniques once BPM emerged. Through the evolution of process practices, analysts and the creators of business process tools have been learning to describe, reengineer, and standardize business processes. As a result, Business Process Modeling Notation (BPMN) has become something of a standard. The Object Management Group (OMG) has further developed it.

BPM provides plenty of benefits in business performance. Here we share highlights of some of them.

FEATURES of Process Modeling:

  • BPMN combines both IT processes and people processes
  • Process Communication Improvements

Due to a common unified language, communication and decision-making are easier to implement. Well-shaped process modeling offers rapid training for new people. It also minimizes potential danger of staff loss. Mapping and flowcharts are perfect for shaping a good understanding of the situation for business managers, who want to communicate their ideas quickly and clearly.

  • Consistency and Control

The process is executed in a consistent manner with a documented process, rather than relying on people. Modeling rules make decisions better. As for regulatory policy, BPMN ensures compliance with legal regulations by following company guidelines.

  • The Visual Shape of the Processes

Visual representations simplify the understanding of the general picture, making it comprehensive.

  • Operational Efficiency Improvement

Process Simulation is used to promote optimization, allowing analysis and understanding of process flows. It reduces cycle time, increases the productivity of existing resources, and enables better resource utilization.

  • Align Operations

Business Process Modeling is a tool for team members to execute business tasks and activities in accordance with strategy implementation.

Business Process Modelling Notation (BPMN 2.0)

Now we are going to briefly touch upon the technique of BPMN 2.0, which is widely applied across companies and organizations.

BPMN 2.0 is the new industry standard our company applies for businesses to run their processes efficiently. It was last updated in 2011. According to BPMN 2.0 specifications, the primary aim of BPMN is to provide a notation that is readily understandable by all business users, from the business analysts that created the initial drafts of the processes to the businesspeople who will manage and monitor those processes. Thus, BPMN creates a standardized bridge for the gap between business process design and process implementation.

This international standard represents the amalgamation of best practices within the business modeling community to define the notation and semantics of collaboration diagrams, process diagrams, and choreography diagrams. Below is a BPMN core structure schema:

blockchain_business_process

It includes such building blocks as: flow objects (events, activities, gateways), connecting objects (sequence flow, message flow, association), swimlanes (pools and lanes) and artifacts (data objects, text annotation, groups). BPMN is a core part of Business Process Management (BPM), an initiative of enterprise architecture.

BPMN 2.0

Business processes describe how a business pursues its objectives. In the OMG BPMN Tutorial, BPMN is flexible enough to handle all variants of BP. This includes process maps (simple flowcharts of high-level activities), process descriptions (flowcharts with more information), and process models (flowcharts with enough information for analysis, simulation, and execution).

business_process_modelling

Permissioned Blockchain Implementation

We believe that permissioned blockchains should be of great priority for businesses to run. The reason for this is the fact that businesses have a significant amount of confidential information which must be secured and inaccessible to outsiders of the network. The aforementioned blockchain feature of permissions for fraud prevention in supply chains controls access and identity management. We implement permissioned blockchain solutions to make records in the network private. There are restrictions for participation. New members must have an invitation, and then be validated to the permissioned network. This ensures intensified security.

blockchain_for_supply_chain_management
Source: Gavin Wood (2016)

All the transactions in the network are encrypted by the private key, but there is no way to view and alter previous transactions without execution of consensus protocol between the nodes. Each member of the network must solve a complex, resource-intensive cryptographic problem. Hereby, Applicature supports Proof-of-Authority (PoA) consensus algorithms, allowing private setups in the network. It has a number of pre-approved authority nodes that can approve and validate transactions and blocks. Therefore, a new node can be added through approval by the “validator,” who runs software allowing him or her to put transactions in blocks. The process is automated and does not require validators to be constantly monitoring their computers.

So, why use Proof-of-Authority? It is the most suitable engine for private blockchains, being more secured and incentivized. The concept behind PoA is that individuals earn the right to become validators, so there is an incentive to retain the position they have gained. By attaching the reputation to identity, validators are incentivized to uphold the transaction process, as they do not wish to have their identities attached to a negative reputation. This is considered more robust than PoS.

Blockchain Nodes

So, let’s go deeper into blockchain nodes. They are anonymous individuals in the network. To add a transaction to the blockchain ledger by a node, consensus protocol must be adopted. The consensus determines whether the transaction should be validated in the ledger. This is called a block. Each node in the blockchain keeps a copy of the ledger, downloaded automatically upon joining the blockchain network. They propagate transactions and blogs everywhere.

There are different types of actors in a supply chain who can be the nodes in the blockchain network, with the ability to make transactions and record information:

  • producers
  • retailers
  • distributors
  • suppliers
  • end consumers
permissioned_blockchain_for_supply_chain
Source: Resolve

Blockchain Architecture and Client Application Specifications

We understand that you need the solution that will provide provenance to your customers, as well as further optimize resources via the benefits of data availability and new approaches to business and technology. We would like to share with you our experience and knowledge on traceability implementation to your supply-chain business processes.  

This first phase is to review your business processes together and decide which of them to include in a blockchain-based traceability project. Once the roadmap of the project has been generated, including goals, it’s time to get the definition of the architecture and the research of top candidates for blockchain deployment. Technical architecture includes the following steps:

  • generating an overall architecture schema
  • considerations for blockchain implementation
  • research and list of blockchain platforms for deployment
  • Visual Wireframes for the minimal version user-facing applications

The next phase covers the proof of technical assumptions and the validation of the risks standing between us and successful final proof of concept. Within a technical feasibility project, we deploy the selected blockchain candidates and run all necessary tests to confirm the match with our criteria. We intend to deliver the most appropriate configuration in its early stages of development, usable for the Proof of Concept.

Proof of Concept is a project to implement the most critical and essential functionality and provide projected business results. Proof of Concept will be a multicomponent solution containing:

  • blockchain-based distributed server-side data storage/data bus
  • centralized or decentralized business logic applications or smart contracts
  • critical-version user mobile application
  • critical-version user-facing dashboard web application

Registration of Supply Chains and User Mobile Apps

Everyone in supply chain management has the account, with access via private key. Some of them can have a lot of information, while others have restricted data. The registration process is as follows: participants request to register their identities on the blockchain, and the registration authority verifies the identity; all results are recorded on the network, being visible to all the participants, or anonymously, depending on the situation.

The essential part of blockchain implementation for supply chains concerns the linking of physical goods and products with their digital representation in the blockchain network, and a user-friendly interface, as well. On smartphone applications, there is the option to scan bar codes or serial numbers, which are linked to blockchain identifiers for simple, easy usage of the technology. There is no difference from UI, whether it is connected to API and database, or to a blockchain. Therefore, the actors in the blockchain do not undergo paradigm shifts.

blockchain_for_supply_chain_mobile_apps

Due to the strong integrity of the blockchain network, the customer can view the information on the product supply chain in real time. The mobile-readable cryptographic QR-code on the product’s labels is designed for customers to easily verify the origin of the material, ingredients, traceability, etc.

User-Facing Web Dashboards

Using AI algorithms and big data enables businesses to leverage historic trip sheets and real-time data to estimate time of delivery, optimize vehicle routes, and sequence deliveries using information on local conditions like traffic and weather.

In order to provide valuable insight into the performance of drivers, facilities, and operations, data-driven dashboards are used. They enable organizations to examine key performance indicators like total travel time, helping to benchmark and improve service planning.

There is a flexible system supported by dashboards for managers and administrators who need to monitor, analyze, and manage the supply chain performance. Web dashboards support examination of the statistics of the goods, and these are comfortable for viewing from a user perspective. Since there is a time log, UI changes can be applied to depict the history of changes.

Event Sourcing and CQRS

All blockchains are actually event-sourcing systems, the principles of which are congruent with blockchain. Event sourcing is the programming pattern that propagates a series of industry domain events to be saved in storage for future usage, and the application state is defined based upon the history of the events influencing it.

Event sourcing offers good innovation on top of an entity-focused approach by providing the ability to not only get the current state of the entity but also to review the history that led to the current state. It means that the state of the application is determined by the sequence of events.

Basically, any source control system operates using this approach. It has a history of all the changes that have ever been made to the source code system, with the option to rebuild the current state at any time.

Why Use Event Source for Your System?

Why is the usage of this pattern useful and necessary for many systems? Let’s explain the reasons. The first great advantage is that event sourcing provides an audit trail, when every change in data is logged in a particularly strong, processable way that gives more confidence. The second powerful reason is its debugging technique, enabling one to copy the productive system into a lab and making it possible to view errors and bugs by replaying the events. With the extra monitoring code, you can see the reasons for debugging. In the event log and application state context, we can view all the states through the history. Thus, the third reason is the ability to embed the historical state into the application state itself, rolling back to the past states of the code with the event log.

The substantial factor that differentiates blockchain from event sourcing is the immutable feature. It is the basis of the whole concept: we can’t change what happened, but we can manage the system reaction and change of state based on the events. Therefore, blockchain, due to its core principle of immutability, is theoretically an ideal implementation of event sourcing for supply chains. We use this powerful approach in logistics, as well.

Event sourcing has a symbiotic relationship with CQRS, command query responsibility segregation. CQRS allows event sourcing to be used as the data-storage mechanism for the domain. The main idea of CQRS is that it separates the processing of updates from the provision of queries, providing two separate models: one for dealing with updates, and the other for reads.  Consequently, this means you can use a different model to update information than the model you use to read information. According to Martin Fawler, British software developer, for some situations, this separation can be valuable, but for most systems, CQRS adds risky complexity.

Martin Fawler displayed the difference between the traditional architecture and CQRS architecture in the following schemes:

blockchain_event_source
Traditional architecture
CQRS_blockchain
CQRS architecture

The crucial benefit of this approach is the presence of separate software components.

The combination of event sourcing and CQRS is also represented in the Greg Young documents, in which he depicts the intersection of these two concepts within a system where domain-driven design has been applied. According to Greg, event sourcing is also very important when building out a non-trivial CQRS based system. The problem with integration between the two models is a large one. The maintenance of relational models, one for read and the other for write, is quite costly. It becomes especially costly when you factor in that there is also an event model to synchronize the two. With event sourcing, the event model is also the persistence model on the write side. This drastically lowers costs of development, as no conversion between models is needed.

Conclusions

  1. Each participant of the blockchain network can view the progress of goods across the whole supply chain ecosystem. A decentralized, peer-to-peer model allows involvement of the participants in open transparent collaboration with each other, with no opportunity to cheat or deceive.
  2. No one can delete or change the transaction without consensus from other players on the chain.
  3. Blockchain enables the detailed traceability of assets, their progress, the conditions under which they stay, how they were produced/when and where, and the responsible party owning it, in real time.
  4. Blockchain technology can help to keep precious data private and protect supply chains’ operations.
  5. Smart contracts built on blockchain are written as code in the blockchain, ensuring trust between the parties. The individuals involved are anonymous, but the contract is a public ledger. They are less vulnerable to hacks and unauthorized modifications.
  6. Secure, rapid operation in minutes saves costs and reduces fees.
  7. A decentralized platform makes all the operations quick, safe, and transparent without third-party involvement. The blockchain solution will reduce transportation and payment delays.
  8. Due to the immutable transaction history, the producer’s goods will have provenance. On a blockchain network, there is no centralization; every transaction is made across the network between all participants. Transactions are fixed and saved on a shared, decentralized ledger, where their visibility and transparency will not allow fraudsters to alter the information and delete data.

 

Insights from our Consulting Department

December 1, 2022
Applicature helps Kingaru with development, funding and token launch for Web3 immersive e-commerce
October 3, 2022
Dissecting Crypto Winter— Opportunities for Family Offices and Private Funds

Leave a Reply

Your email address will not be published. Required fields are marked *

+1-209-813-2474 |  25 Belle Avenue, San Rafael