RunOnFlux / fluxd

Flux Daemon
https://runonflux.io
MIT License
78 stars 43 forks source link

Cache Fluxnode list #217

Closed blondfrogs closed 1 year ago

blondfrogs commented 1 year ago

Fixes for this include:

blondfrogs commented 1 year ago

This was tested by a community member running 100+ nodes in the fluxnode.conf, and it solved the issues they were seeing. And increased the speeds by a lot

Cabecinha84 commented 1 year ago

Lots of cache talking today eheheh. Is it possible to cache the fluxnode list that os get on rcp, until a new block is processed? We are already using cache on FluxOs side but only for 2 minutes I believe, and with the number of nodes we have currently seems like a heavy call. Cheers

A quinta, 9/03/2023, 23:01, Jeremy Anderson @.***> escreveu:

This was tested by a community member running 100+ nodes in the fluxnode.conf, and it solved the issues they were seeing. And increased the speeds by a lot

— Reply to this email directly, view it on GitHub https://github.com/RunOnFlux/fluxd/pull/217#issuecomment-1462943028, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKEMZLQ3AYTDN2JALYCYI4DW3JOOFANCNFSM6AAAAAAVVSMITA . You are receiving this because your review was requested.Message ID: @.***>

blondfrogs commented 1 year ago

Lots of cache talking today eheheh. Is it possible to cache the fluxnode list that os get on rcp, until a new block is processed? We are already using cache on FluxOs side but only for 2 minutes I believe, and with the number of nodes we have currently seems like a heavy call. Cheers A quinta, 9/03/2023, 23:01, Jeremy Anderson @.> escreveu: This was tested by a community member running 100+ nodes in the fluxnode.conf, and it solved the issues they were seeing. And increased the speeds by a lot — Reply to this email directly, view it on GitHub <#217 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKEMZLQ3AYTDN2JALYCYI4DW3JOOFANCNFSM6AAAAAAVVSMITA . You are receiving this because your review was requested.Message ID: @.>

Added caching for rpc calls that are listing fluxnodes.