# Common Interface

To exchange data between your component and Keboola, use

* a predefined set of input and output [folders](https://help.keboola.com/extend/common-interface/folders) for tables and files,
* a [configuration file](https://help.keboola.com/extend/common-interface/config-file/),
* [environment](https://help.keboola.com/extend/common-interface/environment/) variables and return values.

Optionally, you can use

* [logging](https://help.keboola.com/extend/common-interface/logging),
* [manifest files](https://help.keboola.com/extend/common-interface/manifest-files/) for working with table and file meta-data,
* the [OAuth](https://help.keboola.com/extend/common-interface/oauth/) part of the configuration file, and
* [actions](https://help.keboola.com/extend/common-interface/actions/) for quick synchronous tasks,
* [artifacts](https://help.keboola.com/extend/common-interface/artifacts/) to pass extra files between jobs (preview feature).

Sensitive configuration values are protected by [encryption](https://help.keboola.com/extend/encryption/), and third-party
access by [OAuth2 authorization](https://help.keboola.com/extend/common-interface/oauth/).

To quickly get the picture, have a look a [random sample data folder](https://help.keboola.com/extend/data.zip).

Our Python library [PyPi](https://pypi.org/project/keboola.component/) provides a convenient way how to interact with the Common Interface. Learn more in the [documentation](https://keboola.github.io/python-component/index.html#header-submodules).

### Component Limits
Even though you can define your own limits for your component, all components are also subject to the following service limits:

* Both memory and swap sizes are set to an equal value
* Docker [overlay2](https://docs.docker.com/storage/storagedriver/overlayfs-driver/) size is set to 10 GB

The size allocated for overlay2 is consumed by memory swapping, and all other operations in the component
(for instance, ad hoc module installations); only input and output folders (`/data/`) and `/tmp/` are excluded.
As the swap size cannot be larger than the allocated disk space, we cannot safely increase the memory limit over 8 GB.

If you need more than 8 GB of memory/swap or larger disk space, get in touch with us to discuss possible solutions.

---

**Next:** [Data Folders →](https://help.keboola.com/extend/common-interface/folders/)
