Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peko/Store - Observable datastore connected to Server Events #16

Closed
sejori opened this issue Apr 30, 2022 · 1 comment
Closed

Peko/Store - Observable datastore connected to Server Events #16

sejori opened this issue Apr 30, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@sejori
Copy link
Owner

sejori commented Apr 30, 2022

I believe it makes sense to include a lightweight datastore/database wrapper in Peko. By default data would be stored in-memory but database-service connection functions can be provided to change this.

It would also be cool to make data updates trigger ServerEvents so that new data could be emitted to client apps in real-time applications.

@sejori sejori self-assigned this Apr 30, 2022
@sejori sejori added the enhancement New feature or request label Apr 30, 2022
@sejori sejori removed their assignment May 10, 2022
@sejori
Copy link
Owner Author

sejori commented Jun 15, 2022

Nope. This would go against the stateless principle. Only disposable cache data will be stored on the server. External data services should be used for persistent. data

@sejori sejori closed this as completed Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant