Several technical limits apply to Narmi Functions and should be accounted for in development. Some of these limits are adjustable on a per-function basis. To request an increase, please contact support@narmi.com with the details of your function use case and reason for the requested increase.
Supported Runtimes – Two runtimes are supported: Node.js 22 and Python 3.13. Node.js 22 is the default. Node.js 18 is no longer available.
Code Archive Structure – This depends on the runtime:
- Node.js 22: Archive must contain
index.jsorindex.mjsat the root. The exported handler isindex.handler. - Python 3.13: Archive must contain
lambda_function.pyat the root. The handler function must be namedlambda_handler.
This will be the entry point of the Narmi Function.
Package Size – The maximum upload size for a package is 64MB.
Daily Invocation Limit – Each Narmi Function has a default limit of 10,000 daily executions. If a function surpasses this limit, it will be deactivated, and require Narmi Support to re-activate the function.
Concurrency – A Narmi Function in production has a default maximum concurrency of 25, meaning 25 individual requests can be simultaneously running the Narmi function. Any requests beyond this will result in a 429 HTTP response. In UAT, Webhook and Scheduled functions are limited to 1 concurrent execution. NAF-type (Narmi Application Framework) functions in UAT have a limit of 10 concurrent executions.
Memory – Narmi Functions are allocated 256MB of RAM.
Timeout – Narmi Functions have a maximum execution duration of 30 seconds per request.
Log Retention – Narmi Function logs are retained for 60 days.
Data Persistence – The Narmi Function service does not include a data persistence layer. You may use a third-party service or the Narmi API for data persistence as appropriate.
Egress – Outgoing traffic from a Narmi Function uses a static IP address, which can be one of the following four IPs:
- 35.81.136.53
- 34.214.115.134
- 52.54.86.112
- 54.166.28.135
Environment Variables – The total size of environment variables cannot exceed 4 KB. This cannot be increased.
Narmi Application Framework Type Functions – NAF-type functions require that the NAF Application opens in a new tab in online banking (GET request submitted to the application URL) or iFrame (POST request) within online banking.
Narmi Hosting - Narmi hosts stateless frontend and/or backend applications, which means only:
- Static assets such as HTML, JavaScript, and CSS
- Application logic (using Node.js is required)