ub-server
HTTP 1.1 server with epoll and pthread, written in C (by chiqui3d)
ucall
Remote Procedure Calls - 50x lower latency and 70x higher bandwidth than FastAPI, implementing JSON-RPC & 🔜 REST over io_uring and SIMDJSON ☎️ (by unum-cloud)
ub-server | ucall | |
---|---|---|
1 | 13 | |
0 | 994 | |
- | 2.0% | |
10.0 | 6.4 | |
over 1 year ago | 24 days ago | |
C | C | |
MIT License | Apache License 2.0 |
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.
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.
ub-server
Posts with mentions or reviews of ub-server.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Review and doubts about a small server to practice C programming
The next step will be to try to share both the epollFd and the priority queue between the threads, and use what you taught me with the mutex for the logs, that is, put a lock and an initialized in the priority queue structure. In addition, I have also removed the Request and Response structure and put it directly into the priority queue structure. https://github.com/chiqui3d/ub-server
ucall
Posts with mentions or reviews of ucall.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-07.
- Show HN: U)Search Images demo in 200 lines of Python
-
Faster JSON-RPC on Linux kernel 5.19+ with io_uring and simdjson
Type checking was included, and union support is trivial to add. We have just added a feature request and will release it in a few days.
- FLiP Stack Weekly for 13 March 2023
-
Show HN: Up to 100x Faster FastAPI with simdjson and io_uring on Linux 5.19
You are right! For the convenience of Python users, we have to introspect the messages and parse JSON into Python objects. Every member of every dictionary being allocated on heap.
To make it as fast as possible we don't use PyBind, NanoBind, SWIG, or any high-level tooling. Our Python bindings are a pure CPython integration. There is just no way to beat that combo, not that I know.
https://github.com/unum-cloud/ujrpc/blob/main/src/python.c
-
Lightweight RPC with `simdjson` and `io_uring` on Linux 5.19 and newer
TLDR: UJRPC reaches 230K TCP/IP round-trips per second on 1 socket. Faster than gRPC and much faster than FastAPI.
- Up to 100x Faster FastAPI with simdjson and io_uring on Linux 5.19+
What are some alternatives?
When comparing ub-server and ucall you can also consider the following projects:
iwnet - Pure C Asynchronous HTTP/IO library providing websockets, SSL, routing, reverse proxy.
frontman - Frontman is an open-source API gateway written in Go that allows you to manage your microservices and expose them as a single API endpoint. It acts as a reverse proxy and handles requests from clients, routing them to the appropriate backend service.