Skip to main content

Core module for Fishnet compute-over-data (CoD) network on Aleph.im

Project description

Fishnet

Fishnet stands for Financial time Series Hosting NETwork.

It is a Compute-over-Data (CoD) system that uses the distributed Aleph.im network as a substrate for computation. It is a decentralized, peer-to-peer, and serverless system that allows users to run statistical computations on their timeseries data without having to upload it to a centralized server.

This python module contains a common data model, built on the Aleph Active Record SDK (AARS), that is being used by the Fishnet API and Executor VMs. The data model is used to store and query:

  • Timeseries & Datasets
  • Algorithms
  • Permissions
  • Executions
  • Results

Also contains the executor code for the Fishnet Executor VM. Right now it supports Pandas, but in the future it will support other execution environments (e.g. PyTorch, Tensorflow).

Deployment

You can deploy your own Fishnet instance using the deployment package.

from aleph_client import AuthenticatedUserSession
from fishnet_cod.deployment import deploy_apis, deploy_executors

aleph_session = AuthenticatedUserSession()  # you'll need tons of $ALEPH

executors = deploy_executors(
    executor_path="/your/executor/asgi/app",
    time_slices=[0, -1],  # one executor for all data
    deployer_session=aleph_session,
    channel="MY_DEPLOYMENT_CHANNEL",
)

deploy_apis(executors)

Roadmap

  • Basic message model
  • API for communicating with Fishnet system
    • Basic CRUD operations
    • Permission management
    • Local VM caching
    • Signature verification of requests
    • Discovery of other API instances
    • Dedicated API deploy function
    • Timeslice distribution across Executor nodes
  • Executor VM
    • Listens for Aleph "Execution" messages and executes them
    • Uploads results to Aleph
    • Pandas support
    • Dedicated Executor deploy function
    • Distributed execution & aggregation
      • Discovery of other Executor instances
      • Uploading executors with metadata: assigned timeslice, code version
    • Different execution environments (e.g. PyTorch, Tensorflow)
    • GPU support
  • Versioning and immutable VMs
    • Automatic Versioning & Deprecation
    • Version Manifest & Message metadata
    • Make all deployments immutable

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

fishnet_cod-1.0.0a2.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

fishnet_cod-1.0.0a2-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file fishnet_cod-1.0.0a2.tar.gz.

File metadata

  • Download URL: fishnet_cod-1.0.0a2.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for fishnet_cod-1.0.0a2.tar.gz
Algorithm Hash digest
SHA256 c291815a99aff96acb21296c73ccff34822d66b6ad6cbdbb70b609ffdce6ee8d
MD5 829edd7031b1883da0966a9af641d9cd
BLAKE2b-256 d7104dec958a439db831ccabc6aaa04664cbfb92a7306cd1b3be5e118cd0666f

See more details on using hashes here.

File details

Details for the file fishnet_cod-1.0.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for fishnet_cod-1.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 5704c2788be3afb8b3a5325587a6f36c4d6562820db0f5b0f47410f158bc313e
MD5 de267d3b7d0f9d055a966c41acc0b92c
BLAKE2b-256 0d327a7fc6160c06083dcd125fe895c305cf5c84f8a71e0f91a91842f6fffff7

See more details on using hashes here.

Supported by

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