darkmarmot
Does anyone else wish they could easily iterate bit by bit through the Registry?
I end up using the Registry a lot to track large numbers of actor processes, usually hundreds of thousands or so. A lot of times, I’d like to slowly cycle through them, grabbing a couple hundred or so at a time.
If Registry.select had something similar to a limit with continuations, I’d be a much happier camper.
Is this need hyper unusual? Or do others wish they had this functionality?
Most Liked
darkmarmot
Something similar to :ets.select/3 so that I could grab say 50 key-values at a time until I reached the end of the table. Except, the continuation would need to jump across table partitions. I can write something myself that does this, but it requires writing code against the internals of Registry – and it would be really nice if it were implemented at the top level.
Popular in Discussions
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









