2020-04-29 12:27:29 +02:00
---
title: Compute-to-Data
2020-10-17 09:09:20 +02:00
description: Providing access to data in a privacy-preserving fashion
2020-04-29 12:27:29 +02:00
slug: /concepts/compute-to-data/
section: concepts
---
2021-11-07 18:57:20 +01:00
## Quick Start
- [Compute-to-Data example ](https://github.com/oceanprotocol/ocean.py/blob/main/READMEs/c2d-flow.md )
2020-04-29 12:27:29 +02:00
## Motivation
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
2020-06-03 02:30:38 +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.
2021-04-28 12:15:56 +02:00
## Further Reading
2021-11-07 19:01:38 +01:00
- [Compute-to-Data architecture ](/tutorials/compute-to-data-architecture/ )
2021-04-28 12:15:56 +02:00
- [Tutorial: Writing Algorithms ](/tutorials/compute-to-data-algorithms/ )
- [Tutorial: Set Up a Compute-to-Data Environment ](/tutorials/compute-to-data/ )
- [Compute-to-Data in Ocean Market ](https://blog.oceanprotocol.com )
2021-08-24 10:34:11 +02:00
- [(Old) Compute-to-Data specs ](https://github.com/oceanprotocol-archive/OEPs/tree/master/12 ) (OEP12)