SirWerto
Api interface design
Good evening elixirs (don’t know if you have a special name:)),
For my first proyect, i am going to do an app/library/module for interface with this api.
I think about 3 possible ways (i had draw a beautiful images but i not able to show here so i will put a link):
..* App design:
Create an entire app wich generates a new pool for every token and manage all of them with the top server
..Module 1
Generate a new pool for every process but it doesn’t know about the others so it isn’t able to control the rate limit
..Module 2:
Just a simple call to the api, no rate control and need to pass the token for every request
I am here to learning so, tell what you want:)
pd: apologize my english
First Post!
Sebb
Last Post!
SirWerto
Looks great but i think i am going to be able to reach the api limit with one single process per key. If it isn’t the case, i will spawn one of this for every key.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #hex
- #security









