home.social

#genserver — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #genserver, aggregated by home.social.

  1. Elixir | Elixir lang | Tutorial - Como escalar sua aplicação elixir com supervisores dinâmicos
    #genserver
    #MyElixirStatus youtube.com/watch?v=zEMqMkyTCG

  2. @solnic @codefolio I'm not sure if "state" is the right word here. You don't use that word at all in the docs: guides.hanamirb.org/v2.0/app/p

    When I think of "state management" I think of sth like #redux in #javascript or #genserver in #elixir. They both have a way to update the state: reducers in redux and handle cast/call in GenServer.

    Perhaps I'm not familiar with #hanami enough, but providers look to me like a wrapper API for dependencies or a low-level way to interact with Hanami's DI system.

  3. Dropping #ecto in favour of using a #genserver with a simple async persistence only for the things that need to be persisted made a credential verification from a 50+ms ordeal into 1-ms ordeal. x50 speedup makes me hopeful about #doauth 0.4 demo making a user account in sub-100ms, compared to sub 1.5s which 0.3 shows.