Refactor docker code #170

Closed
opened 2022-05-08 00:10:54 +02:00 by Jef Roosens · 1 comment

I gotta admit, the Docker daemon code is kinda shit. It could use a proper refactor, which we also need so we can then more easily retrieve the logs of a container.

I gotta admit, the Docker daemon code is kinda shit. It could use a proper refactor, which we also need so we can then more easily retrieve the logs of a container.
Jef Roosens added this to the 0.3.0 milestone 2022-05-08 00:10:54 +02:00
Jef Roosens added the
enhancement
label 2022-05-08 00:10:54 +02:00

Another idea I just had, perhaps we re-write the code so that it behaves more like a BufferedReader object. This would prevent us from ever having to load anything completely into memory unless absolutely required, as we could create a chain of stream operations. Perhaps by adding a way to append to a build log using the web API, we could prevent having to load the entire logs into memory at all.

Another idea I just had, perhaps we re-write the code so that it behaves more like a BufferedReader object. This would prevent us from ever having to load anything completely into memory unless absolutely required, as we could create a chain of stream operations. Perhaps by adding a way to append to a build log using the web API, we could prevent having to load the entire logs into memory at all.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vieter-v/vieter#170
There is no content yet.