Performance
Please take the performance requirements of Suomi.fi Messages into account as part of the technical implementation of the service.
This page contains instructions and recommendations to help you ensure that Suomi.fi Messages operates reliably and smoothly in your environment, even when processing larger volumes of messages.
Messages are sent one at a time
Messages are sent to the Suomi.fi Messages REST API one message at a time. If your organisation needs to send a large number of messages, we recommend sending them sequentially, one by one.
Verify performance through testing
If you suspect that a large volume of messages cannot be sent quickly enough, you can test the performance in the Suomi.fi Messages test environment.
The test environment corresponds closely to the production environment in terms of performance. The only significant difference is the amount of concurrent traffic, which may vary considerably in the production environment from time to time.
Data containing personal data or classified information must not be sent to the test environment. For more information about testing, see the Testing instructions page.
Notify us in advance of large performance tests
Small-scale tests (up to a few thousand messages) may be performed freely in the test environment. For larger tests, please notify us in advance at viestit-kayttoonotot@dvv.fi.
Improving performance
If testing or production use indicates that you are unable to send a large volume of messages quickly enough when sending them one at a time, you can improve performance by sending messages partially in parallel, for example five messages at a time.
We also recommend testing such changes in the test environment before deploying them.
Estimating message throughput
According to Suomi.fi Messages' own performance tests, sending a single message with attachments takes a few hundred milliseconds. Consequently, when messages are sent one at a time, it is possible to send a few messages with attachments per second.
Please note that the actual sending rate of your own system depends significantly on its location, network connections and overall performance.