bacalhau-project / bacalhau

Compute over Data framework for public, transparent, and optionally verifiable computation
https://docs.bacalhau.org
Apache License 2.0
674 stars 88 forks source link

Hard limit on concurrent jobs across the entire network #102

Closed binocarlos closed 1 year ago

binocarlos commented 2 years ago

We presently have no limit on the number or size of jobs someone could submit to the network (hello crypto miners)

I propose that we begin with a hard limit of 10 concurrent jobs across the whole network. If you submit a new job - and the network currently has > 10 jobs in running state - it will reject the submitted job with a currently busy message.

This is a very rudamentary way of stopping spam but it quite cheap to implement so is recommended to do now rather than later

lukemarsden commented 2 years ago

turning off networking on the docker containers would be good as well