CriptoAuge Technology System

4.1 Exchange Trading Architecture

The CriptoAuge exchange system adopts an advanced distributed cluster architecture and microservices development approach. It uses a three-layer security protection system, including Web Application Firewall (WAF), database firewall, and full-process encryption of stored data to ensure system security. It also features asset anomaly alerts and intelligent blocking, providing real-time emergency response and risk assessment.

  1. Layered Structure

In the system design of the CriptoAuge exchange, the principle of "high cohesion and low coupling" is adopted, separating and layering the user interface layer (also known as the presentation layer), the business logic layer (also known as the domain layer), and the data access layer.

  1. Distributed System

The distributed system of the CriptoAuge exchange is built on a distributed operating environment, where each database node is highly autonomous with its own local database management system. Users cannot perceive where the data is located or where transactions are executed.

  1. Three-layer Protection System

In terms of system security protection, the CriptoAuge exchange uses a three-layer protection system, including Web Application Firewall (WAF), database firewall, and full-process encryption of stored data to ensure system security.

  1. System Professional Keywords

.net core kafka, redis, api, rabbitmq backend services, scheduling tasks, wallet services, real-time push, high-frequency trading applications.

  1. System Security and Risk Control Measures

Currently, the CriptoAuge exchange has developed over 30 security and risk control measures in-house; in addition, it collaborates with top global technology companies to collectively possess more than 100 security and risk control measures. Through strict standards and multi-layered risk control, it provides professional, secure, and stable digital asset trading services globally. In the future, the exchange will continue to upgrade its security and introduce more security and risk control measures.

The CriptoAuge exchange system uses a distributed architecture and a three-layer protection system. It ensures system security with Web Application Firewall (WAF), database firewall, and full-process encryption of stored data. It also features 24/7 intelligent monitoring and situational awareness, real-time vulnerability scanning, asset anomaly alerts, and intelligent blocking, providing continuous emergency response and risk assessment.

The CriptoAuge exchange uses isolated hot and cold wallets and multi-signature protection to fully safeguard users' funds. Data transmission is secured with SSL encryption. The account system employs multiple verifications such as password, email, SMS, and Google verification to protect user information and assets. The system also supports protection against brute-force attacks and credential stuffing, as well as anti-spam measures and spider risk management. Additionally, in collaboration with third parties, the exchange provides DDoS defense, traffic scrubbing, CC protection, and intrusion prevention.

4.2 Matching Engine System

Based on the underlying protocol of the CriptoAuge exchange, the self-developed matching engine is a backend service system named CriptoAuge Service. Generally speaking, a financial trading matching engine system mainly includes the following core modules:

  1. User

Terminal users place orders with quotes and quantities, which are then sent to the trading platform.

  1. Gateway

It is responsible for collecting user orders and dispatching them to the matching engine.

  1. Matching Engine

The core part of the trading system, it receives orders and implements them based on business logic, generating trade records and providing users with feedback on the transaction results.

  1. Database

It stores orders and trade records during the trading process, achieving data persistence.

The self-developed CriptoAuge Service by the exchange mainly features:

  • Cross-platform support for Linux, OSX, and Windows;
  • Low-latency HFT and in-memory working state, supporting multi-core CPU parallelism;
  • Support for non-floating-point calculations to avoid precision loss;
  • Object pooling to reduce garbage collection pressure, with commonly used pointers in the pool;
  • Support for continuous integration and multi-system use.

There are two language versions internally: the .net core commercial version and the golang laboratory version.

4.3 Matching Engine TPS

  1. TPS

TPS, short for Transactions Per Second, refers to the system throughput within CriptoAuge and is a commonly used keyword by the CriptoAuge software testing department. It primarily describes the process where a client sends a request to the server and the server responds. The client starts timing when sending the request and stops timing upon receiving the server's response, thereby calculating the time used and the number of transactions completed.

  1. Matching TPS

Matching TPS refers to the number of transactions the matching engine can process per second.

The size of TPS is not only affected by the performance of the matching engine's algorithm but also constrained by factors such as server bandwidth, CPU power, memory, and IO.

TPS is closely related to the business process, especially IO and locking operations. Therefore, many systems that claim TPS of over a million often only refer to the simplest order placement operation. However, actual exchange business involves much more than just placing orders. An accurate measurement of TPS should cover the following seven steps: placing a limit order + modifying the order book + handling funds + recording transactions + statistics + generating K-lines + pushing notifications.

