Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Facility Service - Performance Testing & Benchmarking Report

1. Document Information

Field
Details

Product

DIGIT HCM

Service under test

Facility (facility), namespace "health"

Endpoints under test

POST /facility/v1/bulk/_create POST /facility/v1/_search

Container image

egovio/facility:master-b912a1c

Environment

unified-dev (AWS EKS), tenant "dev"

Test date

18 August 2026

Purpose

Establish how many concurrent requests a single pod absorbs before it rejects them, and how latency behaves up to that point

Prepared By

HCM Engineering Team

Release

HCM v2.1

Metric definitions, the test method and a glossary of terms are in the Common Reference document. This report carries only this service's measurements.

2. Test Environment

2.1 Facility pod configuration

Component
Configuration

Cloud provider / orchestration

AWS, Amazon EKS (unified-dev cluster)

Namespace

health

Replicas

1

Horizontal Pod Autoscaler

Not configured

CPU limit / request

300m / 50m

Memory limit / request

512Mi / 256Mi

JVM heap

-Xmx256m -Xms256m

Tomcat max threads

10

Tomcat max connections

500

DB pool (Hikari maximum-pool-size)

2

DB pool initial size

1

Database

PostgreSQL (shared unified-dev instance)

Redis cache

redis.backbone:6379, TTL 60s

Liveness / readiness probe

GET /facility/health — failureThreshold 5, period 60s / 30s, timeout 3s

2.2 Dependent service configurations

Facility is wired to call the services below. Their own pod sizing is listed because a downstream limit constrains this service regardless of how it is configured itself. All values were read from the live cluster.

Service (namespace)
Pods
CPU
Memory
JVM heap

boundary-service (egov)

1

500m

1Gi

-Xmx512m

egov-idgen (egov)

2

500m

1Gi

-Xmx1024m

Same for every service above: Tomcat max threads 10, Tomcat max connections 500, Hikari pool 2.

3. Test Scope

Endpoint
Type
Behaviour

POST /facility/v1/bulk/_create

Asynchronous

Validates synchronously, returns 202 Accepted, produces to Kafka. Figures measure accept capacity — validation plus enqueue.

POST /facility/v1/_search

Synchronous

Response returns inline. Figures measure full request cost.

4. Test Data

Item
Value

Tenant

dev

Bulk create payload

1 Facility per call: isPermanent, name, usage, storage capacity, address locality code

Bulk create distinct data rows

4, recycled across all threads

Search payload

Body filter {"Facility":{"boundaryCode":"<code>"}}

Search distinct data rows

4, recycled across all threads

Bulk create response size

187 bytes per request

Search response size

1,131–48,738 bytes per request

Auth token

One pre-fetched token shared by every thread

Dataset the search ran against

2,596 rows matched the search filter

Table size

74,924 rows for this tenant

Row counts were read from this service's own search API on 20 August, two days after the runs, so they include rows the create tests inserted. A search that matches one row is an indexed lookup and its figures should not be read as the cost of a broad search; one that matches thousands is scanning and filtering real volume.

5. Load Profile

Endpoint
Concurrency levels tested

Bulk create

10, 100, 500, 1,500, 2,250, 2,600, 3,000

Search

10, 100, 500, 750, 900, 1,000

One request per thread, so samples equal threads on every row. All threads for a level are released simultaneously; observed thread-start span was 0.0 to 1.0 seconds.

6. Benchmark Metrics

Latency is shown in seconds, measured client-side, computed from the raw sample logs.

Each endpoint was measured on its own. Only one endpoint carried load at any moment and only one concurrency level ran at a time, so these figures are not influenced by traffic to the service's other endpoints. Within a level, every request is concurrent: all threads are released together and each sends one request.

6.1 Bulk create

Users
Result
p50
p90
p95
p99
Error %
Throughput

10

Clean

0.32 s

0.35 s

0.35 s

0.35 s

0.00

28.1/s

100

Clean

1.00 s

1.21 s

1.21 s

1.21 s

0.00

82.4/s

500

Clean

2.74 s

4.26 s

4.50 s

4.58 s

0.00

108.5/s

1,500

Clean

8.24 s

13.0 s

13.5 s

13.8 s

0.00

106.2/s

2,250

Clean

8.52 s

14.1 s

15.4 s

25.3 s

0.00

87.1/s

2,600

Clean

8.91 s

14.8 s

17.6 s

30.9 s

0.00

83.3/s

3,000

FAILED

9.56 s

16.1 s

16.9 s

17.5 s

32.17

111.1/s

Latency and throughput are computed from successful requests only. A failed request still has a response time, so counting failures would make a failing level look faster and busier than a clean one. Error % is over all requests.

