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.

  • Deckweiss@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    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.