NGK introduces advanced database query functions, supports object-relational query language (NoSQL) similar to MongoDB, and introduces a new form of data processing, Google MapReduce. The NGK will provide database migration tools to quickly transfer traditional centralized databases to the blockchain databases.
What is modularity? For example, when we were young, we played building blocks. If we want to build a house, we don’t put it together from bottom to top all at once. Instead, we put together a horizontal bar, a vertical bar, a circle, etc. to form a window, a wall, a roof, and other components. These components are like modules. It has certain functions and can be used separately. Modules from different frameworks and libraries have many similar functions. Your building blocks are made of plastic and theirs are made of wood. If API can be matched, it can be used universally. From the perspective of blockchain developers, the development efficiency is greatly improved, and the stability is ensured in general.
The NGK protocol layering includes consensus management layer, block tree management layer, interchain processing layer, transaction processing layer, data format layer, peer-to-peer network, and the Internet protocol layer.
The components of the NGK system are pluggable consensus models, pluggable business logic containers, database management components, database operation components, database query components, shared peer-to-peer network services, full nodes for blockchain processing, light node cold and hot wallet, and browser wallet;
The NGK platform introduces a unique main chain and side chain model. Blockchain S is regarded as a side chain of another blockchain M. If S satisfies: Awareness: The S’s full node is also M’s full node, and all transactions of M are processed in synchronization: S follows the synchronization of M. Correspondingly, M is regarded as the main chain of S.
The synchronization handles the block ordering problem between two blockchain platforms. Imagine that the blockchain is an abstract clock, and each block ticks for a responding clock. It is called an abstract clock because it has nothing to do with the local timestamp written into the block. The timestamp is a local value, and it cannot determine the correct sequence of events globally. The block height in the blockchain can determine a global time series. Observers can safely assume that the event in the previous block always occurs before the event in the next block, regardless of the timestamps of the two blocks.
The NGK platform plans to provide the toolkit needed to build a blockchain for applications. The blockchain template allows users to choose from different protocol parameters and pluggable components (e.g. consensus models). Once the template and options are determined, the toolkit provided by the NGK platform may even deploy a brand new blockchain for the application before the specific business logic required by the application is fully developed.