Crowdhailer
Creator of Raxx
The latest release of Ace (0.10.0) includes serving content over HTTP/2.
I have started writing a webserver to teach my self more about webservers. Ace
The easiest thing is to probably summarize the plan here and if you want more details head on over to the README.
- To take this obviously deficient TCP echo server that I wrote as a beginner elixir developer and create a fully fledged HTTP server.
- Keep reasonable notes of progress so others can learn about how to build a web server in elixir.
- See what progress I have made in a year as an elixir developer.
Currently I have an issue which is confusing me (yes even at this beginner stage).
When I restart the server it often fails because the port is currently in use.
I call gen_tcp.close and am unsure why there is a delay in the port being properly closed?
Give the computer a few moments and the port does eventually become available again.
I know this is probably a help question but I didn’t want to post about my project twice and there are more things coming this way soon
Trending in Announcing
The repo is at GitHub - cyberchitta/openai_ex: Community maintained Elixir library for OpenAI API · GitHub.
Docs are at OpenaiEx User Gu...
New
WebAuthnLiveComponent WebAuthnComponents
See this post about renaming the package.
Passwordless authentication for Phoenix LiveView app...
New
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New
I’ve recently created a small library phoenix_vite integrating the vite build tooling with phoenix.
It
provides an igniter.installer t...
New
Other Trending Topics
Founding Engineer (Elixir) – FinCrew, Remote Worldwide / Relocation to France
Introductory paragraph
FinCrew is building embedded financ...
New
A little off-topic, but I feel like people here have a good head on their shoulders.
I used to be quite good at making software. Was luc...
New
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with.
But I don’t use it anymore.
Serverless was the promis...
New
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly)
AI dream has many faces, but general...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixirconf-us
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #security
- #metaprogramming










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
OvermindDL1
Hmm, I’ve not experienced that and am not in a short set of tests here. Can you give a reproducable
iexor so session or a github repo with a test that demonstrates this? I’m quite curious as this sounds like it is not operating as it should…Crowdhailer
Hi.
What do you mean by reproducible iex session? just the list of commands that I entered that you can manually repeat?
I will also have a look at setting up a test.
OvermindDL1
Yep, quickest way to test, or a full git test that we can clone works too.
mkunikow
So this will be some alternative to go https://caddyserver.com/ ?
Crowdhailer
Actually my goal is for it to have extremely readable source. I “almost” hope this makes it slow so that people know that its for demo purposes.
Crowdhailer
Hi.
Thanks for the help. Quick question, Did you remember to comment out line 25
{:reuseaddr, true}. This line fixes the problem but I’m not really sure why.The walk-through of commands after that takes two terminals.
Crowdhailer
Thanks to some pointers from helpful people I now understand this issue. I have added comments to the source code explaining
reuseaddr.Crowdhailer
The latest release of Ace (0.10.0) includes serving content over HTTP/2.
Instructions for getting started can be found in this guide.
An example app is available here.
Features available at this point are
Also see the Roadmap for remaining features.
An adapter for plug and therefore phoenix is not something I am looking at yet. My preference is to shore up the foundations prior to a 1.0 release. However if anyone wanted to look at this I would be happy to offer some help getting through the codebase.
Any feedback would be great. At this point I am particularly looking for comments around the API.
At this point the project is very alpha. However I hope to stabilise it quickly.
Crowdhailer
Ace 0.11.0 is now tested with h2spec.
In strict mode Ace passes 143/146 of the h2spec test suite.
The remaining issues are all around hpack and choices on handling compression errors
For the full list of changes see the changelog.
OvermindDL1
Oooo, that is awesome!!!