Message-passing via local ports

new topic     » topic index » view thread      » older message » newer message

Last year I posted a question about the potential in OE/Phix for implementing a message-passing framework and 'actor' objects (see https://openeuphoria.org/forum/134721.wc?last_id=134721#134721). Since I got a mixed response, I have been rethinking the question and I came to the conclusion that it's not really necessary to implement a message-passing framework as such (as outlined in the original post), i.e. running as one program. A microservices-type architecture may also be used instead, with each object running as an autonomous program, in its own thread. This approach would eliminate the need for an overarching unified framework (i.e. a single program) to manage and supervise the actor objects. Objects would pass messages to one other via local ports (localhost:portnumber).

I would like to get some feedback from you guys regarding the feasibility of this approach. I would be using Phix.

In particular, do you expect any difficulties with having different programs exchange messages via local ports?

Thanks a lot,

-GreenEuphorian

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu