Skip to content

Need Help: Shared Database Isolate between applications #3016

Answered by simolus3
Leylan24 asked this question in Q&A
Discussion options

You must be logged in to vote

So I assume this is for a desktop machines (since applications are sandboxed on mobile and won't access the same database file in an unrestricted manner)?

If there are indeed two different processes, you can't use an IsolateNameServer for communication between them. Drift provides the general-purpose remote library, which you can use to implement DriftIsolate-like services over all kinds of communication channels. So depending on the OS you could use unix sockets or something to let the processes coordinate access to the database.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Leylan24
Comment options

Answer selected by Leylan24
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants