...
FHIR server | Sample | Memory limit | 1st attempt | 2th attempt | 3th attempt | 4th attempt | 5th attempt |
---|
mem | avg | p90 | mem | avg | p90 | mem | avg | p90 | mem | avg | p90 | mem | avg | p90 |
---|
Hearth | 1 000 | no limit | - | 3 | 4 | - | 3 | 5 | - | 3 | 4 | - | 3 | 5 | - | 3 | 4 |
HAPI FHIR | - | 19 | 25 | - | 17 | 20 | - | 20 | 28 | - | 20 | 27 | - | 22 | 29 |
Hearth | 10 000 | no limit |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hearth | 10 000 | 1024MB |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hearth | 20 000 | no limit |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hearth | 20 000 | 1024MB |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Search locations by name
Note: When an X test is being executed, there are 1000 resources in the FHIR server. The search endpoint returns only 10 resources.
Request body
Code Block |
---|
URL: ${fhir-server-url}/Location?name:contains=Lurio
Method: GET |
Response times
FHIR server | Sample | Memory limit | 1st attempt
| 2th attempt
| 3th attempt
| 4th attempt
| 5th attempt
|
---|
mem | avg | p90 | mem | avg | p90 | mem | avg | p90 | mem | avg | p90 | mem | avg | p90 |
---|
Hearth | 1 000 | no limit | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
HAPI FHIR | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Hearth | 10 000 | no limit |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hearth | 10 000 | 1024MB |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hearth | 20 000 | no limit |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hearth | 20 000 | 1024MB |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Search locations by partOf
Note: When an X test is being executed, there are 1000 resources in the FHIR server. The search endpoint returns only 10 resources.
Request body
Code Block |
---|
URL: ${fhir-server-url}/Location?partof=https://test.openlmis.org/api/Location/9b8cfb5a-217a-4261-a64f-16ca06ae79fa
Method: GET |
Response times
FHIR server | Sample | Memory limit | 1st attempt
| 2th attempt
| 3th attempt
| 4th attempt
| 5th attempt
|
---|
mem | avg | p90 | mem | avg | p90 | mem | avg | p90 | mem | avg | p90 | mem | avg | p90 |
---|
Hearth | 1 000 | no limit | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
HAPI FHIR | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Hearth | 10 000 | no limit |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hearth | 10 000 | 1024MB |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hearth | 20 000 | no limit |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hearth | 20 000 | 1024MB |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Search locations by status
Note: When an X test is being executed, there are 1000 resources in the FHIR server. The search endpoint returns only 10 resources.
Request body
Code Block |
---|
URL: ${fhir-server-url}/Location?status:exact=active
Method: GET |
Response times
FHIR server | Sample | Memory limit | 1st attempt
| 2th attempt
| 3th attempt
| 4th attempt
| 5th attempt
|
---|
mem | avg | p90 | mem | avg | p90 | mem | avg | p90 | mem | avg | p90 | mem | avg | p90 |
---|
Hearth | 1 000 | no limit | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
HAPI FHIR | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Hearth | 10 000 | no limit |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hearth | 10 000 | 1024MB |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hearth | 20 000 | no limit |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hearth | 20 000 | 1024MB |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAPI FHIR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conclusions
In all attempts, the Hearth FHIR server has better performance than the HAPI FHIR server. Creation and update actions take a lot of more time in the HAPI FHIR than in the Hearth. The search actions have better results but still, Hearth server is faster about 4 times. I noticed that the HAPI FHIR server caches results (not know for how long) for search requests:
...