How do I store my websites users' user script's logs?
from AsudoxDev@programming.dev to programming@programming.dev on 06 Nov 13:03
https://programming.dev/post/21408980

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.

#programming

threaded - newest

Deckweiss@lemmy.world on 06 Nov 13:32 next collapse

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.

synae@lemmy.sdf.org on 06 Nov 16:21 collapse

Probably object storage, like s3 or similar