Blueprint 1 · Real-Time ML Inference

データレイヤーでのML推論
外部モデルの提供は不要

データが移動する前、トランザクションが行われるストリーミングデータパイプライン内で、ML推論を直接実行。

全てのブループリントに戻る »

100ms

検出レイテンシ、Kafkaパス

4

PoCインフラストラクチャ上で
検証された推論パス

100%

オンプレミスのデータ:
クラウドのMLサービスへの依存なし

アーキテクチャ

仕組み

Blueprint 01

データの動き

アーキテクチャフロー

01  ソース  

トランザクションイベントは、EDB Postgres® AI(EDB PG AI)に直接書き込まれ、運用システムとしての記録を提供。EDB Postgres Distributedが真の情報源となり、4つの分析および推論経路はWALを介してデータを読込むため、処理が開始される前にデータを移動する必要がない。

  • Debezium
02  ストリーム  

DebeziumはWALの変更をキャプチャし、それをKafkaにストリーミング。Kafkaはイベントを3つの並列の下流経路にルーティング:Kafkaダイレクト、ClickHouse(CDC経由)、RisingWave(CDC経由)。4つ目の経路であるPGAAはKafkaとは独立してWALを読込む。(注:Redpandaは検証済みのKafka互換の代替品)

  • Kafka/Redpanda
03  集約  

RisingWaveはストリーミングされたマテリアライズドビューを計算し、支出の傾向、地理的異常スコア、速度チェックを実施。ClickHouseは複雑な履歴集約のために90日間の行動基準比較を行う。

  • RisingWave
04  推論  

XGBoost MLモデルは4つの経路すべてで推論を実行し、PoCからの測定されたレイテンシーは次の通り:Kafkaダイレクト <100ms TTDF; PGAA ~1500ms(WAL→Iceberg);ClickHouse ~3000ms;RisingWave ~4200ms。(注:KServe + NVIDIA NIMはEDB PG AIでサポートされているが、現在のオープンソースリリースには含まれていない。MLflowはサポートされてるが、現在のリリースには統合されていない。)

  • NVIDIA NIM
05 ガバナンス  

ヒューマンインザループの意思決定ゲートは、高リスクエージェントの行動に対するポリシーを実行前に適用。Lakekeeper(Vakamo)はIceberg RESTカタログを提供し、すべての推論経路におけるデータの系譜とアクセス制御を管理する。

  • LAKEKEEPER(VAKAMO)
06  持続  

不正予測と運用警告はEDB PG AIに書戻される。過去の推論結果は、監査、モデル再訓練、長期分析のためにMinIO上のIcebergテーブルに格納される。

  • MINIO

Blueprint 1 · PARTNER STACK

Validated partners in this blueprint

Airflow (Astronomer)

Orchestrates the full lakehouse pipeline — ingestion, dbt transformation triggers, and WarehousePG analytical load — reliably at scale.
Transformation BP 01 BP 03

dbt

Transforms source data natively in Postgres, aligned to BCBS 239, EBA ITS, OMOP CDM, with full lineage per run.
Transformation BP 01 BP 03

Grafana

Monitors Airflow pipeline health, WarehousePG query performance, and lakehouse telemetry in a unified real-time view.
Visualization BP 01 BP 02 BP 03

Jupyter

Connects data scientists directly to governed WarehousePG and Iceberg data for population health and regulatory research.
Development BP 01 BP 03

Kafka / Redpanda

Streams high-velocity event data directly into EDB PG AI pipelines as queryable, transactional records — the ingest backbone for all three inference paths.
Streaming BP 01 BP 02

KServe + NVIDIA NIM

Deploys GPU-optimized model endpoints that execute inference directly against live Postgres data — co-located, not external.
AI serving BP 01

Lakekeeper (Vakamo)

Governs Iceberg table metadata across the lakehouse — unified access control, lineage, and discoverability for regulatory consumers.
Storage BP 01 BP 03

Langflow

Orchestrates LLM reasoning pipelines over Analytics Engine retrieval results, using EDB PG AI as the agent runtime and state layer.
AI/ML BP 01

MinIO

Provides sovereign S3-compatible object storage for Iceberg-formatted inference results, model artifacts, and long-term analytics data.
Storage BP 01 BP 02 BP 03

MLflow

Tracks every model version, experiment, and deployment decision tied to EDB PG AI pipeline runs — full lineage from data to inference.
AI/ML BP 01

RisingWave

Computes streaming materialized views in SQL, producing aggregated features for the ML inference layer in real time.
Streaming BP 01

業界別ユースケース

本番環境でのBlueprint 1

  • BFSI
    BFSI

    リアルタイム不正検知

    ある大手銀行は毎秒5万件の取引を処理している。バッチ処理による不正検知では、検知に15分かかる。Kafkaストリーミングパス内にXGBoostを導入することで、検知レイテンシを15分から500ミリ秒に短縮できる。3つの並列推論パスにより、即座にブロック判定と行動コンテキストの強化を同時に行うことができる。すべてのデータはオンプレミスに保持され、クラウドの機械学習サービスへの依存はない。

検証済みデプロイ環境

オンプレミス、IBM Power、EDBエンジニアリングシステム、または任意のクラウド上で稼働し、すべての環境で一貫したPostgresインターフェースを提供。

Logos

オープンソースのBlueprint 1を今すぐ試してみませんか?

金融サービス業界向け不正検出機能の完全な実装はGitHubで公開されています。
デプロイ、フォーク、または既存のコードを基に開発を進めてください。