[PR #213] [MERGED] New feature: socket IPC service #169

Closed
opened 2026-05-23 08:32:26 -06:00 by gitea-mirror · 0 comments
Owner

📋 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: masterHead: feature/socket-ipc-service


📝 Commits (3)

  • e64d5de Add new 'socket' IPC mode
  • 59685ff increase worker db existence polling timeout
  • b29793f use '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.

## 📋 Pull Request Information **Original PR:** https://github.com/appy-one/acebase/pull/213 **Author:** [@appy-one](https://github.com/appy-one) **Created:** 4/3/2023 **Status:** ✅ Merged **Merged:** 4/10/2023 **Merged by:** [@appy-one](https://github.com/appy-one) **Base:** `master` ← **Head:** `feature/socket-ipc-service` --- ### 📝 Commits (3) - [`e64d5de`](https://github.com/appy-one/acebase/commit/e64d5de8b00f2af486ad14cf8840f46eb7f85bd3) Add new 'socket' IPC mode - [`59685ff`](https://github.com/appy-one/acebase/commit/59685ffd6e7919ea5e43378eebbd6e982b397acc) increase worker db existence polling timeout - [`b29793f`](https://github.com/appy-one/acebase/commit/b29793fe65c9c17e5279f80f31ad0d53f9419843) use 'socket' IPC method for tests ### 📊 Changes **7 files changed** (+381 additions, -7 deletions) <details> <summary>View changed files</summary> ➕ `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) </details> ### 📄 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! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-23 08:32:26 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/acebase#169
No description provided.