uWebSockets.js
Phoenix
uWebSockets.js | Phoenix | |
---|---|---|
32 | 113 | |
7,531 | 20,830 | |
3.4% | 1.2% | |
8.6 | 9.4 | |
6 days ago | 5 days ago | |
C++ | Elixir | |
Apache License 2.0 | MIT License |
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.
uWebSockets.js
-
Building Real-Time Next.js Apps with WebSockets and Soketi
If you have never heard of Soketi, to give you a brief overview, it is a WebSocket server that was built on top of uWebSockets.js and has great compatibility with Pusher Protocol.
-
8 Best WebSocket Libraries For Node
# Clone the repo w/ submodules git clone --recursive https://github.com/uNetworking/uWebSockets.js.git # Cd into the folder cd uWebSockets.js # build make
- uWebSockets.js
-
Ask HN: How do you handle WebSocket connections reconnect problem?
have you tried https://github.com/uNetworking/uWebSockets.js/
-
I have done a full benchmark of a POST REST API on my computer: Node.js vs Fastify vs Express.js vs Deno vs Bun vs GO. Node.js is used WITH and WITHOUT clustering on 6-core I7 processor
If you'd like to test cluster mode, then use v19.3.0 as it described here https://github.com/uNetworking/uWebSockets.js/issues/593
- Simple, performant HTTP and WebSocket server using uWebSockets.js
- Millions of Active WebSockets with Node.js
-
KitaJs Survey - No runtime code, fast as bare metal and top level framework.
The fastest node framework is uWebSockets (as they claim, I didn't try it yet), so if Kita's goal is to maximize performance - you should check on it.
-
Can the performance of the clustered nodejs application compete with (or be better than) the performance of .NET Core-6-7?
I'm serving several hundred thousands queries per second from a single nodejs server (multithreaded) with this: https://github.com/uNetworking/uWebSockets.js/
-
Here is a fun question:
https://github.com/uNetworking/uWebSockets.js/ ^ this is the best for performance
Phoenix
-
Why, after 6 years, I'm over GraphQL
> I seem to recall Meta/Facebook engineers on HN having said they have a tool that allows engineers to author SQL or ORM-like queries on the frontend and close to where the data is used, but a compiler or post-processor turns that into an endpoint.
I don't know about on-HackerNews but there's a discussion about their "all of Facebook optimizing compiler" infrastructure from when they did the site redesign in 2020: https://engineering.fb.com/2020/05/08/web/facebook-redesign/...
> perhaps not coincidentally, React introduced "server actions" as a mechanism that is very similar to [the above]
Yep - there's also the Scala framework LiftWeb (https://www.liftweb.net/), the Elixir framework Phoenix (https://www.phoenixframework.org/) and of course the system we're using right now (Arc) that do similar things. Scaling these kinds of UUID-addressed-closures is harder (because the client sessions have to be sticky unless you can serialize closures and send them across the network between servers).
-
Show HN: Wikipedia Golf – find the fewest clicks between two random wiki article
- The game uses iframe and fetches the pages from Wikipedia API. I think the usage of iframe may have a huge impact on performance.
[1]: https://www.phoenixframework.org/
-
Idempotent seeds in Elixir
A standard Phoenix app contains a priv/repo/seeds.exs script file, which populates a database when it is run, so that developers can work with a conveniently prepared environment.
-
Ask HN: Did you encounter any Leap Year bugs today? How bad was it?
There was one in the Phoenix Framework (Elixir) about issuing certificates with an invalid end date: https://github.com/phoenixframework/phoenix/issues/5737
Interestingly, Azure had this bug some years ago too leading to an outage. https://azure.microsoft.com/en-us/blog/summary-of-windows-az...
-
Aplicando MVVM en Phoenix LiveView
Official website: https://www.phoenixframework.org/
-
Things I like about Gleam's Syntax
Since you mention Rails, have you seen https://www.phoenixframework.org/
-
Building Apps with Tauri and Elixir
Thus, we set out to build a desktop application using a LiveView from the Phoenix Framework in Elixir. For the uninitiated, a LiveView is a process that receives events, updates its state, and renders updates to a page as diffs. The LiveView programming model is declarative: instead of saying “once event X happens, change Y on the page”, events in LiveView are regular messages which may cause changes to its state.
-
Has anybody compared Phoenix Framwork vs. Blazor?
It seems though like Phoenix is similar like Blazor Server (using web socket), but Phoenix is: SEO friendly (first render is plain html) Light weight, scales well and concurrency is first class Easy to develop (runs a local server so you see live updates) Compiled With auth out of the box https://www.phoenixframework.org/
-
Ask HN: Why isn't Phoenix/Elixir more mainstream?
Sorry to hear this. Phoenix v1.7 changed how it structures files in disk and that broke quite some of the getting started material. However, the guides are always kept up to date, so you can give it a try: https://hexdocs.pm/phoenix/overview.html
You can also see the resources on this page listed by year: https://github.com/phoenixframework/phoenix/blob/main/guides... - the recent launched ones are most likely up to date.
-
Emoji Generator with AI
Yes! I love Elixir :) [Phoenix LiveView](https://www.phoenixframework.org/) is really amazing. I feel so fast working in it. I got hooked after watching Chris McCord's ['Build a real-time Twitter clone in 15 minutes'](https://www.youtube.com/watch?v=MZvmYaFkNJI&embeds_referring...), and things have improved a lot since then.
What are some alternatives?
fastify-websocket - basic websocket support for fastify
Django - The Web framework for perfectionists with deadlines.
ws - Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js
sugar - Modular web framework for Elixir
pws - Just another simple, fast, and resilient open-source WebSockets server. 📣 [Moved to: https://github.com/soketi/soketi]
hotwire-rails - Use Hotwire in your Ruby on Rails app
Socket.io - Realtime application framework (Node.JS server)
kitto - Kitto is a framework for interactive dashboards written in Elixir
subscriptions-transport-ws - :arrows_clockwise: A WebSocket client + server for GraphQL subscriptions
trot - An Elixir web micro-framework.
jelly-actix-web-starter - A starter template for actix-web projects that feels very Django-esque. Avoid the boring stuff and move faster.
RIG - Create low-latency, interactive user experiences for stateless microservices.