Comments (4)
@CjS77 @alex1307
the frontend work can proceed, but I've been thinking - maybe we could simplify it a bit and instead of emitting events to frontend, which will in turn store this data, maybe we could store it on backend immediately and provide an interface to query it?
wdyt?
from tari.
I personally think the backend should not store this, since it needs to anticipate all sorts of use cases that the FE would need the data for.
Myabe as a start, we store the data in a circular/fixed-length buffer. If the app is shut down, the history is lost, but, it will retain memory of containers starting and shutting down from a single app session.
from tari.
ok, I'm with you on the storage
we might start with the fixed-length buffer if storage proves too time-consuming
from tari.
implementation note:
checked if storing stats data in redux is feasible, but the application will get laggy if we store hours of data for several services (generated to test),
we need a different persistence layer, currently looking into indexeddb and dexie.js wrapper
will implement this and test against high load (already have a PR #222 with abstraction where implementations can be added)
from tari.
Related Issues (20)
- [BaseNode] Check if base node is already synced HOT 2
- [BaseNode] Sync Block - synced_items is not being increased
- Docker - start service error: The designated workspace, default, already exists HOT 1
- ErrorBoundary - UI improvements HOT 1
- Status endpoint whether blocks are already synced
- Issues from #397
- Updated field in image_info
- [Onboarding] Pull docker images - handle server and no_space errors
- Wallet events stream error HOT 1
- Tari container - wallet password is not updated until the app restart HOT 1
- Re-export Lottie dark dots animation
- Refactor main.rs/main function due to Clippy's too_many_lines
- Check base node sync"after" onboarding too
- Add online cargo to check if user is online/offline
- BaseNode sync - wait until stream is ready
- RUSTSEC-2022-0048: xml-rs is Unmaintained
- RUSTSEC-2021-0139: ansi_term is Unmaintained
- RUSTSEC-2021-0141: dotenv is Unmaintained
- RUSTSEC-2021-0144: traitobject is Unmaintained
- RUSTSEC-2019-0039: typemap is Unmaintained
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tari.