this post was submitted on 06 Nov 2024
13 points (93.3% liked)

Programming

17677 readers
36 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

Hello, I am building a dashboard where users can add their own user scripts. I at least want to keep the last 100 log lines stored somewhere so that the user can check them later.

I thought of using the backend's sqlite database but that would slow down the performance of other querys that are much more high priority.

you are viewing a single comment's thread
view the rest of the comments
[–] Deckweiss@lemmy.world 7 points 1 month ago* (last edited 1 month ago)

Whats your website stack?

How do you host it?

Share the link to your site or an example log so that we can check out what kind of data needs storing.

There are several ways to store some data either on the users end or on the backend, with different pros and cons. But which one you should pick is highly dependent on the stack and the details of your needs.