Git Product home page Git Product logo

Comments (5)

JanKoppe avatar JanKoppe commented on May 27, 2024

While re-reading this I noticed that I should put this in writing too:

I guess if we could live with saying that it is the users responsibility to always have exactly one process of each type running, we could skip the .pid file part and go straight to the internal state database.

from pyca.

lkiesow avatar lkiesow commented on May 27, 2024

My suggestion for the processes would be anyway to have them launched separately by Systemd. That way the system can ensure that things are restarted, … If you want to use SysV-init (or whatever) instead, then let that create the pid files.

A status table, it makes sense. Though here are a few thoughts:

  • The single CA state is indeed a problem. I will bring it up at the CA session at the conference. I think Opencast should support a set of states for each capture agent instead.
  • Having scheduler xor capturer offline should set the state to error since it might break recordings. I'm not so sure about the ingest part (I'm thinking about the backup mode).
  • Do we want a keep-alive for the state?
  • All that would probably deserve another service keeping track of the ca state ;-D

from pyca.

JanKoppe avatar JanKoppe commented on May 27, 2024
  • Single CA state: That would be the best thing, yes. With #65 That would be very easy to adapt to now.
  • error: I'm not quite sure what you mean by "might break recordings." Can you elaborate?
  • Keep-Alive: This would be easy to implement in #65, using timestamps and a timeout config. I think that this would indeed be a good idea: When a service fails, it might fail because of outside cirumstances, which prevent it from restarting, in which case it cannot update back to stopped.
  • Agentstate service is what I did. :)

from pyca.

JanKoppe avatar JanKoppe commented on May 27, 2024

A keep-alive would be perfect for #48.

from pyca.

JanKoppe avatar JanKoppe commented on May 27, 2024

Continue keep-alive issue in #76 to keep this tidy.

from pyca.

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.