https://github.com/smallnest/rsocket
go binding for rdma rsocket
https://github.com/smallnest/rsocket
rdma rdma-cm rdma-core rsocket
Last synced: 5 months ago
JSON representation
go binding for rdma rsocket
- Host: GitHub
- URL: https://github.com/smallnest/rsocket
- Owner: smallnest
- License: mit
- Created: 2024-11-14T14:03:44.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-30T03:10:29.000Z (over 1 year ago)
- Last Synced: 2025-09-14T16:53:00.849Z (6 months ago)
- Topics: rdma, rdma-cm, rdma-core, rsocket
- Language: Go
- Homepage:
- Size: 1.32 MB
- Stars: 22
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rsocket
`rsockets` is a protocol over RDMA that supports a socket-level API for applications. rsocket APIs are intended to match the behavior of corresponding socket calls, except where noted. rsocket functions match the name and function signature of socket calls, with the exception that all function calls are prefixed with an 'r'.
This project encapsulates rsocket, provides an interface compatible with `net.Conn`, can be directly replaced with `net.Conn`, provides a more convenient interface, can directly use the encapsulated interface of rsocket, or use the interface of `net.Conn`. This project is based on `RDMA`, so the performance will be better than net.Conn.
 [](http://godoc.org/github.com/smallnest/rsocket)
**This project is developing so don't use it in production environments.**
## Usage
Some examples of using rsocket are provided in the `examples` directory. The examples contains a simple TCP/UDP echo server and client.
**Notice**: udp doesn't work
## Reference
- [rsocket(7) - Linux man page](https://linux.die.net/man/7/rsocket)
- [rsocket](https://github.com/linux-rdma/rdma-core/blob/master/librdmacm/docs/rsocket)