ATRIUM / ENGINEERING

You see a map. Behind it, a system.

From mobile experiences to spatial queries: explore local discovery’s technical flow, infrastructure and research direction.

ATRIUM / SYSTEM

Every discovery has a system behind it.

The mobile interface starts discovery with a person’s context and choices.

High-level responsibilities, rather than a performance or security certification.

10 sections in this guide

01

The path of a discovery request.

A Flutter discovery action becomes an API request, followed by identity and authorization checks, a data query such as PostgreSQL/PostGIS and a permitted response. The web diagram is high level. Atrium Engine research must not be inserted as a completed mandatory stage in every production request.

Spatial queries also depend on visibility, access context, search bounds and pagination limits. Hiding a result in the UI does not replace server authorization. Explaining these boundaries helps developers assess both mechanics and responsibilities.

02

Separate realtime events from durable data.

WebSocket can carry changes to connected clients; Redis can support caching or pub/sub in appropriate contexts. Publishing an event does not prove durable storage, delivery or reading. Those are separate states that require separate evidence.

Reconnection, recovering missing data and avoiding duplicate processing matter. This website does not install new infrastructure or guarantee unmeasured latency and reliability. It explains responsibilities while retaining deeper technical sources.

03

Research ideas need evidence before becoming product claims.

Dynamic proximity ranking, spatial privacy, participation verification and contextual trust address distinct questions. More relevant results, less sensitive location and attendance evidence are not completed capabilities of one algorithm. Research, prototypes, validation and integration remain separate stages.

Progress needs evaluation of cost, latency, minimization and explainability as well as accuracy. Participation verification should not normalize continuous tracking. A pilot should establish the hypothesis and evidence before testing; an MVP capture is not validation of research.

04

More responsibilities than a map.

In Atrium, the map is an interface, not the whole product. The mobile client creates a discovery request. The server evaluates the account and access context. The data layer retrieves local candidates, while visibility and product rules determine the resulting representation. A discovery card is the end of that chain of responsibilities.

This separation helps avoid treating a client-displayed role as a security decision or rewriting the same rule for every screen. Events, communities, businesses and individuals may share a map without sharing ownership or visibility models. A common discovery surface needs to preserve those distinctions.

05

Flutter: views, state and data access.

The mobile application is built with Flutter and Dart. Its source separates feature presentation, domain models and data access. A view rebuilding and a new network request are different events; controller and repository boundaries help manage that distinction. Maps, chat and participation flows have different lifecycles, so a single generic loading state is insufficient.

With weak connectivity, account switching or resuming from the background, old results must not leak into a new context. Pilot validation needs to cover cancellation, retry, refresh and session boundaries as well as whether a screen opens. This describes engineering priorities, not a device benchmark or a claim that every edge case is complete.

Sources & contextFlutter · App architecture ↗

06

PostGIS: distance as part of the data model.

PostgreSQL holds account, community, event and business relationships, while PostGIS supports spatial candidate queries. ST_DWithin, used in the source, tests whether locations fall within a distance; geography distances are expressed in metres. Appropriate spatial indexes can support candidate retrieval, but a query function alone establishes no latency guarantee.

Nearby does not necessarily mean relevant. Finding the closest content does not automatically address timing, shared interests, visibility or trust. Candidate retrieval and meaningful ranking are therefore separate questions. We want to compare contextual ranking against a simple distance approach in the pilot; no superiority result is published yet.

Sources & contextPostGIS · ST_DWithin ↗

07

Realtime and durable are different properties.

WebSocket supports the transport of messages and state changes over an open connection. Redis provides tools for fast shared state and service coordination. Their presence does not mean a message arrives exactly once or that nothing can be lost when a connection drops.

Redis Pub/Sub, for example, is not a durable message history. The authoritative state, what to reload after reconnecting and how to handle duplicate events must be explicit. Live transport, durable data and the delivery status shown to a user need separate evaluation. Scaling goals are not converted into capacity figures without traffic and failure measurements.

