Comments (8)
Merged #57 Closing
from superlogin.
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.
Thank you for PR #57
from superlogin.
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.
@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.
@ichagas I was adding etcd and firebase as backend (in my fork) .. but haven't test it yet
from superlogin.
@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.
@ichagas 👍
from superlogin.
Related Issues (20)
- How can I remove confirmPassword requirement?
- Validation failed HOT 8
- Validation failed HOT 1
- Calling /auth/session with authorization header is returning unauthorized HOT 1
- Use template-literal instead of EJS
- user-db-added event doesn't get emitted HOT 1
- New release? HOT 13
- Validation Failed HOT 1
- Register vaildation failed HOT 18
- Mandatory Migration from Cloudant to BlueMix not compatible with Superlogin HOT 1
- Superlogin with CouchDB crypto.pbkdf2 "digest" argument required HOT 1
- how to add profile data with registration?
- removeUser not working
- Live demo isn't working HOT 1
- Forgot Password function
- TypeError: Cannot read property 'valid' of undefined at Function.PouchDB.parseAdapter
- Howto: use superlogin with current nodejs HOT 6
- Set a Doc create limit per user
- super login spaming console with errors
- Graphql
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superlogin.