---
title: "Discussion on \"The Hidden Cost of Context\" | Hashnode"
description: "Discussion on \"The Hidden Cost of Context\". AsyncLocalStorage and OpenTelemetry Performance in Node.js"
url: "https://hashnode.com/posts/the-hidden-cost-of-context/68920e88609c10031e7590ba"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Hidden Cost of Context](https://blog.platformatic.dev/the-hidden-cost-of-context?utm_source=hashnode&utm_medium=feed)

AsyncLocalStorage and OpenTelemetry Performance in Node.js

Aug 5, 2025 · 7 min read · blog.platformatic.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#opentelemetry](https://hashnode.com/tag/opentelemetry)

## Written by

[Matteo Collina](https://hashnode.com/@matteocollina)

@matteocollina

  
[View profile](https://hashnode.com/@matteocollina)

Open Sourcerer, Node.js TSC member, Fastify Lead Maintainer

## Responses 2

Markdown supported · ⌘↵ to post

[Ben Hughes](https://hashnode.com/@benshughes)

[Oct 13, 2025](https://hashnode.com/posts/the-hidden-cost-of-context/68920e88609c10031e7590ba/comment/68ed5264d9b23bb783d9ea80)

I identified several sources of otel span overhead in schleyfox/otel-js-lightweight-tracer on github

There’s a lot of room for improvement in the library.

[Jonathan Díaz](https://hashnode.com/@polDev)

[Oct 8, 2025](https://hashnode.com/posts/the-hidden-cost-of-context/68920e88609c10031e7590ba/comment/68e6e08644d0ffeec80282b8)

Really great post. Did you used Nsolid from nodesource? In case that it is true. Did you believe that nsolid has less penality in performance that opentelemetry ?
