Encore.ts Streaming APIs #1353
marcuskohlberg
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're exited to announce Encore v1.40, with support for building streaming APIs in Encore.ts
Streaming APIs
Streaming APIs are often used for building push notifications, collaborative tools, or continuous data processing.
In this release we've added support for creating streaming APIs in Encore.ts, enabling you to stream data both to and from your services using a type-safe interface on top of WebSockets.
Here's a simple example of a ping pong service:
See further examples and learn more in the docs.
Don't forget to update your CLI using:
encore version update
New guide: Migrating from Express.js to Encore.ts for 9x performance
We recently wrote about our Encore.ts performance benchmarks, showing how Encore.ts is 9x more performant than Express.js.
Since many of you have asked, we've just published a more in-depth docs article comparing Encore.ts and Express.js. It also includes a migration guide, showing you how to migrate to Encore.ts to unlock improved performance.
📚 Check it out in the docs
Thanks to all our open source contributors
Encore now has over 60 contributors and we're closing in on 6000 stars!🌟
(If you haven't yet—why not star the project!)
We continue to be overwhelmed by your suggestions, bug reports, feedback, and pull requests.
New Contributors ❤️
Tell us what you think
We love it when you share your Encore experiences with us and the world on Twitter, and when you ask questions on Discord.
Other improvements
Full Changelog: v1.39.0...v1.40.0
This discussion was created from the release Encore.ts Streaming APIs.
Beta Was this translation helpful? Give feedback.
All reactions