arjun289
Number of Workers in a Pool for IOT notification APP
I have an IOT application which has lots of IoT nodes sending data to a phoenix server. There is a notification tool, where a client is able to set rules based on which, he needs to be notified if, there is some anomaly. To handle this I have created a Manager with a worker pool to evaluate every data point, and send the notification. Since every request is going to be checked, how should I decide on the number of workers I should keep for handling the requests?
I don’t want to use Task as there can be thousands of requests from IoT devices out there and it may result in too many processes which may exceed the capacity.
Most Liked
OvermindDL1
All of them are made by the authors of Elixir itself, they are different ‘levels’ of essentially staged processing.
Broadway (most specific):
https://github.com/plataformatec/broadway
Flow (flow based staged processing):
https://github.com/plataformatec/flow
GenStage (the stages themselves, low level):
arjun289
Hi, @OvermindDL1 can you please guide me towards some resources to understand the terms you have mentioned, if possible? Thanks in advance!
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
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









