The subject of this topic is the essential fact of my question.
I have two flow instances running (on same server of course).
One of them produces data which should be in parts accessible by the other one - in read only mode.
Is there a “clean” way to solve this by flow itself?
At least I can do it by database triggers - but that’s not “clean” imho…
Good morning! @mficzel: one instance is a “stupid” data collector which receives data from several clients all over the net. These data must not exposed to “the world”. That is why an API isn’t possible.
@beheist: hmm, that the answer I have feared about. But seems to be the best solution anyway.
An API doesn’t mean that the data is exposed to the world.
If service1 communicates with service2 it’s per definition via some sort of API and it’s a matter of implementation whether that is just secured via some authentication or if it runs in a protected environment (i.e. DMZ).
In general I’d suggest: Try to avoid synchronous communication between to services as that will slow down your app and (more importantly) make it less stable (if one of the services can’t be reached, your app is down).
Maybe you can share what exactly your usecase is, then we might be able to share some experiences/tips