Coder Social home page Coder Social logo

streamer file cleanup in Tier0 about t0 HOT 7 CLOSED

hufnagel avatar hufnagel commented on August 21, 2024
streamer file cleanup in Tier0

from t0.

Comments (7)

gowdy avatar gowdy commented on August 21, 2024

gowdy: I was pretty sure there was no GC in EOS.

I asked the EOS developer about it. He is interested in adding a feature to expire files after a certain amount of time. He wondered if empty directories should also be cleaned up, I thought yes.

I've asked for a times cale as I'm not sure what it would be.

from t0.

gowdy avatar gowdy commented on August 21, 2024

gowdy: So they expect it to be available at the start of February. We probably shouldn't expect it in production before March.

from t0.

gowdy avatar gowdy commented on August 21, 2024

gowdy: When this was brought up at a meeting that didn't have the developer but the operations team they were very negative about having GC in EOS... should I bring it up again with the developer? Or should we do the clean up ourselves like the EOS Ops team would like?

from t0.

hufnagel avatar hufnagel commented on August 21, 2024

hufnagel: At the moment I assume we'll have to delete files ourself, at least the temporary files that are produced in the Tie0 For streamer files on a 30 day cycle this would be too long to track from within the Tie0though, so we would have to handle this externally.

Something like deleting older files every few weeks or every other month or so. For this use case, an automatic file expiration at the EOS level would probably still be useful, although I see how support for something like this can be dangerous. Maybe a cron job that deletes files older than 30 days would be sufficient.

from t0.

hufnagel avatar hufnagel commented on August 21, 2024

hufnagel: The real question is, how hard wold it be to run such a cron job against an EOS directory. I am pretty sure the EOS operations team is also not going to be too happy about us running a daily 'find dir -ctime' against an EOS directory with millions of files in it. They can't have it both ways though...

from t0.

hufnagel avatar hufnagel commented on August 21, 2024

hufnagel: Questionable if we ever do this in an automated fashion

from t0.

germanfgv avatar germanfgv commented on August 21, 2024

This script has already been implemented and we've been using it for years.

from t0.

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.