Giter Site home page Giter Site logo

Comments (6)

ytti avatar ytti commented on May 27, 2024

The web is by design only way to interact it with now. Only reason -web is in separate package is because you might want to run oxidized-script without running oxidized, and you still need oxidized for dependencies but oxidized-web brings many other dependencies not needed by oxidized-script.

I am open on what the proper way to interact with Oxidized should be

  • HTTP
  • POSIX MQ
  • Domain socket
  • Named pipe
  • Signal
  • Something else?

What ever it is, we shouldn't be duplicating work, so if HTTP is going to be needed anyhow, solution should be abstracted so that minimal amount of work is needed to maintain two ways.
Signals does not seem very appealing because limited amount of signals available.

from oxidized.

RichiH avatar RichiH commented on May 27, 2024

Signals are the default way, but limited if you want to do more complex stuff, agreed.

For the very specific, and common, case of "reload your list" it still seems to be the best thing to do, though.

If you feel like it, named pipe with text or JSON may be an option, but is likely overkill. You could use the same JSON interface for your web UI, though.

from oxidized.

fhibler avatar fhibler commented on May 27, 2024

Fixed in db165b5

kill -HUP 123 should work then

from oxidized.

RichiH avatar RichiH commented on May 27, 2024

from oxidized.

fhibler avatar fhibler commented on May 27, 2024

Just opened #79
Oxidized seems to die on HUP reload.

from oxidized.

ytti avatar ytti commented on May 27, 2024

Fixed in 4908e39

from oxidized.

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.