Phoenix
uWebSockets.js
Our great sponsors
Phoenix | uWebSockets.js | |
---|---|---|
111 | 32 | |
20,478 | 7,138 | |
0.8% | 2.3% | |
9.4 | 8.2 | |
10 days ago | 13 days ago | |
Elixir | C++ | |
MIT License | Apache License 2.0 |
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.
Phoenix
-
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/
Source: https://github.com/phoenixframework/phoenix
-
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.
-
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.
- Ask HN: Leetcode for Back End and Server Development
-
30 Best Web Development Frameworks for 2023: A Comprehensive Guide
Phoenix
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
-
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
- 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.
-
Migrating from KOA to uWebSockets.js in less than 2 hours
KOA do not support Websockets by itself, so I tried to research for the best websockets available, this is how I landed on uWebSockets.js (uws)
-
Ask HN: So, what's up with Phoenix (web framework)?
Lots of reasons:
- Code cleanliness: their code almost looks like code golfing. Hard to debug.
- Dependencies: everyone has different ways of implementing everything. some are even outdated. some even have stale bots that close legitimate but unattended issues.
- Performance: fastify and uWebSockets.js beats express.js on benchmarks. see https://www.fastify.io/benchmarks/ and https://github.com/uNetworking/uWebSockets/tree/master/bench...
- Multi-part parsing: this is built-in with uWebSockets.js. on express your options are multer or busboy.
- WebSocket Server support: this is built-in with uWebSockets.js. on express your options are using ws and socket.io.
- WebSocket pub/sub: built-in with uWebSockets.js
There are better alternatives like the following:
Nest.js uses express.js and socket.io underneath.
uWebSockets.js beats both on performance benchmarks. In fact it beats everything based on Node's built-in http module, such as fastify, hapi, koa.
What are some alternatives?
fastify-websocket - basic websocket support for fastify
ws - Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js
Django - The Web framework for perfectionists with deadlines.
pws - Just another simple, fast, and resilient open-source WebSockets server. 📣 [Moved to: https://github.com/soketi/soketi]
sugar - Modular web framework for Elixir
Socket.io - Realtime application framework (Node.JS server)
hotwire-rails - Use Hotwire in your Ruby on Rails app
subscriptions-transport-ws - :arrows_clockwise: A WebSocket client + server for GraphQL subscriptions
jelly-actix-web-starter - A starter template for actix-web projects that feels very Django-esque. Avoid the boring stuff and move faster.
kitto - Kitto is a framework for interactive dashboards written in Elixir
RIG - Create low-latency, interactive user experiences for stateless microservices.
trot - An Elixir web micro-framework.