Skip to main content

Container image build repository for market data processing servers

Project description

License PyPI Downloads Build Status Publish to PyPI CodeQL Advanced GitHub issues GitHub pull requests

kuhl-haus-mdp-servers

Container image build repository for market data platform data plane servers.

Overview

This package provides the server entry points and Docker container images for the Kuhl Haus Market Data Platform (MDP) data plane. Each server wraps components from the kuhl-haus-mdp library and runs as an independently scalable container in Kubernetes.

Servers

Market Data Listener (MDL)

WebSocket client connecting to Massive.com, routing events to RabbitMQ queues with minimal processing overhead.

Market Data Processor (MDP)

Horizontally-scalable event processor with semaphore-based concurrency, delegating to pluggable analyzers and writing results to Redis cache.

Leaderboard Analyzer (LBA)

Redis pub/sub consumer running leaderboard and trade analyzers with sequential message processing.

Widget Data Service (WDS)

FastAPI/WebSocket-to-Redis bridge providing real-time streaming to client applications with fan-out pattern.

Each server has a standard Dockerfile and an OpenTelemetry-instrumented variant (*_otel.Dockerfile) for production observability.

Container Images

Server

Dockerfile

Entry Point

MDL

mdl.Dockerfile / mdl_otel.Dockerfile

kuhl_haus.servers.mdl_server:app

MDP

mdp.Dockerfile / mdp_otel.Dockerfile

kuhl_haus.servers.mdp_server:app

LBA

lba.Dockerfile / lba_otel.Dockerfile

kuhl_haus.servers.lba_server:app

WDS

wds.Dockerfile / wds_otel.Dockerfile

kuhl_haus.servers.wds_server:app

All images extend base.Dockerfile, which installs dependencies and the package in editable mode.

Code Organization

The platform consists of four main packages:

  • Market data processing library (kuhl-haus-mdp) - Core library with shared data processing logic

  • Backend Services (kuhl-haus-mdp-servers) - Market data listener, processor, and widget service

  • Frontend Application (kuhl-haus-mdp-app) - Web-based user interface and API

  • Deployment Automation (kuhl-haus-mdp-deployment) - Docker Compose, Ansible playbooks and Kubernetes manifests for environment provisioning

Documentation

For architecture details, component descriptions, and API reference, see the kuhl-haus-mdp documentation on Read the Docs.

Additional Resources

📖 Blog Series:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kuhl_haus_mdp_servers-0.1.27.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kuhl_haus_mdp_servers-0.1.27-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file kuhl_haus_mdp_servers-0.1.27.tar.gz.

File metadata

  • Download URL: kuhl_haus_mdp_servers-0.1.27.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kuhl_haus_mdp_servers-0.1.27.tar.gz
Algorithm Hash digest
SHA256 fafaa1647dc9d7f458d9ee7b82cbd0ba93eefb65666beeee821283bf1c7a217e
MD5 4ee3c920bbef5cd08e62f81903ec222d
BLAKE2b-256 bacf6e5341b478ad2d2c35384cf2b6f4441839a1c7d2cd8bcd4106863c359162

See more details on using hashes here.

Provenance

The following attestation bundles were made for kuhl_haus_mdp_servers-0.1.27.tar.gz:

Publisher: publish-to-pypi.yml on kuhl-haus/kuhl-haus-mdp-servers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kuhl_haus_mdp_servers-0.1.27-py3-none-any.whl.

File metadata

File hashes

Hashes for kuhl_haus_mdp_servers-0.1.27-py3-none-any.whl
Algorithm Hash digest
SHA256 3a552429459914f37026ca753801ed347b675b6f4ac5a8e76a2d0264e87dd3f0
MD5 a6c4fa5a876d45cae1e2e87d53f2f0e8
BLAKE2b-256 a4984952a178e343d4da30cd6a43f6e87844310f32f94fe5d6aaa70ba833f57a

See more details on using hashes here.

Provenance

The following attestation bundles were made for kuhl_haus_mdp_servers-0.1.27-py3-none-any.whl:

Publisher: publish-to-pypi.yml on kuhl-haus/kuhl-haus-mdp-servers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page