# \#swift-nio

**URL:** https://forums.swift.org/tag/swift-nio/283.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Cross-compiling 6.3.3 for aarch64 debian 12 or 13](https://forums.swift.org/t/cross-compiling-6-3-3-for-aarch64-debian-12-or-13/88700)

<div class="topic-metadata">

**Author:** [@cora](https://forums.swift.org/u/cora)\
**Replies:** 16\
**Last updated:** [August 4, 2026, 2:30pm UTC](https://forums.swift.org/t/cross-compiling-6-3-3-for-aarch64-debian-12-or-13/88700 "2026-08-04T14:30:27Z")

</div>

Apologies if I'm posting in the wrong spot; please feel free to redirect. I'm attempting to cross-compile from my mac (m1 max / osx 26.8), targeting an older raspberry pi (aarch64) running Debian 13 (Trixie). I'm able t…

---

## [MQTT NIO - First alpha of v3 is out!](https://forums.swift.org/t/mqtt-nio-first-alpha-of-v3-is-out/87036)

<div class="topic-metadata">

**Author:** [@fpseverino](https://forums.swift.org/u/fpseverino)\
**Replies:** 4\
**Last updated:** [August 3, 2026, 9:07am UTC](https://forums.swift.org/t/mqtt-nio-first-alpha-of-v3-is-out/87036 "2026-08-03T09:07:52Z")

</div>

@adam-fowler and I are happy to announce that the first alpha version of MQTT NIO v3 is out! It's a complete rewrite of the library, based around structured concurrency and following best practices of modern state-of-th…

---

## [\[Pitch\] An imperative-style async/await IMAP client for swift-nio-imap](https://forums.swift.org/t/pitch-an-imperative-style-async-await-imap-client-for-swift-nio-imap/88479)

<div class="topic-metadata">

**Author:** [@deggert](https://forums.swift.org/u/deggert)\
**Replies:** 0\
**Last updated:** [July 23, 2026, 4:18pm UTC](https://forums.swift.org/t/pitch-an-imperative-style-async-await-imap-client-for-swift-nio-imap/88479 "2026-07-23T16:18:38Z")

</div>

I'd like to pitch a new, imperative-style client interface for apple/swift-nio-imap and get feedback on its shape. The full change is up as a draft PR — #841 — so you can read the actual API and try it out. Background s…

---

## [Designing an HTTP Server API for Swift](https://forums.swift.org/t/designing-an-http-server-api-for-swift/85255)

<div class="topic-metadata">

**Author:** [@guscairo](https://forums.swift.org/u/guscairo)\
**Replies:** 12\
**Last updated:** [June 26, 2026, 10:31am UTC](https://forums.swift.org/t/designing-an-http-server-api-for-swift/85255 "2026-06-26T10:31:47Z")

</div>

Swift is becoming increasingly popular for server-side development, thanks to characteristics such as performance, safety, and developer productivity. At Apple, we’re increasingly writing new services in Swift and are th…

---

## [Input on a per-resource serialized access coordinator with global parallelism](https://forums.swift.org/t/input-on-a-per-resource-serialized-access-coordinator-with-global-parallelism/84755)

<div class="topic-metadata">

**Author:** [@theBitThatBytes](https://forums.swift.org/u/theBitThatBytes)\
**Replies:** 0\
**Last updated:** [February 15, 2026, 8:42pm UTC](https://forums.swift.org/t/input-on-a-per-resource-serialized-access-coordinator-with-global-parallelism/84755 "2026-02-15T20:42:30Z")

</div>

Hey, I am lately in need of getting some performance-critical pipeline improved and came around the topic of per-resource serialized access coordinator with global parallelism and a little abstraction for some resource m…

---

## [How fast is Mutex on Linux?](https://forums.swift.org/t/how-fast-is-mutex-on-linux/82912)

<div class="topic-metadata">

**Author:** [@asdf\_bro](https://forums.swift.org/u/asdf_bro)\
**Replies:** 1\
**Last updated:** [October 28, 2025, 5:25pm UTC](https://forums.swift.org/t/how-fast-is-mutex-on-linux/82912 "2025-10-28T17:25:11Z")

</div>

I understand that Synchronization.Mutex is implemented using atomics and futex system calls on Linux. Have we run benchmarks comparing its performance to pthread\_mutex\_t from Glibc and Musl? I have forked swift-nio and…

---

## [Deleted](https://forums.swift.org/t/deleted/82327)

<div class="topic-metadata">

**Author:** [@GreatOm](https://forums.swift.org/u/GreatOm)\
**Replies:** 0\
**Last updated:** [September 24, 2025, 6:55am UTC](https://forums.swift.org/t/deleted/82327 "2025-09-24T06:55:09Z")

</div>

deleted since there was another issue. Edit: I cannot delete this topic due to my permissions: You don't have permission to delete this topic. If you really want it to be deleted, submit a flag for moderator attention…

---

## [gRPC Swift v2 beta – Feedback Wanted! 🚀](https://forums.swift.org/t/grpc-swift-v2-beta-feedback-wanted/76414)

<div class="topic-metadata">

**Author:** [@georgebarnett](https://forums.swift.org/u/georgebarnett)\
**Replies:** 8\
**Last updated:** [April 21, 2025, 7:59am UTC](https://forums.swift.org/t/grpc-swift-v2-beta-feedback-wanted/76414 "2025-04-21T07:59:32Z")

</div>

We're excited to announce the first beta release of gRPC Swift v2 which is a major update to our gRPC implementation for Swift. This new version has been designed to enhance usability, improve performance, and better ali…

---

## [TCP Proxy for macOS System Extension](https://forums.swift.org/t/tcp-proxy-for-macos-system-extension/78706)

<div class="topic-metadata">

**Author:** [@dhanarajkawde](https://forums.swift.org/u/dhanarajkawde)\
**Replies:** 2\
**Last updated:** [March 24, 2025, 7:03am UTC](https://forums.swift.org/t/tcp-proxy-for-macos-system-extension/78706 "2025-03-24T07:03:00Z")

</div>

Hi All, I am creating a TCP Proxy using SwiftNIO for a Web Content Filter. I am having issues connecting to a remote server, and the webpage keeps loading on my browser. If someone helps me to guide it will be helpful. …

---

## [Serverless Swift: Controlling Philips Hue bulbs by running Swift on AWS Lambda](https://forums.swift.org/t/serverless-swift-controlling-philips-hue-bulbs-by-running-swift-on-aws-lambda/78069)

<div class="topic-metadata">

**Author:** [@rtoken](https://forums.swift.org/u/rtoken)\
**Replies:** 0\
**Last updated:** [February 24, 2025, 7:32pm UTC](https://forums.swift.org/t/serverless-swift-controlling-philips-hue-bulbs-by-running-swift-on-aws-lambda/78069 "2025-02-24T19:32:23Z")

</div>

I built an event-driven serverless back end entirely in Swift that remotely flashes the Philips Hue bulbs in my house whenever my favorite sports teams score or win. It runs on AWS services including Lambda, DynamoDB, SQ…

---

## [How to use NIOAsyncChannel and reuse connections for an HTTP Client](https://forums.swift.org/t/how-to-use-nioasyncchannel-and-reuse-connections-for-an-http-client/77598)

<div class="topic-metadata">

**Author:** [@sebsto](https://forums.swift.org/u/sebsto)\
**Replies:** 2\
**Last updated:** [February 2, 2025, 9:19am UTC](https://forums.swift.org/t/how-to-use-nioasyncchannel-and-reuse-connections-for-an-http-client/77598 "2025-02-02T09:19:24Z")

</div>

Hello, I'm writing an HTTP client for a library. I can only use Swift-NIO as a dependency. The client will poll events from a server (GET /next) and reuse the same TCP connection once an event has been delivered to pol…

---

## [gRPC Swift v2 release candidate](https://forums.swift.org/t/grpc-swift-v2-release-candidate/77427)

<div class="topic-metadata">

**Author:** [@georgebarnett](https://forums.swift.org/u/georgebarnett)\
**Replies:** 1\
**Last updated:** [January 29, 2025, 12:58am UTC](https://forums.swift.org/t/grpc-swift-v2-release-candidate/77427 "2025-01-29T00:58:59Z")

</div>

We're excited to announce the first release candidate of gRPC Swift v2. This is a final call for feedback before the planned release of v2 on 31st January 2025. This is a major update to our gRPC implementation for Sw…

---

## [System FilePath, NIOFileSystem FilePath, and Sendable](https://forums.swift.org/t/system-filepath-niofilesystem-filepath-and-sendable/75952)

<div class="topic-metadata">

**Author:** [@atlantis](https://forums.swift.org/u/atlantis)\
**Replies:** 0\
**Last updated:** [November 11, 2024, 8:30pm UTC](https://forums.swift.org/t/system-filepath-niofilesystem-filepath-and-sendable/75952 "2024-11-11T20:30:50Z")

</div>

I am currently transitioning to using the APIs in NIOFileSystem, but noticed that FilePath is different to the one you import with System. This version does not appear to be Sendable, so I have to keep converting them ba…

---

## [Swift Concurrency VS EventLoop for new implementations](https://forums.swift.org/t/swift-concurrency-vs-eventloop-for-new-implementations/74612)

<div class="topic-metadata">

**Author:** [@pnewell](https://forums.swift.org/u/pnewell)\
**Replies:** 2\
**Last updated:** [September 17, 2024, 6:28am UTC](https://forums.swift.org/t/swift-concurrency-vs-eventloop-for-new-implementations/74612 "2024-09-17T06:28:28Z")

</div>

I am working on converting some database bindings from Java to Swift from scratch. It is tempting to do this using Swift Concurrency and Actors to be dependency free, Swift 6 opens up a lot of possibilities to do this co…

---

## [XCTest Error abnormal(309) - does anyone know what it is?](https://forums.swift.org/t/xctest-error-abnormal-309-does-anyone-know-what-it-is/74606)

<div class="topic-metadata">

**Author:** [@RussBaz](https://forums.swift.org/u/RussBaz)\
**Replies:** 2\
**Last updated:** [September 16, 2024, 2:33pm UTC](https://forums.swift.org/t/xctest-error-abnormal-309-does-anyone-know-what-it-is/74606 "2024-09-16T14:33:31Z")

</div>

Hi. My tests (XCTest) fail after a successful build with just this message: error: abnormal(309): C:\\Users\\RussBaz\\Documents\\Projects\\GitHub\\swift-libuv-transport-services\\.build\\x86\_64-unknown-windows-msvc\\debug\\swift-…

---

## [Netlink socket support in SwiftNIO](https://forums.swift.org/t/netlink-socket-support-in-swiftnio/51651)

<div class="topic-metadata">

**Author:** [@apayne](https://forums.swift.org/u/apayne)\
**Replies:** 10\
**Last updated:** [September 4, 2024, 8:48am UTC](https://forums.swift.org/t/netlink-socket-support-in-swiftnio/51651 "2024-09-04T08:48:38Z")

</div>

We have a need to listen for interface up/down events in Linux and the normal way to accomplish this is using a netlink socket (See: netlink(7) - Linux manual page). My question is: does it seem appropriate to build netl…

---

## [SwiftNIO truncates to 32 bits?](https://forums.swift.org/t/swiftnio-truncates-to-32-bits/73583)

<div class="topic-metadata">

**Author:** [@JetForMe](https://forums.swift.org/u/JetForMe)\
**Replies:** 17\
**Last updated:** [August 1, 2024, 4:57pm UTC](https://forums.swift.org/t/swiftnio-truncates-to-32-bits/73583 "2024-08-01T16:57:31Z")

</div>

I have a little app that uploads to S3 via Soto. I just tried to upload a 5 GB file and it failed, because down inside ByteBuffer, it casts an Int capacity value to \_Capacity, which is typealiased to UInt32. This seems p…

---

## [URLSessionTasks on Windows can cause crashes](https://forums.swift.org/t/urlsessiontasks-on-windows-can-cause-crashes/64795)

<div class="topic-metadata">

**Author:** [@gregcotten](https://forums.swift.org/u/gregcotten)\
**Replies:** 2\
**Last updated:** [July 18, 2024, 7:11pm UTC](https://forums.swift.org/t/urlsessiontasks-on-windows-can-cause-crashes/64795 "2024-07-18T19:11:08Z")

</div>

I am having a hard time attempting to use Swift in a production app on Windows! It turns out if your URLSessionTask fails due to a timeout, instead of completing with an error I instead get a total crash. I thought I'd…

---

## [How can I configure a long running Swift CLI with NIO respond to CTRL-C/SIGINT](https://forums.swift.org/t/how-can-i-configure-a-long-running-swift-cli-with-nio-respond-to-ctrl-c-sigint/72762)

<div class="topic-metadata">

**Author:** [@leisurehound](https://forums.swift.org/u/leisurehound)\
**Replies:** 4\
**Last updated:** [July 4, 2024, 12:58pm UTC](https://forums.swift.org/t/how-can-i-configure-a-long-running-swift-cli-with-nio-respond-to-ctrl-c-sigint/72762 "2024-07-04T12:58:12Z")

</div>

I have long running socket client command line app utilizing SwiftNIO that is working fine, except that in terminal the CLI does not respond to the terminal's CTRL-C/SIGINT signal. Is this something configurable in NIO …

---

## [Compile error without importing NIOFoundationCompat on Linux but not macOS](https://forums.swift.org/t/compile-error-without-importing-niofoundationcompat-on-linux-but-not-macos/72761)

<div class="topic-metadata">

**Author:** [@cseal](https://forums.swift.org/u/cseal)\
**Replies:** 1\
**Last updated:** [June 26, 2024, 5:38pm UTC](https://forums.swift.org/t/compile-error-without-importing-niofoundationcompat-on-linux-but-not-macos/72761 "2024-06-26T17:38:47Z")

</div>

Hi All, I am developing a simple HTTP client program for Linux using the async-http-client package from the server working group. I am able to build locally on macOS, but I was getting a compiler error in my CI pipeline…

---

## [NIO's FileSystem vs NonBlockingFileIO](https://forums.swift.org/t/nios-filesystem-vs-nonblockingfileio/72318)

<div class="topic-metadata">

**Author:** [@Malien](https://forums.swift.org/u/Malien)\
**Replies:** 3\
**Last updated:** [June 8, 2024, 5:43pm UTC](https://forums.swift.org/t/nios-filesystem-vs-nonblockingfileio/72318 "2024-06-08T17:43:03Z")

</div>

There are two similar implementations of async file IO. NonBlockingFileIO in NIOPosix FileSystem in NIOFileSystem The implementations, on the first glance, look completely independent. Both of them basically utilize N…

---

## [HTTP benchmarking tool written in Swift](https://forums.swift.org/t/http-benchmarking-tool-written-in-swift/71911)

<div class="topic-metadata">

**Author:** [@lovetodream](https://forums.swift.org/u/lovetodream)\
**Replies:** 6\
**Last updated:** [May 19, 2024, 9:34pm UTC](https://forums.swift.org/t/http-benchmarking-tool-written-in-swift/71911 "2024-05-19T21:34:20Z")

</div>

Hello everyone, inspired by the discussion in this thread, I've hacked together a small http benchmarking tool using nio during the last few evenings. It was a great chance to try out the AsyncChannel stuff recently add…

---

## [Multiple NIO client connections for multipart upload](https://forums.swift.org/t/multiple-nio-client-connections-for-multipart-upload/70592)

<div class="topic-metadata">

**Author:** [@Cole](https://forums.swift.org/u/Cole)\
**Replies:** 7\
**Last updated:** [March 14, 2024, 1:30am UTC](https://forums.swift.org/t/multiple-nio-client-connections-for-multipart-upload/70592 "2024-03-14T01:30:28Z")

</div>

I have a question in regards to simultaneously sending and receiving Data from a NIO Client and the proper usage of it. I have a NIO TCP Client that uses NIOAsyncChannels. I make a single connection to the TCP server. I…

---

## [Advice on non-blocking communication via UART/SPI with swift-nio/vapor](https://forums.swift.org/t/advice-on-non-blocking-communication-via-uart-spi-with-swift-nio-vapor/68871)

<div class="topic-metadata">

**Author:** [@theBitThatBytes](https://forums.swift.org/u/theBitThatBytes)\
**Replies:** 7\
**Last updated:** [December 11, 2023, 11:15am UTC](https://forums.swift.org/t/advice-on-non-blocking-communication-via-uart-spi-with-swift-nio-vapor/68871 "2023-12-11T11:15:02Z")

</div>

Hey, I'm looking for (plausibility) advice for the following idea: A little "why": Since most commercial data loggers and open source data loggers are not non-blocking or event-driven and do not offer sophisticated real…

---

## [Global executor hooks + SwiftNIO](https://forums.swift.org/t/global-executor-hooks-swiftnio/67600)

<div class="topic-metadata">

**Author:** [@asdf\_bro](https://forums.swift.org/u/asdf_bro)\
**Replies:** 5\
**Last updated:** [October 25, 2023, 3:49pm UTC](https://forums.swift.org/t/global-executor-hooks-swiftnio/67600 "2023-10-25T15:49:03Z")

</div>

Swift Concurrency has hooks that allow you to implement a custom global executor and avoid Dispatch altogether. Check out this example: Refer to these files for understanding: swift/stdlib/public/Concurrency/GlobalExe…

---

## [Bag-of-Bytes types in Swift](https://forums.swift.org/t/bag-of-bytes-types-in-swift/62120)

<div class="topic-metadata">

**Author:** [@Joannis\_Orlandos](https://forums.swift.org/u/Joannis_Orlandos)\
**Replies:** 15\
**Last updated:** [September 4, 2023, 12:18pm UTC](https://forums.swift.org/t/bag-of-bytes-types-in-swift/62120 "2023-09-04T12:18:43Z")

</div>

Before I start of my experience and opinions on the matter, I want to refer to the forum post that sparked this post. Why must i build ALL of NIOCore just to say the name ByteBuffer? by @taylorswift After this post, I h…

---

## [Crash on Linux when creating a Date from Calendar.date(from: DateComponents)](https://forums.swift.org/t/crash-on-linux-when-creating-a-date-from-calendar-date-from-datecomponents/66988)

<div class="topic-metadata">

**Author:** [@lovetodream](https://forums.swift.org/u/lovetodream)\
**Replies:** 3\
**Last updated:** [August 29, 2023, 10:58am UTC](https://forums.swift.org/t/crash-on-linux-when-creating-a-date-from-calendar-date-from-datecomponents/66988 "2023-08-29T10:58:33Z")

</div>

Hello everyone, I have the following code to decode a Date from wire data, it works fine on macOS but it crashes code on linux (specifically ubuntu 22). The crash occurs when I am constructing a Date from DateComponents …

---

## [Are symbol links case-sensitive or not?](https://forums.swift.org/t/are-symbol-links-case-sensitive-or-not/66693)

<div class="topic-metadata">

**Author:** [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Replies:** 2\
**Last updated:** [August 28, 2023, 10:23pm UTC](https://forums.swift.org/t/are-symbol-links-case-sensitive-or-not/66693 "2023-08-28T22:23:55Z")

</div>

i am told that symbollinks/codelinks have become case sensitive. For example, a type and a property like this enum Something {} var something: Something needed to be written as Something-swift.enum and something-sw…

---

## [How to debug a memory leak that takes place in Ubuntu only?](https://forums.swift.org/t/how-to-debug-a-memory-leak-that-takes-place-in-ubuntu-only/66531)

<div class="topic-metadata">

**Author:** [@RussBaz](https://forums.swift.org/u/RussBaz)\
**Replies:** 4\
**Last updated:** [August 2, 2023, 3:37pm UTC](https://forums.swift.org/t/how-to-debug-a-memory-leak-that-takes-place-in-ubuntu-only/66531 "2023-08-02T15:37:25Z")

</div>

Hi. When I run my NIO based app test suite on a Mac, everything is OK. However, when the same test suite is run on Ubuntu, I get a memory leak error. How am I to debug this? I don't have much experience with memory leak…

---

## [Proper use of NIOThrowingAsyncProducer](https://forums.swift.org/t/proper-use-of-niothrowingasyncproducer/60733)

<div class="topic-metadata">

**Author:** [@Cole](https://forums.swift.org/u/Cole)\
**Replies:** 22\
**Last updated:** [July 22, 2023, 7:28pm UTC](https://forums.swift.org/t/proper-use-of-niothrowingasyncproducer/60733 "2023-07-22T19:28:29Z")

</div>

I just want to start off by saying thanks for the hard work in making this API. It is truly taking the NIO/Swift Concurrency bridge closer to a happier place. I started trying to implement this API into my Channel Handl…

[Next page](https://forums.swift.org/tag/swift-nio/283.md?match_all_tags=true&page=1&tags%5B%5D=swift-nio)
