Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remake the Docker API #103

Open
integraledelebesgue opened this issue Jan 8, 2025 · 0 comments
Open

Remake the Docker API #103

integraledelebesgue opened this issue Jan 8, 2025 · 0 comments
Labels
architecture An issue related to the general design and mutual relations between the parts of the project feature New feature or request framework A general, framework-related topic

Comments

@integraledelebesgue
Copy link
Member

integraledelebesgue commented Jan 8, 2025

Rationale

A so-called "Docker Widgets" (removed in #104) used to consist of sending strings through WebSockets.
Such a solution has some drawbacks:

  • Relies on textual serialization which is a total waste of time-space
  • Not type-safe
  • Does not necessarily support IPC (shared memory...)
  • Limited to Docker - it would be nice to support other engines
  • Rebuilds images every time
  • Not very elegant nor useful

Idea

  • Think about improving this concept by leveraging shared memory, binary serialization and type-safety.
  • Designing a special Executor similar to the ProcessPoolExecutor but using Docker processes instead of the OS ones.
@integraledelebesgue integraledelebesgue converted this from a draft issue Jan 8, 2025
@integraledelebesgue integraledelebesgue added feature New feature or request framework A general, framework-related topic architecture An issue related to the general design and mutual relations between the parts of the project labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture An issue related to the general design and mutual relations between the parts of the project feature New feature or request framework A general, framework-related topic
Projects
Status: Ideas
Development

No branches or pull requests

1 participant