# Performance impacts of Apollo Router customizations

DevFeed: [Performance impacts of Apollo Router customizations](<https://devfeed.tech/articles/performance-impacts-of-apollo-router-customizations-23479.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/performance-impact-of-customizing-the-apollo-router>)

Author: Lucas Leadbetter

Published: 2023-07-10T10:00:00Z

Content type: article

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [configuration](<https://devfeed.tech/topics/configuration.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [Scripting](<https://devfeed.tech/topics/scripting.md>), [Script](<https://devfeed.tech/topics/script.md>), [Programming language](<https://devfeed.tech/topics/programming-language.md>), [Jule](<https://devfeed.tech/topics/jule.md>)

Tags: [apollo](<https://devfeed.tech/tags/apollo.md>), [backend](<https://devfeed.tech/tags/backend.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [curl](<https://devfeed.tech/tags/curl.md>), [docker](<https://devfeed.tech/tags/docker.md>), [github](<https://devfeed.tech/tags/github.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [latency](<https://devfeed.tech/tags/latency.md>), [orchestration](<https://devfeed.tech/tags/orchestration.md>), [performance](<https://devfeed.tech/tags/performance.md>), [router](<https://devfeed.tech/tags/router.md>), [scripting](<https://devfeed.tech/tags/scripting.md>)

## AI overview

This article examines the performance overhead of three Apollo Router extensibility options: configuration, Rhai scripting, and external coprocessing. It reports that configuration generally performs best, followed by Rhai scripting, while external coprocessing adds about 350 microseconds of overhead. Results can vary with factors such as programming language, task complexity, network proximity, and host machine.

## Source excerpt

The Apollo Router features three customization options out of the box to adjust behavior: configuration options, Rhai scripting, and external coprocessing. We refer to these as extensibility options. Extensibility of the Router is one of its primary strengths and is a critical feature for many organizations large and small. Understanding the performance implications of these options is important as the Router is designed for performance and serves as the entry point to your supergraph.