hexpm VS falcon

Compare hexpm vs falcon and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
hexpm falcon
16 8
1,033 2,468
0.7% 1.5%
7.4 7.0
8 days ago 8 days ago
Elixir Ruby
- MIT License
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.

hexpm

Posts with mentions or reviews of hexpm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-15.
  • How to merge Tailwind class in Elixir Phoenix
    3 projects | dev.to | 15 Jul 2023
    I was thinking of porting this library to Elixir. But first, I searched on hex.pm and Surprising. I found two packages that support merging tailwind classes: twix and tails
  • Examples of idiomatic Phoenix contexts usage with domain modeling?
    2 projects | /r/elixir | 29 Jun 2023
    I often reference https://github.com/hexpm/hexpm which is the code behind hex.pm.
  • Phoenix 1.7.0 Released: Built-In Tailwind, Verified Routes, LiveView Streams
    13 projects | news.ycombinator.com | 5 Mar 2023
    Feel free to take a look at the package manager and let me know if there are any libraries that you need that are missing. https://hex.pm/

    I can assure you I'm not spending my time inventing new libraries. In the past 3 or so years of working in Elixir there have been maybe 2 or 3 cases where I was looking for a library and couldn't find a suitable one. Writing my own code to cover those cases took a few hours. This should hardly be a deal breaker for anyone if you take into account dozens, maybe even hundreds of hours the ecosystem could save you in the long run if your project is a good fit for it.

  • How to install Phoenix (Elixir) with Tailwind CSS and Flowbite
    6 projects | dev.to | 27 Feb 2023
    Before getting started you need to have both Elixir, the Hex package manager, the PostgreSQL relational database server and Node.js installed on your local computer to be able to follow through this guide.
  • Another person that doesn't understand processes. I have questions
    2 projects | /r/elixir | 16 Oct 2022
    We can then look at that function and see that ultimately it calls Supervisor.start_link(...) on a bunch of children. That means that one process's only job is to start up all those child processes and "supervise" them, meaning if any of them crash it will be notified and be able to handle that. I note that one of the processes runs the code in the module Hexpm.RepoBase which means it's in charge of managing database connections, and one runs the code in the module HexpmWeb.Endpoint which is the process in charge of managing the Phoenix side of things, handling incoming requests, spinning up new processes to handle each one, and directing them to the right controllers and stuff. Then there's a bunch of other modules listed, for things like rate limiting, billing reports, and other stuff. You can look in the codebase for those listed modules if you're interested, but the thing to note is that by putting the module name there, what happens is the supervisor will spawn a new process and run the start_link function of that module within that new process.
  • Run tests automatically on save
    2 projects | dev.to | 26 Sep 2022
    I was looking for a solution to run tests automatically every time I save any changes. The best way so far for me is the following hex package:
  • Code repositories that help you to become a better Elixir programmer
    7 projects | /r/elixir | 11 Sep 2022
    API server and website for Hex https://github.com/hexpm/hexpm
  • A Guide to Secure Elixir Package Updates
    4 projects | dev.to | 29 Mar 2022
    Dependency Current Latest Status bunt 0.2.0 0.2.0 Up-to-date cowlib 2.11.0 2.11.0 Up-to-date credo 1.6.1 1.6.3 Update possible db_connection 2.4.1 2.4.1 Up-to-date decimal 2.0.0 2.0.0 Up-to-date earmark_parser 1.4.19 1.4.20 Update possible postgrex 0.15.13 0.16.2 Update not possible To view the diffs in each available update, visit: https://hex.pm/l/AsY7q
  • Deploying Elixir: Creating Your Own Elixir Package
    3 projects | dev.to | 6 Mar 2022
    Now it’s time to decide on a name for your package. In this guide I will be creating a new Ueberauth package. If you were to go on http://hex.pm and look at other Ueberauth packages, you notice there is a certain pattern followed. This will make the decision easy for us on what to call our Uberauth package that will implement the Patreon OAuth flow.
  • Auto Generate [Fake Usernames With Elixir]
    1 project | dev.to | 17 Jan 2022
    Go to the website https://hex.pm and search for the faker library to grab the latest version, so you can copy that to your mix config file, at the time of the making of this tutorial the latest version is 0.17.0, add the following to your project dependencies inside your mix.exs file:

falcon