Throughput at each percentile — the rate achieved up to that point in the run. See the Common Reference document for how to read it.

Percentile
Latency
Requests completed
Elapsed
Throughput to that point

p50

8.91 s

1,300

9.4 s

138.2/s

p90

14.8 s

2,340

15.2 s

154.3/s

p95

17.6 s

2,470

17.9 s

137.9/s

p99

30.9 s

2,574

31.2 s

82.5/s

All requests

31.0 s

2,600

31.2 s

83.3/s

Measure
Value

Highest clean level

2,600 concurrent, 0 failures out of 2,600 samples

First failing level

3,000 concurrent, 32.17% error

Peak throughput at a clean level

108.5 req/s

Fastest single request

0.15 s

Users
Result
p50
p90
p95
p99
Error %
Throughput

10

Clean

0.92 s

1.00 s

1.03 s

1.06 s

0.00

9.4/s

100

Clean

4.33 s

6.23 s

6.28 s

6.58 s

0.00

15.2/s

500

Clean

15.3 s

22.5 s

23.5 s

24.1 s

0.00

20.5/s

750

Clean

10.6 s

16.9 s

17.3 s

17.6 s

0.00

42.3/s

900

Clean

15.3 s

23.2 s

23.6 s

23.9 s

0.00

37.4/s

1,000

FAILED

8.39 s

12.2 s

12.6 s

13.1 s

60.30

30.1/s

Latency and throughput are computed from successful requests only. A failed request still has a response time, so counting failures would make a failing level look faster and busier than a clean one. Error % is over all requests.

Throughput at each percentile — the rate achieved up to that point in the run. See the Common Reference document for how to read it.

Percentile
Latency
Requests completed
Elapsed
Throughput to that point

p50

15.3 s

450

15.4 s

29.3/s

p90

23.2 s

810

23.3 s

34.8/s

p95

23.6 s

855

23.7 s

36.1/s

p99

23.9 s

891

24.0 s

37.1/s

All requests

24.0 s

900

24.1 s

37.4/s

Measure
Value

Highest clean level

900 concurrent, 0 failures out of 900 samples

First failing level

1,000 concurrent, 60.30% error

Peak throughput at a clean level

42.3 req/s

Fastest single request

0.30 s

6.3 Failure detail

Endpoint
Users
Error %
Failed
Failure classes

Bulk create

3,000

32.17

965

882 RemoteDisconnected, 83 IncompleteRead

Search

1,000

60.30

603

603 RemoteDisconnected

HTTP codes are responses returned by the service. RemoteDisconnected, IncompleteRead and similar are connection-level failures, which the sample log cannot separate from a failure of the port-forward tunnel used to reach the pod.

7. Scalability Results

Pass means zero failed samples at that concurrency.

7.1 Bulk create

Concurrency
Result
p95 (ms)
Throughput

10

Pass

0.35 s

28.1/s

100

Pass

1.21 s

82.4/s

500

Pass

4.50 s

108.5/s

1,500

Pass

13.5 s

106.2/s

2,250

Pass

15.4 s

87.1/s

2,600

Pass — highest clean level

17.6 s

83.3/s

3,000

Fail — 32.17% error

16.9 s

111.1/s

Concurrency
Result
p95 (ms)
Throughput

10

Pass

1.03 s

9.4/s

100

Pass

6.28 s

15.2/s

500

Pass

23.5 s

20.5/s

750

Pass

17.3 s

42.3/s

900

Pass — highest clean level

23.6 s

37.4/s

1,000

Fail — 60.30% error

12.6 s

30.1/s

8. Stress Test

Measure
Bulk create
Search

Highest clean concurrency

2,600

900

First failing level

3,000 — 32.17%

1,000 — 60.30%

p95 at highest clean level

17.6 s

23.6 s

Throughput at highest clean level

83.3/s

37.4/s

Failure class

Connection-level

Connection-level

These runs were executed between 09:06–12:27 UTC on 18 August 2026. The pod reports 0 restarts. The pod was ready on completion.

9. Notes on Data Validity

All latency, percentile, throughput and error-rate figures were computed directly from the raw sample logs produced by each run. Failure classes, counts and response bodies come from those same logs. Pod and dependent-service configuration was read from the live cluster. Request payloads, filters and paths come from the test plans and their data files.

These figures supersede any earlier reporting for this service. Earlier runs were executed against a different container build and, on the gateway route, blended the login call into the service figures.

10. Conclusion

Result
Value

Bulk create — highest clean concurrency

2,600 (17.6s p95, 83.3 req/s)

Bulk create — first failing level

3,000 at 32.17% error

Search — highest clean concurrency

900 (23.6s p95, 37.4 req/s)

Search — first failing level

1,000 at 60.30% error

Last updated

Was this helpful?