netty-incubator-transport-io_uring VS eRPC

Compare netty-incubator-transport-io_uring vs eRPC and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
netty-incubator-transport-io_uring eRPC
4 2
177 824
0.0% 1.0%
7.9 4.6
13 days ago 4 days ago
Java C++
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

netty-incubator-transport-io_uring

Posts with mentions or reviews of netty-incubator-transport-io_uring. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-12.
  • Use io_uring for network I/O
    11 projects | news.ycombinator.com | 12 Apr 2023
    - For network I/O, Netty as an incubating transport that is promising [1].

    - For disk I/O, JDK's Loom project [2] has mentioned its plan to rely on io_uring on Linux [3], but there's no ETA AFAIK.

    [1] https://github.com/netty/netty-incubator-transport-io_uring

  • Zero-copy network transmission with io_uring
    3 projects | news.ycombinator.com | 31 Jan 2022
    Yes, I think io_uring is slowly making its way onto Java ecosystem. Example: https://github.com/netty/netty-incubator-transport-io_uring

    I guess it will go into the JVM too.

  • Java Virtual Threads Preview
    2 projects | news.ycombinator.com | 15 Nov 2021
    Maybe maybe not. If you want to take advantage of things like io_uring you're going to be doing that with a JNI lib. Such as this Netty incubator support for it https://github.com/netty/netty-incubator-transport-io_uring
  • Advances In The ZIO 2.0 Scheduler
    7 projects | /r/scala | 26 Aug 2021
    There is a Java library from Netty which has implemented io_uring and could be borrowed.

eRPC

Posts with mentions or reviews of eRPC. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-02.
  • Are You Sure You Want to Use MMAP in Your Database Management System?
    3 projects | news.ycombinator.com | 2 Jul 2023
    The most common example is DPDK [1]. It's a framework for building bespoke networking stacks that are usable from userspace, without involving the kernel.

    You'll find DPDK mentioned a lot in the networking/HPC/data center literature. An example of a backend framework that uses DPDK is the seastar framework [2]. Also, I recently stumbled upon a paper for efficient RPC networks in data centers [3].

    If you want to learn more, the p99 conference by ScyllaDB has tons of speakers talking about some interesting challenges.

    [1] https://www.dpdk.org/.

    [2] https://github.com/scylladb/seastar

    [3] https://github.com/erpc-io/eRPC

  • Zero-copy network transmission with io_uring
    3 projects | news.ycombinator.com | 31 Jan 2022
    My side project has been to rewrite https://github.com/erpc-io/eRPC which does RPCs over UDP with some congestion control supposedly quite fast. Paper: https://www.usenix.org/system/files/nsdi19-kalia.pdf. I never got the code to work in AWS; I believe the author focused on Mellanox NICS but that's not really commodity H/W, which is where my interests lay.

    So I dug into it .. and well I'll have my own library soon. I should be able to send UDP w/o congestion control sometime this week.

    eRPC uses DPDK (100% user space NIC TX/RX control) plus the author's own other ideas to get performance. Since I'm getting into NICs + DPDK (in a serious way i.e this much more involved than vanilla sys/socket.h I/O) way, way late in the game, I hope and believe DPDK is, in the medium term, the better way to go than to turn to kernel improvements in for I/O.

    Like others, getting the kernel out of the way, with pinned threads seems cleaner if one can develop from scratch.

    This library will be a part of something bigger, however, a key architecture point for many people is: I got a RPC/packet/message. Now should I:

    * process it in-place e.g. on the thread that was doing RX?

    * delegate it to another core?

    * if I delegate .. to whom?

    * If I delegate how do I get a response back?

    In DPDK I believe these are easier to decide and well-manage in code.

What are some alternatives?

When comparing netty-incubator-transport-io_uring and eRPC you can also consider the following projects:

cats-effect - The pure asynchronous runtime for Scala

protobuf - Protocol Buffers - Google's data interchange format [Moved to: https://github.com/protocolbuffers/protobuf]

cats - Lightweight, modular, and extensible library for functional programming.

liburing

ZIO - ZIO — A type-safe, composable library for async and concurrent programming in Scala

bakelite - Bakelite is a utility that makes it simple to communicate with your firmware.

ice - All-in-one solution for creating networked applications with RPC, pub/sub, server deployment, and more.

glommio - Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.

FlatBuffers - FlatBuffers: Memory Efficient Serialization Library

nio_uring - High performance I/O library for Java using io_uring under the hood

areg-sdk - AREG is an asynchronous Object RPC framework to simplify multitasking programming by blurring borders between processes and treating remote objects as if they coexist in the same thread.