Maximilian Paß 8ef5f4e7c5 Fix OOM Kill race condition
due to the Nomad request exiting before the allocation is stopped. We catch this behavior by introducing a time period for the allocation being stopped iff the exit code is 128.
2023-07-21 15:30:21 +02:00
2022-11-04 15:15:43 +01:00
2021-07-30 12:22:10 +00:00
2023-01-07 01:00:29 +01:00
2021-07-29 13:42:39 +00:00
2023-07-21 15:30:21 +02:00
2023-06-04 11:54:42 +01:00
2023-04-01 21:42:41 +02:00
2021-07-29 13:42:39 +00:00
2023-04-01 21:42:41 +02:00
2021-07-30 09:16:30 +02:00
2023-06-23 22:28:31 +02:00
2022-04-29 23:09:07 +02:00

Poseidon

CI codecov

Poseidon logo

Poseidon provides containerized execution of arbitrary user code inside a Docker container for learning purposes. It has two main purposes:

  1. Securing the executions so that they are isolated from each other and from the host system.
  2. Being scalable enough to provide hundreds of executions per minute.

Poseidon also offers a live I/O connection to the running program via WebSocket.

Poseidon as mediator between CodeOcean and Nomad.

Poseidon is designed to be used with CodeOcean, a code-execution provider and auto-grader used in MOOC platforms.

Poseidon requires a Nomad cluster for scheduling its executions, which needs to be set up separately.

Documentation

For the OpenAPI 3.0 definition of the API Poseidon provides, see the swagger.yaml.

For the rest of the documentation see the docs folder. It describes...

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/openHPI/poseidon. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

Poseidon is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in this project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Description
No description provided
Readme MIT 2.6 MiB
Languages
Go 96.3%
Makefile 2.8%
HCL 0.7%
Dockerfile 0.2%