Git Product home page Git Product logo

Comments (5)

cyphar avatar cyphar commented on June 18, 2024 2

The problem is that I'm not sure about writing conmon in Go. It doesn't feel like a great idea IMO.

from cri-o.

cyphar avatar cyphar commented on June 18, 2024 1

@resouer There are a few technical issues that make me concerned about conmon being written in C. The main one is that there appears to be some form of quite serious memory-related issue with Go binaries. We still haven't been able to pin it down (and despite what moby/moby#21737 and linked issues tell you -- it's not because of some dodgy reference handling within Docker -- pprof doesn't show the leaked memory!).

So, I am very cautious about writing any long-running service that has to accept lots of connections in Go (yes, I realise this might seem strange but I really just don't trust Go as much as I used to at this point). There is also the fact that using epoll(2) is a bit of a pain in Go, and I would like to not use the traditional go io.Copy approach.

from cri-o.

cyphar avatar cyphar commented on June 18, 2024

This has to happen after #162. That was the next thing I was planning on working on.

from cri-o.

resouer avatar resouer commented on June 18, 2024

@cyphar So is rewriting conmon in golang in roadmap? We once mentioned it with community offline and thought it would be a good news for contributors. Is there any specific technical issue in your mind?

from cri-o.

runcom avatar runcom commented on June 18, 2024

This should be already done now.

from cri-o.

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.