Sources & contextRedis · Pub/Sub delivery semantics ↗

08

The server must verify a client's claim.

The Node.js and TypeScript backend carries product services and API contracts. Types help during development; they do not prove an incoming request is valid. Runtime schema validation, session checks and resource-level authorization are distinct responsibilities. Being able to view a community does not imply permission to edit it.

The code contains access, anti-abuse, moderation and location-data sanitization modules. This page describes the architecture without publishing private thresholds or internal configuration. Security assessment must rest on cross-account and failure-case validation as well as code presence. The safety page separately explains implementation boundaries.

Sources & contextOWASP · API Security Top 10 · 2023 ↗

09

The website presents the product.

The Next.js website presents the product, research and contact flows. Long-form content and references can render on the server, while browser code is reserved for interactions such as navigation, tabs, filters and forms. This separation aims to deliver readable content without waiting for JavaScript and to limit unnecessary client work.

Turkish and English pages retain equivalent scope and status language. Real MVP captures show the product design; test or simulation areas in them should not be read as customer performance. Astryx components are used selectively while brand voice and existing website behaviour remain product decisions.

Sources & contextNext.js · Server and Client Components ↗

10

R&D may change the question itself.

Contextual discovery, privacy-preserving spatial processing and evaluating physical participation remain open research areas. Each needs a comparison: against which approach, for which users and under what conditions? A change that increases discoveries while also increasing unwanted contact is not automatically a success.

Latency, meaningful interaction, perceived trust and understanding of privacy choices need to be monitored together. Failed or inconclusive experiments can justify a change of direction. What we publish today is a set of questions and a framework for testing them, rather than a verified technical advantage or a patent result.

IMPLEMENTATION

Every layer has a job in the product.

Technology layers found in the existing Atrium source tree. This list is not a production environment or load-test result.

01

Flutter

Mobile discovery and physical interaction experience.

02

Node.js / TypeScript

Server authority, API contracts and product services.

03

PostgreSQL / PostGIS

Relational modelling and spatial query infrastructure.

04

Redis

Tools for shared fast state and service coordination.

05

WebSocket

Transport for messaging and real-time interaction.

06

Mapbox

The visual layer for mobile maps and spatial context.

RESEARCH & DEVELOPMENT

Atrium is a product we're building. And a set of technical hypotheses we're testing.

H1Research / Hypothesis

Can a dynamic proximity model create more meaningful physical action than distance-only discovery?

EXPERIMENT APPROACH

Compare a distance-based control with context-based ranking in a pilot.

MEASUREMENT

Meaningful discovery and physical action per eligible session, considering cohort and regional supply.

H2Research / Hypothesis

How much discovery utility can be preserved as a user's spatial privacy level increases?

EXPERIMENT APPROACH

Evaluate different levels of spatial precision in controlled scenarios.

MEASUREMENT

Discovery utility and re-identification risk, with separate tests for sparse regions.

H3Research / Hypothesis

Can combining several physical signals provide more reliable physical action verification than a GPS-only approach?

EXPERIMENT APPROACH

Compare GPS-only verification with user consent and additional physical signals.

MEASUREMENT

False positives / negatives and data minimisation; measure verification quality without sharing raw location.

H4Research / Hypothesis

Can dynamic permissions based on identity trust, behavioural risk and interaction context reduce abuse while preserving legitimate social interaction?

EXPERIMENT APPROACH

Design progressive permissions experiments by task and risk context.

MEASUREMENT

Reviewed abuse incidents alongside legitimate interaction and verification friction.

We do not claim these hypotheses are already proven. Atrium's R&D approach is to measure them with pilot data.

ResearchExperimentMeasurement

THE NEXT STEP

Let’s build this system together.

Start a connection

Working MVP · Preparing for controlled beta · Contact us about participation and collaboration.