2020-04-29 12:27:29 +02:00
---
title: Compute-to-Data
slug: /concepts/compute-to-data/
section: concepts
2022-07-06 11:41:13 +02:00
description: Providing access to data in a privacy-preserving fashion
2020-04-29 12:27:29 +02:00
---
2022-07-06 11:41:13 +02:00
# Compute-to-Data
2021-11-07 18:57:20 +01:00
2022-07-06 11:41:13 +02:00
### Quick Start
2021-11-07 18:57:20 +01:00
2022-07-06 11:41:13 +02:00
* [Compute-to-Data example ](https://github.com/oceanprotocol/ocean.py/blob/main/READMEs/c2d-flow.md )
2021-11-07 18:57:20 +01:00
2022-07-06 11:41:13 +02:00
### Motivation
2020-04-29 12:27:29 +02:00
2020-10-17 09:09:20 +02:00
The most basic scenario for a Publisher is to provide access to the datasets they own or manage. However, a Publisher may offer a service to execute some computation on top of their data. This has some benefits:
2020-04-29 12:27:29 +02:00
2022-07-06 11:41:13 +02:00
* The data **never** leaves the Publisher enclave.
* It's not necessary to move the data; the algorithm is sent to the data.
* Having only one copy of the data and not moving it makes it easier to be compliant with data protection regulations.
2020-04-29 12:27:29 +02:00
2020-10-17 09:09:20 +02:00
[This page ](https://oceanprotocol.com/technology/compute-to-data ) elaborates on the benefits.
2022-07-06 11:41:13 +02:00
### Further Reading
2021-04-28 12:15:56 +02:00
2022-07-06 11:41:13 +02:00
* [Compute-to-Data architecture ](compute-to-data-architecture.md )
* [Tutorial: Writing Algorithms ](compute-to-data-algorithms.md )
2023-06-29 17:52:01 +02:00
* [Tutorial: Set Up a Compute-to-Data Environment ](../../infrastructure/compute-to-data-minikube.md )
2022-07-06 11:41:13 +02:00
* [Use Compute-to-Data in Ocean Market ](https://blog.oceanprotocol.com/compute-to-data-is-now-available-in-ocean-market-58868be52ef7 )
* [Build ML models via Ocean Market or Python ](https://medium.com/ravenprotocol/machine-learning-series-using-logistic-regression-for-classification-in-oceans-compute-to-data-18df49b6b165 )
* [Compute-to-Data Python Quickstart ](https://github.com/oceanprotocol/ocean.py/blob/main/READMEs/c2d-flow.md )
* [(Old) Compute-to-Data specs ](https://github.com/oceanprotocol-archive/OEPs/tree/master/12 ) (OEP12)