React Native FastIO: Nitro-Powered Performance Boost

stream and you can pipe it so I mean either you can pipe it or you can use the fetch from the library and you can write fetch as a request body you just put the blob okay and there is nothing in the memory yeah it's all lazy as soon as the fetch request starts being executed The Blob will be piped chunk by chunk to the network and so I have this video on my Twitter where I stream upload 1.
2 gig file and the memory is like not even picking up nice uh subject to I guess one memory leak but that's irrelevant so I guess the point is that uh the memory stays flat so if you're building anything that really works with the data I would say this is huge mhm and then you know websocket module support this out of the box there is no additional native dependencies Beyond nro because webset uses same uh internals on Android as react native anyway and uh built-ins on iOS so uh anything real time uh and you know this is just where your creative mind can can can can really go uh because you know web socket also supports streaming binary data so if you have an image you can stream it with websockets and we're actually going to stream and pass an actual binary data so we're not going to serialize it to
m.
at the gym in the in New York I was jet locked I wake I woke up I I went to do my workout and and this idea another Library came through my mind uh the AI agent and I'm like we'll get there we'll get there God I'm I'm building this you know and then two weeks pass like that and I'm okay I should have released it because I would already have feedback from the people and and when I have feedback I know how to operate and execute so uh going to release it finally tomorrow um because you know when you release early there is less
release though uh so I would say use websockets play around with everything else uh give feedback um issues about you know things that you would like to see uh things that you would do different and if there is anybody passionate about uh that that that subject of crossplatform uh modules also let me know um that is a huge effort you know um we will have to figure out a lot of things when we before we get this done so I really invite everybody to join me and and and and then let's ship it what the best way to to connect against what everybody tells you but just open up get habish I mean the project uh the project is such a low profile now that this is the the easiest way um you know I I I didn't have time to figure the Discord server uh situation so uh so I think when I figure the Discord situation then um I would say Discord so okay um if we figure the Discord out it will be in the show not show notes if it's not there just open up get Hub issue I guess but also Twitter me contact me on Blue Sky whatever works I'm good uh so that is that is not a problem all right all right cool um so we are wrapping this episode up um I think we know a lot tomorrow is the release uh if everything


stream and you can pipe it so I mean either you can pipe it or you can use the fetch from the library and you can write fetch as a request body you just put the blob okay and there is nothing in the memory yeah it's all lazy as soon as the fetch request starts being executed The Blob will be piped chunk by chunk to the network and so I have this video on my Twitter where I stream upload 1.
2 gig file and the memory is like not even picking up nice uh subject to I guess one memory leak but that's irrelevant so I guess the point is that uh the memory stays flat so if you're building anything that really works with the data I would say this is huge mhm and then you know websocket module support this out of the box there is no additional native dependencies Beyond nro because webset uses same uh internals on Android as react native anyway and uh built-ins on iOS so uh anything real time uh and you know this is just where your creative mind can can can can really go uh because you know web socket also supports streaming binary data so if you have an image you can stream it with websockets and we're actually going to stream and pass an actual binary data so we're not going to serialize it to
m.
at the gym in the in New York I was jet locked I wake I woke up I I went to do my workout and and this idea another Library came through my mind uh the AI agent and I'm like we'll get there we'll get there God I'm I'm building this you know and then two weeks pass like that and I'm okay I should have released it because I would already have feedback from the people and and when I have feedback I know how to operate and execute so uh going to release it finally tomorrow um because you know when you release early there is less
release though uh so I would say use websockets play around with everything else uh give feedback um issues about you know things that you would like to see uh things that you would do different and if there is anybody passionate about uh that that that subject of crossplatform uh modules also let me know um that is a huge effort you know um we will have to figure out a lot of things when we before we get this done so I really invite everybody to join me and and and and then let's ship it what the best way to to connect against what everybody tells you but just open up get habish I mean the project uh the project is such a low profile now that this is the the easiest way um you know I I I didn't have time to figure the Discord server uh situation so uh so I think when I figure the Discord situation then um I would say Discord so okay um if we figure the Discord out it will be in the show not show notes if it's not there just open up get Hub issue I guess but also Twitter me contact me on Blue Sky whatever works I'm good uh so that is that is not a problem all right all right cool um so we are wrapping this episode up um I think we know a lot tomorrow is the release uh if everything
After almost two years, Mike Grabowski, the first host of Callstack’s podcast, is back. In this Coffee Talk, however, he’s joining Kuba as a guest. The two are discussing the recently released React Native FastIO - a library designed to boost I/O operations inside React Native applications.
What started out as an experiment of using Nitro Modules to build something incredibly fast and efficient, Mike’s work has led to the creation of a library that offers a variety of I/O primitives, including blob, fetch, file system, and streams. React Native FastIO aims to provide developers with powerful, native-like capabilities while maintaining web compliance, setting a new standard for handling complex I/O tasks in React Native.
Blazing fast I/O for React Native built on top of Nitro
- The evolution of FastIO from a simple Web Socket module to a comprehensive library with various I/O primitives,
- Detailed explanation of the I/O primitives included in React Native FastIO, such as blob, fetch, file system, and streams,
- Architectural approach, focusing on modularity and separation between front-end and back-end processes,
- Challenges faced during the development process,
- Significance of web compliance in React Native FastIO and its impact on cross-platform development,
- Use cases for React Native FastIO, highlighting scenarios where you can make the most of the library, e.g., in resource-heavy applications and real-time data handling,
- Future roadmap, including potential expansions and improvements.
More about React Native FastIO
- React Native FastIO on GitHub
- Mike Grabowski on X and BlueSky
We help React Native teams enhance speed, responsiveness, and efficiency.
Learn more about
Performance
Here's everything we published recently on this topic.
We can help you move
it forward!
At Callstack, we work with companies big and small, pushing React Native everyday.
React Native Performance Optimization
Improve React Native apps speed and efficiency through targeted performance enhancements.
Monitoring & Observability
Enable production-grade monitoring and observability for React Native apps with real-time insights and alerts.
Release Process Optimization
Ship faster with optimized CI/CD pipelines, automated deployments, and scalable release workflows for React Native apps.
React Compiler Implementation
Use React Compiler to achieve instant performance benefits in your existing applications.
