mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 14:12:14 -06:00
[GH-ISSUE #273] Native binary storage shows scaling bottlenecks under concurrent realtime workload #118
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#118
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?
Originally created by @ismael1361 on GitHub (Apr 17, 2026).
Original GitHub issue: https://github.com/appy-one/acebase/issues/273
Hello,
I would like to report a scalability issue observed while using AceBase with the native binary storage backend in a realtime production-like environment.
According to the documentation, AceBase provides a native binary storage engine by default, supports IPC for multi-process access, and also allows custom storage implementations such as SQLite and SQL Server via
CustomStorage.Environment
Issue Description
After reaching approximately 200 registered users, the system was no longer able to consistently register new accounts.
Additionally, when AceBase is used in a realtime chat environment with many simultaneously active users, a significant write/process bottleneck appears, suggesting that the native binary storage backend cannot sustain vertical scaling under this concurrency level.
Expected Behavior
Actual Behavior
Impact
This limitation makes the native binary storage backend unsuitable as the primary persistence layer for scalable realtime systems such as chat applications.
While the database may theoretically support large data volumes, the observed concurrency bottleneck prevents practical vertical scalability under moderate realtime load.
Questions
SQLiteStorageSettingsmitigate this bottleneck in production?From the documentation, it appears technically possible to implement PostgreSQL support via
CustomStorage, but there does not seem to be an official adapter available. The documentation also mentions that multiple processes require IPC coordination to safely access the same database.