According to CriptoAuge's internal definition of the seven process steps, a single-machine computer with 4 cores and 8GB of memory can achieve 1500TPS in testing, while a single-machine server with 8 cores and 16GB of memory can achieve 3000TPS. To achieve higher TPS, efforts need to be made in the database. CriptoAuge's platform laboratory has previously announced a data read speed of over 1Gbps from MemSQL.

4.4 Decentralized Trading Upgrade

The CriptoAuge exchange will continue to upgrade to a decentralized trading platform. Although centralized trading platforms are currently the mainstream in the market, they are not the future direction. Centralized trading platforms, due to their integrated trading engines and intermediated operating models, are prone to internal fraud and external hacking risks. In contrast, decentralized trading platforms, supported by blockchain and cryptographic technologies, offer advantages such as low transaction costs, strong security, and the elimination of potential internal risks associated with centralized trading. They provide a revolutionary new solution to address industry pain points.

  1. Cross-chain trading

CriptoAuge utilizes cryptocurrency swap technology to enable asset exchanges between accounts holding different chains in a trustless manner.

  1. Data on-chain

CriptoAuge will implement on-chain data storage, including user comments, published articles, chat records between user communities, and user transaction records. The sole purpose is to ensure that all data occurring on CriptoAuge is effectively preserved and protected from tampering. On-chain data does not mean public data or public privacy. Different data has different permission levels, and users can choose different permission levels to restrict access to personal information.

  1. The concept of a relayer.

Technically, to achieve trustless cross-chain transactions, two counterparty transactions need to create tasks on their respective chains, and their task processing must remain consistent, meaning either both are executed or neither is executed. CriptoAuge can create an effective alternative method, using tokens on external chains and issued assets to represent assets on the ledger chain. This approach alleviates pressure on the main chain and eliminates the need to wait for extensive block confirmation times. When users intend to withdraw or deposit assets, corresponding requests are created. To successfully match order requests from different users, we provide an order-matching market, namely the atomic swap market. When depositors and withdrawers with complementary demands find each other in the market, an atomic swap occurs between them, and each party obtains the assets they require.

  1. Shared liquidity

CriptoAuge will adopt the relayer order book technology of open-source decentralized trading protocols, broadcasting orders to one or more trading platforms to achieve decentralized off-chain matching trades. This collaborative yet competitive matching mechanism can offer users more favorable execution prices and greater liquidity.

  1. Trustless trading mechanism

CriptoAuge will employ a distributed network architecture, not only eliminating the single point of failure inherent in centralized systems to ensure uninterrupted operation but also completely eliminating counterparty risk as each transaction is automatically settled.

Based on its decentralized and open characteristics, CriptoAuge will build the exchange on a decentralized blockchain platform, removing intermediaries and providing users with peer-to-peer direct trading capabilities. The ultimate form of CriptoAuge in the future will be an open brokerage model.

For example, one of the main advantages of CriptoAuge in the future is its privacy and anonymity. In CriptoAuge, users conduct transaction transfers and account control through public and private keys, without the need for KYC as required by most centralized exchanges to access all trading functions. In CriptoAuge, users simply need to create a username and password, then import an existing wallet or create a new one to start trading. It offers users 24/7, year-round, full-time-zone online services. This feature provides the perfect trading venue for users who value privacy and wish to remain anonymous.

4.5 Technical Advantages

  1. High security

The CriptoAuge exchange will be built on its own developed underlying blockchain network and will draw on established public chain systems to ensure the highest level of security.

  1. Transaction speed

The self-developed underlying blockchain network of the CriptoAuge exchange ensures that users can enjoy top-tier trading speed experiences, maintaining the highest TPS for trading speed.

  1. Transparency

The CriptoAuge exchange will put trading information on the chain, eliminating the potential for inflated IOUs, misuse of user margin funds, and market betting that can occur in centralized trading platforms; reducing the risk of using trading platforms and increasing their transparency.

  1. Privacy

Many centralized trading platforms collect user information through KYC, increasing the risk of user information leakage. The CriptoAuge exchange will encrypt user and transaction information using cryptographic techniques to protect the privacy of user information.

  1. Low transaction costs

The CriptoAuge exchange will offer flexible and diverse trading options for users. Users with large trading volumes can choose to put the entire trading process on the chain, which provides the highest level of transaction security. However, since each step requires Gas fees, the trading cost is relatively high. Users with small trading volumes or no security requirements can choose to put only part of the trading process on the chain, placing only the settlement information of the transaction on the chain, while matching, custody, and other processes are conducted off-chain, resulting in lower trading costs.