cowboy
tesla
Our great sponsors
cowboy | tesla | |
---|---|---|
10 | 4 | |
7,162 | 1,954 | |
0.5% | 1.5% | |
8.3 | 7.9 | |
10 days ago | 11 days ago | |
Erlang | Elixir | |
ISC License | 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.
cowboy
-
Does the Heroku Ruby Stack use Log4j?
According to the 'Server' response header, Cowboy is the customer facing web server https://github.com/ninenines/cowboy
-
How to create an Erlang rebar3 release derivation with dependencies?
===> sh(git clone -n https://github.com/ninenines/cowboy .tmp_dir636214859401) failed with return code 128 and the following output: Cloning into '.tmp_dir636214859401'... fatal: unable to access 'https://github.com/ninenines/cowboy/': SSL certificate problem: unable to get local issuer certificate
-
Oh Erlang... where have you been all my life?
RE: HTTP/Web Sockets/TCP/UDP/etc. - check out NineNines libraries: Ranch (TCP Socket Acceptor), Cowboy (HTTP Server), Gun (HTTP client), and CowLib (General HTTP/SPDY library) are pretty good from what I hear.
-
Build an Elixir Redis Server that's 100x faster than HTTP
Ranch is a pretty well optimized and battle hardened tcp acceptor. It powers the Cowboy/Phoenix server which scales to extreme level of concurrency and low latency. Cowboy uses ranch to pool and accept connections and I believe it uses {active,once}.
https://github.com/ninenines/cowboy
https://github.com/ninenines/ranch
-
try-catch vs "let it crash"
I have a web application which uses cowboy and cachex every so often cachex errors, which means my server returns a 500.
-
Most trafficked Flask site online?
Cowboy is a small, fast and modern HTTP server for Erlang/OTP.
-
Criando serviço de envio de e-mail com ELIXIR!🔮
plug_cowboy: Uma implementação do Cowboy para o Elixir.
- Ti hogy implementálnátok a https://vakcinareg.neak.gov.hu/regisztracio oldalt?
-
Learn how to deploy Elixir apps on Heroku
We are going to be using the light http server Cowboy and the adapter Plug to return our data.
-
Is Erlang Worth Learning in 2021?
At the core of your web app (and any other app that works with HTTP) will be Cowboy, but further than that, you need to know what a web app consists of and pick your tools for each layer separately.
tesla
-
Elixir for Cynical Curmudgeons
I haven’t used commanded, exmachina, or ash:
- Tesla has a mode which can be used completely without macros, and I am increasingly encouraging that it be the only way that it is used. So does the author (as of 2020): https://github.com/elixir-tesla/tesla/issues/367#issuecommen...
There is also `req` mentioned in a recent post as an alternative (it looks good, but I am still playing with it to see if it is a suitable replacement for Tesla in all cases).
- Absinthe is something of a compiler itself, because it has to strictly define things the way that is specified in the GraphQL spec. You can now import an SDL file, but you still need to hook resolvers and middleware into it. Honestly, I don’t think that the schema definitions in JS/TS are much better for GraphQL in terms of readability.
Being heavily macro-based means that there are sharp edges that are harder to work around when you want to add your own macros for code reuse purposes. That said, aside from the schema definition, Absinthe is entirely usable without macros. Within the schema definition, Absinthe isn’t making anything up, it’s using the same basic definitions that the GraphQL spec do, adapted for Elixir syntax.
Exmachina didn’t interest me because I don’t think much of factory_bot (which used to be called factory_girl), as I saw it abused far more than used well (IMO, it’s impossible to use correctly). Ash…looks like an interesting experiment, but I don’t know that there’s a lot of pick-up with it compared to Phoenix. And I have yet to find a use for CQRS/ES, so there’s no reason for me to play with commanded. I certainly wouldn’t consider any of these three to be "major" players in Elixir. Tesla and Absinthe? Yes.
-
ElixirのHTTPクライアントでお天気情報を取得したい(2022年)
tesla
- Elixir: Consumindo dados de uma API externa
-
Learn how to deploy Elixir apps on Heroku
To integrate the API via Elixir let's use the HTTP wrapper Tesla. There are many good options out there, such as the good old Httpoison. However, Tesla has some added benefits. I won't go into details as it's not the purpose of this article, but it's worth checking out.
What are some alternatives?
bandit - Bandit is a pure Elixir HTTP server for Plug & WebSock applications
httpoison - Yet Another HTTP client for Elixir powered by hackney
elli - Simple, robust and performant Erlang web server
hackney - simple HTTP client in Erlang
ranch - Socket acceptor pool for TCP protocols.
httpotion - [Deprecated because ibrowse is not maintained] HTTP client for Elixir (use Tesla please)
plug_cowboy - Plug adapter for the Cowboy web server
Ralitobu.Plug - Elixir Plug for Ralitobu, the Rate Limiter with Token Bucket algorithm
heroku-buildpack-nodejs - Heroku's buildpack for Node.js applications.
webdriver - WebDriver client for Elixir.
mochiweb - MochiWeb is an Erlang library for building lightweight HTTP servers.
Maxwell - Maxwell is an HTTP client which support for middleware and multiple adapters.