Skip to main content
SENVORA SystemsSENVORASystems

Technical research and experimentation

Engineering Lab

A study of the foundations of enterprise platforms: how they are built, how they preserve data integrity, and how they behave under concurrency and failure.

Salesforce experience provides a starting point. Research uses open technologies and independent environments, without assuming Salesforce's internal architecture or claiming results from its systems.

Ángel Paguay · SENVORA Systems

Research areas

Backend engineering and the JVM

How is the behaviour of an enterprise service structured and verified?

Design an API with business rules, transaction boundaries and tests; study the cost of concurrency and runtime behaviour.

Java · JVM · Spring Boot

Databases and concurrency

What happens when two transactions read or modify the same state?

Reproduce concurrent updates and compare isolation levels, locks and integrity constraints. Examine query plans using controlled data.

PostgreSQL · SQL · MVCC · EXPLAIN

Platform architecture

How can a platform share infrastructure without compromising isolation between organisations?

Study the separation between identity, authorisation, data and metadata. Compare application and database controls through cross-tenant access tests using fictitious organisations.

Multitenancy · Metadata · Row-Level Security

Distributed systems

How is business integrity preserved when an operation is repeated or a component fails?

Investigate operation identity, transaction boundaries, event exchange, retries and recovery from partial failures.

Kafka · Idempotency · Transactional outbox

Infrastructure and reliability

How can a service failure be detected, reproduced and explained during operation?

Prepare reproducible environments, introduce controlled failures and analyse metrics, traces and logs. Assess recovery, latency and resource consumption under documented test conditions.

Docker · Kubernetes · OpenTelemetry

Research project

PlatformLab CRM

Planned design

A small multitenant CRM platform intended to study engineering mechanisms through an independent system and synthetic data.

The laboratory is an original educational project. It does not reproduce proprietary Salesforce code or constitute a client implementation.

Proposed architecture

  1. API and domain

    Java / Spring Boot · business rules and operation authorisation.

  2. Persistence

    PostgreSQL · accounts, opportunities, configuration metadata and transactions.

  3. Tenant isolation

    Authenticated identity, tenant_id and verifiable access policies.

  4. Event processing

    Worker, transactional outbox and Kafka in a later phase.

  5. Operations and observability

    Docker, Kubernetes and OpenTelemetry in a later phase.

First proposed experiment

Concurrency and idempotency in opportunity creation

Two requests may attempt to create the same opportunity if a client retries an operation after losing the response. The experiment will examine whether an operation key and a transaction with a uniqueness constraint preserve the business rule: one creation intention, one opportunity per organisation.

  1. Prepare two fictitious organisations and requests with a stable key per operation.
  2. Send concurrent requests with the same key within one organisation.
  3. Simulate a lost response after commit and repeat the operation.
  4. Reuse the key with different data and attempt access from another organisation.
  5. Check the persisted result, API response and data isolation; record failures and observed results.

Proposed acceptance criteria

  • One opportunity per operation key within the same scope; a valid repeat retrieves its result.
  • Incompatible key reuse is rejected according to the API contract.
  • Another organisation's identity cannot read or modify the opportunity.
  • An exception before commit rolls back the complete local operation.

Implementation and execution pending. No experimental results have been published for this laboratory yet.

How each experiment will be documented

Problem and hypothesis

Context, expected behaviour, assumptions and a verifiable success criterion.

Environment and procedure

Versions, configuration, code and synthetic test data; instructions for reproducing the experiment.

Results and limitations

Observations, measurements, errors, interpretation and conditions under which the conclusion holds.