Coder Social home page Coder Social logo

Hybrid Cloud / Outbreak about codeocean HOT 2 CLOSED

openhpi avatar openhpi commented on May 26, 2024
Hybrid Cloud / Outbreak

from codeocean.

Comments (2)

hklement avatar hklement commented on May 26, 2024

Code Ocean currently uses a single Docker server, which has to be configured using the docker.yml. However, the utilized gem wrapping Docker's API should support connecting to multiple Docker servers.

Besides calls to Docker's API, executing a code submission involves the following file system operations:

  • Creating a submission-specific directory and a virtual volume. This already happens when a container is added to the container pool.
  • Creating submission-specific files. This happens shortly before code execution.
  • Cleaning up the directory. This happens shortly after execution.

As multi-server environments were not relevant yet, file system operations are not implemented in a generic fashion. Currently, these operations are performed locally in a directory expected to be accessible for the Docker server.

An alternative strategy could be creating and deleting file system objects using SFTP.

from codeocean.

MrSerth avatar MrSerth commented on May 26, 2024

With the introduction of Poseidon, we've come closer to allow a hybrid deployment of CodeOcean. With Poseidon, CodeOcean and the code execution are decoupled, and are run on different machines. The two services communicate through a REST API, which also includes support for remote file operations.

Further, we've integrated AWS Lambda as a serverless solution for CodeOcean and successfully showed the feasibility (and limitations) of this technology for the given use case. More details are available in the following publication:

S. Serth, M. Paß, C. Meinel: On the Feasibility of Serverless Functions in the Context of Auto-Graders. In: 2023 IEEE German Education Conference (GeCon). 6 pages. IEEE, Berlin, Germany (2023).

Therefore, I am closing this issue has being resolved.

from codeocean.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.