mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[PR #213] [MERGED] New feature: socket IPC service #169
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#169
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/appy-one/acebase/pull/213
Author: @appy-one
Created: 4/3/2023
Status: ✅ Merged
Merged: 4/10/2023
Merged by: @appy-one
Base:
master← Head:feature/socket-ipc-service📝 Commits (3)
e64d5deAdd new 'socket' IPC mode59685ffincrease worker db existence polling timeoutb29793fuse 'socket' IPC method for tests📊 Changes
7 files changed (+381 additions, -7 deletions)
View changed files
➕
src/ipc/service/index.ts(+90 -0)➕
src/ipc/service/shared.ts(+8 -0)➕
src/ipc/service/start.ts(+14 -0)➕
src/ipc/socket.ts(+255 -0)📝
src/storage/binary/index.ts(+1 -1)📝
src/storage/index.ts(+12 -6)📝
src/test/tempdb.ts(+1 -0)📄 Description
This approach automatically starts a service ("daemon") for the target database in a separate process. The service will take on the master/primary role, all connecting clients will take on the worker role. This mode should become the default in the near future, as it eliminates the need to manually setup local master/worker clustering settings. It will also enable one to simultaneously use a single database file from different apps, which would previously require setting up an AceBaseServer!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.