this post was submitted on 06 Nov 2024
9 points (90.9% liked)

Programming

17340 readers
247 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 [email protected]



founded 1 year 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.

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 7 points 13 hours ago* (last edited 12 hours 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.

[โ€“] [email protected] 2 points 11 hours ago

Probably object storage, like s3 or similar