Posts with mentions or reviews of falcon. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-12.
  • Pitchfork: Rack HTTP server for shared-nothing architecture
    8 projects | news.ycombinator.com | 12 Oct 2022
    Could you command on any projects within Shopify that are helping Ruby's concurrency story? I'm aware of Ractors (https://docs.ruby-lang.org/en/master/ractor_md.html) and Fibers, but it's unclear to how feasible these primitives currently are to build the necessary abstractions on top of them that would make Rails more concurrent.

    https://github.com/socketry/falcon is an interesting project, but again, it's not clear how difficult it would be deploying a Rails app on top of this.

    There's a lot of really great projects happening and plenty to be hopeful about, but when that stuff will land or the changes the rest of the community and ecosystem should think about making still isn't clear.

  • Java's Cultural Problem
    1 project | /r/programming | 19 Sep 2022
    HOWEVER HAD, not all of these problems (in Java) are due to some corporation going bulldozer-mode. Several problems seem to come primarily from bad technical decisions. The import-situation annoys me in Java. I think it is really bad that I can not easily require add-ons or files, without being forced into a specific, nonsensical directory structure. In ruby I just do require, or load (I could do require_relative but this is a pretty pointless addition; It even leads to bugs such as the author of https://github.com/socketry/falcon assuming that everyone uses a hardcoded filesystem, so code such as https://github.com/socketry/falcon/blob/main/bin/falcon at: require_relative '../lib/falcon/command' not working unless the assumption that the directory BELOW the bin/ one must contain a lib/ which is not always the case. I am not sure he understood the problem domain though. If he would have simply used require instead, that would not be an issue, but no, he thinks one has to use hardcoded path assumptions into require_relative, which means it'll break when you relocatethe bin/ executable file there. It's trivial to fix of course, just replace the require_relative with require, but I think he did not understand the explanation so ...)
  • Ho would you go on about creating async rest api in rails
    1 project | /r/rails | 21 Mar 2022
    This doesn't have much to do with Rails, more with the web server that serves the Rails app. Take a look at Falcon.
  • The time is right for Hotwire
    7 projects | /r/ruby | 8 Dec 2021
  • Using RequestStore with asynchronous I/O in Rails apps
    4 projects | dev.to | 22 Nov 2021
    You can use the Async gem and the Falcon web server to take advantage of this capability. And starting in Ruby 3.0, async I/O is even more automatic because inside the Ruby runtime, all socket operations will automatically yield the current fiber by default. It’s fully transparent to the developer. Your I/O calls appear to be blocking so they are easy to understand, consistent with Ruby’s “programmer happiness” philosophy.
  • Where is Ruby Headed in 2021?
    14 projects | news.ycombinator.com | 18 Nov 2021
    There seem to a lot of ruby pieces falling into place for Rails 7.

    The Achilles Heel of Hotwire apps has previously been the low number of supported websocket connections and high memory usage when using ActionCable and Puma but I have high hopes that Falcon[1] will take care of that.

    That along with Github's View Components[2] and Tailwind make me really please with the way Rails is heading right now.

    1. https://github.com/socketry/falcon

    2. https://github.com/github/view_component

  • Async Ruby
    3 projects | news.ycombinator.com | 30 Oct 2021
    This is all new to me as well, but the project mentioned the Falcon web server(https://github.com/socketry/falcon).

    The documentation for Falcon mentions using it with rails: https://socketry.github.io/falcon/guides/rails-integration/i...

    I imagine something more "native" to rails will happen eventually though. But would need to be after this makes its way into core ruby(which has not happened yet apparently).

  • Ask HN: Coming back to Web/Ruby/Rails since 2012. Help?
    1 project | news.ycombinator.com | 5 Mar 2021
    Welcome back.

    It's still the best choice in the Ruby world, well maintained, responsive and new features added. Shopify and github use it, you might want to look at the Rails 6 annoucements what these companies added for scalability features. There've been changes to the asset pipeline since version 3 but you'll still recognize it. You can run Rails as API-only and there's subprojects/tutorials for combining a frontend-heavy React,Vue with a Rails backend. You can still ignore the webpack based asset setup unless you use React,Vue I think. Ruby-3 works fine though I'm still waiting for some less-maintained gems to finally merge PRs, maybe you want to use Ruby-2.7 first.

    I use https://puma.io/ , that scales well enough for me. https://github.com/socketry/falcon#readme is faster with build-in HTTP/2 support but harder to setup in my opinion, e.g. requires SSL certificate even on localhost.

What are some alternatives?

When comparing hexpm and falcon you can also consider the following projects:

magnetissimo - Web application that indexes all popular torrent sites, and saves it to the local database.

Puma - A Ruby/Rack web server built for parallelism

changelog.com - Changelog is news and podcast for developers. This is our open source platform.

Thin - A very fast & simple Ruby web server

elixir_koans - Elixir learning exercises

Goliath - Goliath is a non-blocking Ruby web server framework

hello_phoenix - Application template for SPAs with Phoenix, React and Redux

Roda - Routing Tree Web Toolkit

butler_tableflip - Flipping tables with butler

Iodine - iodine - HTTP / WebSockets Server for Ruby with Pub/Sub support

stranger - Chat anonymously with a randomly chosen stranger

Rack - A modular Ruby web server interface.