Coder Social home page Coder Social logo

Enable Binary logging support about runwasi HOT 4 OPEN

jsturtevant avatar jsturtevant commented on September 3, 2024
Enable Binary logging support

from runwasi.

Comments (4)

jsturtevant avatar jsturtevant commented on September 3, 2024 1

From containerd/containerd#6639:

Example policies that a custom log plugin might enforce include:
Log data is pre-processed to remove potentially sensitive information (e.g. via https://github.com/stripe/unilog)
Pre-processed log data is not allowed to be written to persistent disk.
Log lines may be persisted to remote storage at different sampling levels depending on content.

learned a little bit more about how binary loggers should work: they are expected to be called, and piping I/O in to the custom logger. An example the logger is in containerd/containerd#3085

from runwasi.

Mossaka avatar Mossaka commented on September 3, 2024

What's the main benefits of supporting Binary logging?

from runwasi.

squillace avatar squillace commented on September 3, 2024

the main benefit of binary logging is that you can do highly structured snapshots and various other customized things to not only compress but treat the log as a kind of database. So, for example, systemd and mysql (in fact, almost every db or db service) uses binary logging. Size is not the main concern, but "structured responsiveness".

outside of that, you can just compress the text log if size is your only concern (though ongoing size is typically smaller with binary).

In this case, we have a Windows customer who needs this to make runwasi a "drop-in" replacement for the current shim.

from runwasi.

Mossaka avatar Mossaka commented on September 3, 2024

Yeah sounds good. Perhaps this issue belongs to rust-extensions repo, though?

from runwasi.

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.