GithubHelp home page GithubHelp logo

Add more session adapter about superlogin HOT 8 CLOSED

colinskow avatar colinskow commented on July 23, 2024 1
Add more session adapter

from superlogin.

Comments (8)

colinskow avatar colinskow commented on July 23, 2024 1

Merged #57 Closing

from superlogin.

micky2be avatar micky2be commented on July 23, 2024

Even for development purpose, saving the session in file might be slightly better then memory.
At least the session would be able to persist.

from superlogin.

colinskow avatar colinskow commented on July 23, 2024

Thank you for PR #57

from superlogin.

ichagas avatar ichagas commented on July 23, 2024

It sounds like expensive $1,450/mo for up to 5,000 connections on Heroku Redis. Any idea what does it means in the real world?

I am considering to use Superlogin for auth PouchDB <-> Cloudant since PouchDB Authentication is not Cloudant compatible.

But I see a risk to receive a large $$ bill to pay if the App get about 30K users or so. Of corse, I can run my own Redis Server but I prefer a Backendless approach this is why PouchDB/Cloudant approach.

from superlogin.

colinskow avatar colinskow commented on July 23, 2024

@ichagas you can use whatever Redis service you want with Heroku, including Amazon. Just plug in the access credentials to the correct environment variables. You can see superlogin-demo for an example.

Redis usage is extremely light, and I think you could expand quite a bit using the free version. One Heroku client only uses one connection. Each session is less than 500 bytes of info.

In my experience the Cloudant bill is what you have to worry about with lots of users.

from superlogin.

DimShadoWWW avatar DimShadoWWW commented on July 23, 2024

@ichagas I was adding etcd and firebase as backend (in my fork) .. but haven't test it yet

from superlogin.

ichagas avatar ichagas commented on July 23, 2024

@DimShadoWWW, let me know when you have time to test the Firebase version, sounds a good idea.

@colinskow, as I understood, superlogin will use only one Redis connection no matter what is the number of users?
Btw, 👍 thanks for your insides on the Cloudant. I am going to review this decision and prepare a plan B to implement as soon as the App launch. Perhaps use DigitalOcean for CouchDB+Redis could be cheaper solution. Anyhow, I am moving on now and review it later.

Thanks.

from superlogin.

DimShadoWWW avatar DimShadoWWW commented on July 23, 2024

@ichagas 👍

from superlogin.

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.