You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
I think someone must have already probed how to use category theory to frame interprocess communication, or messaging schemes.
What I have in mind is like communication via AMQP or maybe within a ROS2 graph.
There are nodes which can send each other messages. There are different ways to send messages. Sometimes it's enough that one node attempts to message another and is done with the task. At other times, the sending node wants an acknowledgement (or nack) before it finishes the transaction.
And possibly either side of the communication may want to do something differently depending on the success of the transaction.
Has anyone seen any exploration of this kind of the whole ecosystem of messaging? I would appreciate pointers to the most basic parts of it.
Here's one:
The Produoidal Algebra of Process Decomposition
Matt Earnshaw, James Hefford, Mario Román
https://arxiv.org/abs/2301.11867v1
Nice! How familiar are you with this article @Spencer Breiner
Isolating individual agents (nodes) is, if you ask me, a bit awkward in a compositional setting. Loosely, if my systems are composable then a composite system needs to be the same sort of thing as a single node.
I really like Span(RGraph) model of Walters et al. (This, for example)
I'll also mention the Logic of Message Passing (This) and my own work on the free cornering of a monoidal category, which is similar. (For example, this and this).
Oh also Milner's bigraphs come to mind, although personally I find them unsatisfying.
Ryan Schwiebert said:
Nice! How familiar are you with this article Spencer Breiner
Only a bit. If I remember correctly, the main idea is that you can use the machinery of optics (based on coends) to include "holes" in a process that correspond to sending/receiving messages from other nodes in a network.
The bigger picture is that I am trying to understand what "Applied" category theory can do in different contexts. As a mathematician now working in software, I can see lots of places where it might be applied, but I have little feel for what kind of benefit is available, or how to spot a potential application.
I've had this paper on my to-read pile for a while, it seems like it might also be relevant: On the Semantics of Message Passing Processes - Lindsay Errington