Coder Social home page Coder Social logo

Comments (2)

wallacio avatar wallacio commented on August 17, 2024 1

This is interesting. I've been scratching my head trying to work out how this works, in practice.

I've deployed Send using the provided Docker image. All good, works well. The host has a running Redis instance so rather than pull down another Docker image with redis-server, I'm using the host's instance instead. All good there too.

Now, what I'm wondering is what happens when the host gets a reboot because in my mind, Redis isn't (by default) persistent so I would expect Send to lose any notion of 'state' for links when this happens. I could reconfigure Redis to use RDB but to me, that's kind of going against Redis's transient nature. It also doesn't look like this is how Redis is used with the docker-compose version either, anyway.

I suppose the question is, why not use something like SQLite (just an example) for storing state? Something that's by its nature is persistent on restart/reload?

I appreciate that I could be very wrong in my assumptions. I can't say I'm on board with Docker as a "thing" but for things like this, it is great - there are just a few holes in my understanding...!

from send.

timvisee avatar timvisee commented on August 17, 2024

Redis is used for this. Please make sure you are running a Redis instance and have it configured correctly.

If Send can't connect to Redis, its 'state' is lost on restart.

If you still experience issues, feel free to open this again.

from send.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.