GithubHelp home page GithubHelp logo

Cross-process communication about goblero HOT 4 CLOSED

asbjornu avatar asbjornu commented on August 11, 2024
Cross-process communication

from goblero.

Comments (4)

didil avatar didil commented on August 11, 2024

@asbjornu can you please explain the use case ? I'm not sure about what you're trying to achieve

from goblero.

asbjornu avatar asbjornu commented on August 11, 2024

@didil, thank you for the swift reply!

I have a project where I spin up two different instances of Gin. I would like to be able to enqueue jobs from these two HTTP servers (let's call them Server A and Server B), while having a third worker process the enqueued jobs. Currently it seems like Goblero can only process jobs enqueued on the same instance of the blero.Blero, within the same OS process.

So I could spin up Goblero processing inside Server A and enqueue jobs in Server A, but if I enqueue jobs in Server B, the Goblero processor within Server A won't see them.

from goblero.

didil avatar didil commented on August 11, 2024

@asbjornu ok thanks for explaining. So goblero only aims to solve the in-process job queue part. The implementer is free to choose how jobs are created by your process. For example you could receive them via an http server or by consuming from a redis queue then enqueing them to the Blero instance .

from goblero.

asbjornu avatar asbjornu commented on August 11, 2024

I see. Thank you for the rationale and explanation.

from goblero.

Related Issues (11)

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.