From 4a016a6cc51d71f5b4132479efa7a1451cf1e65b Mon Sep 17 00:00:00 2001 From: John Carvalho <18273620+BitcoinErrorLog@users.noreply.github.com> Date: Wed, 9 Oct 2024 09:45:33 +0100 Subject: [PATCH] Delete App Architectures/4. Custom Backend.md --- App Architectures/4. Custom Backend.md | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 App Architectures/4. Custom Backend.md diff --git a/App Architectures/4. Custom Backend.md b/App Architectures/4. Custom Backend.md deleted file mode 100644 index b4d219a..0000000 --- a/App Architectures/4. Custom Backend.md +++ /dev/null @@ -1,20 +0,0 @@ -![[custom_backend.png]] - -This architectural design introduces a more sophisticated data flow model, incorporating an intermediary backend layer between the client application and the home server. This backend functions as a middleware, enhancing the system's flexibility and data processing capabilities. - -The backend can be potentially comprised with many components. These components will depend on the client app needs, but these are the main ones - -1. __Indexer__: Responsible for data normalization, ensuring consistent data structures and optimizing query performance. -2. __Aggregator__: Implements event filtering logic, allowing for selective data propagation based on predefined criteria. - - -This architecture supports two distinct data consumption patterns: - -a) For scenarios requiring both data normalization and event filtering, the client interacts with the backend layer, as an endpoint. The aggregator processes the event stream from the home servers, applying filtering rules before passing the data to the indexer for normalization. - -b) In cases where only data normalization is necessary, the backend can bypass or not implement the aggregator, consuming events directly from the home server via the indexer. - -This modular approach allows for fine-grained control over data processing, enabling efficient resource utilization and optimized client-side performance based on specific application requirements. - -An example of a complex backend that does aggregation, normalization, indexation, filtering (compliance) and powerful inference is [Pubky-Nexus](https://github.com/pubky/pubky-nexus), the backend that powers the [[Pubky App/Introduction|Pubky App]] social features. -