Pending API and Streaming API Performance Improvements

TON CoreПодтверждён, @toncore

Открыть в Telegram
#122Текст

Переслано из Toncenter API

Pending API and Streaming API Performance Improvements We’ve shipped a major performance update to the Pending API, Streaming API and trace processing pipeline. Key improvements: — Moved action classification to C++ and integrated it directly into the Trace Emulator. — Moved external message TTL tracking into the Trace Emulator, removing a separate service from the pipeline. — Reduced Redis reads across trace processing and Streaming API. — Made confirmed → finalized trace promotion significantly cheaper by avoiding full trace reprocessing. With these changes, performance increased by a factor of 2.5. The system demonstrated stability during testing on a testnet at 1,500 TPS on the blockchain. No changes are required on the part of customers.

Открыть в Telegram
Просмотры2 224+9%к среднему
Пересылки9
Реакции50
Комментарии—

Реакции

  • ❤25
  • 🔥10
  • 👍6
  • 🤝5
  • 🌭1
  • 🍾1
  • 💩1
  • 🤡1

Ещё посты канала TON Core

  1. 01

    LLM-based content moderation in Toncenter API Toncenter API now automatically filters inappropriate token images (NFTs and Jettons) using an LLM-based moderation system. Following the reduction in TON transaction fees, spam and inappropriate content distributed as NFTs have become more noticeable on the network. Building on its existing manual moderation tools, Toncenter has introduced an LLM-based image analyzer. Images flagged as inappropriate are now served by the API in blurred form. No changes are required for services already using Toncenter API. Guidelines for Services Toncenter API v3 metadata includes the following fields to help services handle potentially unsafe or malicious tokens: - is_nsfw — marks tokens that have been identified as unsafe or potentially unsafe; - is_scam — marks tokens associated with scams or spam; - extra._image_big, extra._image_medium, and extra._image_small — contain links to processed token images. Images are resized to standard presets and automatically blurred when a token is marked as unsafe. To better protect users, we recommend using an opt-in approach when displaying tokens in wallets, explorers, and other services. By default, show only well-known or trusted tokens and their images. Other tokens and their images should be displayed only after the user explicitly chooses to enable them. Please note: LLM-based filtering provides an additional layer of protection, but no automated filtering system can guarantee 100% accuracy. Both false negatives and false positives may occur.

    Текст
    Просмотры2,64 тыс.
    Пересылки16
    Реакции61
    Комментарии—
  2. 02

    Без текста

    Фотоальбом
    Просмотры2,42 тыс.
    Пересылки25
    Реакции—
    Комментарии—
  3. 03
    Просмотры2,09 тыс.
    Пересылки25
    Реакции63
    Комментарии—
  4. 04
    Просмотры2,07 тыс.
    Пересылки17
    Реакции51
    Комментарии—
  5. 05
    Просмотры2,04 тыс.
    Пересылки25
    Реакции52
    Комментарии—

Все посты канала TON Core