Decentralized and Distributed Databases, Explained

Published at: Dec. 2, 2017

What is a database?

A database is an organized collection of information or data.

Nowadays there is a large stream of information, and the challenge is to store it in a way that you can easily find and use it whenever you need it. The databases can be divided into three types:

Centralized. All the data is a unified body that is stored on one computer. To get the information you have to connect to the main computer called server.

Decentralized. It means that there is no central storage. Some servers provide information to the clients. The servers are connected with each other.

Distributed. There are no data storages. All the nodes contain information. The clients are equal and have equal rights.

How are classic databases applied in real life?

Though they have been used for a long time, there are a number of issues.

Security. If someone has access to the server with the information, any data can be added, changed, and removed.

Reliability. If there are a number of requests, the server can break down and no longer respond.

Accessibility. If the central storage has problems, you will not be able to get your information unless the problems are solved. In addition, different users have different needs, but the processes are uniformed and can be inconvenient for the clients.

Data transfer rates. If the nodes are located in different countries or continents, the connection with the server may become a problem.

Scalability. The centralized networks are hard to scale since the capacity of the server is limited, and the traffic cannot be infinite.

Decentralized and distributed databases can solve these problems.

Can decentralized databases solve the security issue?

Well, they do not have any centralized storage.

And it means that all the data is distributed between the nodes of the network. If something is added, edited or deleted on any computer, it will be reflected in all the computers of the network. If there are some legal amendments accepted, new information will be spread among other users throughout the network. Otherwise, the data will be backed up to coincide with the other nodes. Thus, the system is self-sufficient and self-regulating. The databases are protected from deliberate attacks or accidental changes of information.

What about the reliability, accessibility and data transfer rates?

Decentralized networks can withstand the significant pressure on the network.

All the nodes of the network have the data. So, the requests are distributed between the nodes. Therefore, the pressure doesn’t fall on one computer, but on all the network. In this case, the total capacity of the network is much larger than the centralized one has.

Since the number of computers in the decentralized or distributed network is large, DDoS attacks are possible only in case their capacity is much larger than that of the network. But that would be a very expensive attack. In a centralized model the response time is very in this case. Therefore, it can be considered that decentralized and distributed networks are safe.

The users might be located all over the world, and don’t forget about possible Internet connection issues. In decentralized and distributed networks the client can choose the node and work with all required information.

And scalability?

A centralized network cannot expand significantly.

In a centralized model, all the clients are connected to the server. Only the server stores all the data. Therefore, all requests about receiving, changing, adding or removing the data passes through the main computer. But the server resources are finite. Consequently, it is able to carry out its work effectively only for the specific number of participants. If the number of clients is larger, the server load may exceed the limit during the peak time. Decentralized and distributed models don’t have this problem since the load is shared between several computers.

How can these decentralized and distributed databases be applied?

The databases accelerate the communication between different parties in the production lane.

Let’s consider the following example. In the entire life, the car passes many stages: from assembly, sale, insurance, all the way to utilization. At each step, a lot of documentation and reports are developed. If any clarification is needed, the requests to different authorities are sent. It takes a lot of time. Locations, language miscommunication, bureaucracy may become serious problems.

The Blockchain is able to avoid these problems. All the information about each car is stored on the network. This data cannot be removed or changed without a participant’s approval. And you can access the information you need anytime. And smart contracts facilitate the Blockchain implementation. A really great example of how this actually works is CarFix. The team is working on developing the whole vehicle life cycle using Blockchain. To find out more go here.

 

Disclaimer. Cointelegraph does not endorse any content or product on this page. While we aim at providing you all important information that we could obtain, readers should do their own research before taking any actions related to the company and carry full responsibility for their decisions, nor this article can be considered as an investment advice.

Tags
Related Posts
An Ethereum 2.0 Proof-of-Stake Testnet Blockchain Is Now Live
An Ethereum (ETH) 2.0 Proof-of-Stake (PoS) testnet beacon blockchain is now live. Preston Van Loon, co-founder of sharding development firm Prysmatic Labs, announced the development in a Medium post on May 7. Ethereum 2.0 is an upcoming new Ethereum chain featuring improvements in security, scalability, and decentralization. Ethereum 2.0 would not be introduced to the current Ethereum network by means of a hard fork. Instead, users will be able to transfer value from the current Proof-of-Work (PoW) chain via a one-way smart contract. The announcement also notes that shards are a core concept behind Ethereum 2.0. Shards are individual chains …
Decentralization / May 8, 2019
Finance Redefined: Two DeFi hacks top $120M, and $500M Algo Fund launches, Nov. 26–Dec. 3
Welcome to the latest edition of Cointelegraph’s decentralized finance newsletter. A week packed with positive advancements in the DeFi space including nine-figure fund raises, successful product launches and soaring token prices was somewhat tarnished by the news of two severe security exploits. Read on to get the full scope of developments across the week. What you’re about to read is the smaller version of this newsletter designed for brevity. For the full version of DeFi’s developments over the last week, drop your email below. Borderless Capital launches $500M fund to support Algorand ecosystem Capital venture firm Borderless Capital announced the …
Decentralization / Dec. 3, 2021
Crypto companies aim to build trust within future products and services
The cryptocurrency ecosystem underwent a turbulent year in 2022. Criticism inside and outside of the crypto industry was fueled following the collapse of FTX, Celsius, Three Arrows Capital and the Terra ecosystem. A number of losses have been recorded from these events. Blockchain analytics firm Chainalysis released a report in December of last year, which noted that the depegging of Terra’s stablecoin, Terra USD Classic (USTC), saw weekly-realized losses peak at $20.5 billion. Findings further show that the subsequent collapse of Three Arrows Capital and Celsius in June 2022 saw weekly-realized losses reach $33 billion. While these events may have …
Decentralization / Jan. 6, 2023
Top 7 blockchain courses and certifications for beginners
Blockchain courses and certifications can play an important role in helping individuals gain a comprehensive understanding of blockchain technology and its applications. By completing these courses, individuals can develop technical skills, stay current with industry developments, enhance their career opportunities and increase their earning potential. Here are seven blockchain courses and certifications for beginners. INE’s Blockchain Security INE’s Blockchain Security course is an online course offered by Internetwork Expert (INE) that provides a comprehensive overview of the security aspects of blockchain technology. The course covers various topics such as consensus algorithms, cryptography, network security, smart contract security, and blockchain attacks …
Decentralization / Feb. 2, 2023
The role of decentralized networks in a data-abundant, hyperconnected world
When it comes to computer data storage, it can seem like we are running out of numbers. If you are old enough, you may remember when diskette storage was measured in kilobytes in the 1980s. If you are a little younger, you are probably more familiar with the thumb drives denominated in gigabytes or hard drives that hold terabytes today. Humanity’s unfathomable data footprint But we are now producing data at an unprecedented rate. As a result, we are going to need to be able to grasp numbers so large that they seem almost beyond human comprehension. In order to …
Decentralization / March 14, 2021