Giter Club home page Giter Club logo

Comments (4)

autoluminescent avatar autoluminescent commented on May 17, 2024 1

Thanks for your reaction! I'm glad my suggestion resonated with you.

As for the default limit, yes, 1000 log entries seems reasonable. It means that Rocketry's default mem requirement for a task that doesn't produce any logs by itself is capped at around 6.5 MB, which seems ok.

Let me know if you'd like some help with it in case you decide to go forward with an implementation.

from rocketry.

Miksus avatar Miksus commented on May 17, 2024

A bit background: The rational for the default logging is that it's easy to prototype and get started with Rocketry. Wasn't meant for production and the assumption was there would be some thousand records max in generic cases.

But I think you have a very valid point: there should be a hard limit by default and I think your proposal would be the way to go. I'm thinking maybe the limit could be like 1000 or so.

Thanks for the idea and I really appreciate the time you spent on investigating the issue and the solutions. I think there was another similar issue but due to lack of elaboration there I didn't get the grip on the whole issue from that.

from rocketry.

Miksus avatar Miksus commented on May 17, 2024

I'll do!

I'm currently working on adding optional timezone as that seems to be quite important for quite many people. After that I either try to progress on the event system or then I focus on Red Bird issues possibly including this issue. I'll notify you then if you wish to participate (like in the discussion at least, would be great to have your opinions).

from rocketry.

vagosduke avatar vagosduke commented on May 17, 2024

Hello!
I had this issue in production and fixed it with a LimitedMemoryRepo. Also implemented a NullRepo which does not track any logs whatsoever (is this going to break anything, e.g. if query_data does nothing?)

I can push my changes to be included in Rocketry as alternative log repos to the list offered by redbird

from rocketry.

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.