Giter VIP home page Giter VIP logo

Comments (3)

codeaholics avatar codeaholics commented on June 28, 2024

I commented on this by email, but it doesn't appear to have made it. Apologies if it does eventually make it and this comment appears twice.

I've used recluster with passport just fine in the past. What debugging have you done? Have you pinpointed the problem to a recluster problem? It seems unlikely to be recluster since that's just a wrapper around Node's cluster module. Are you using in-memory sessions? If so, each HTTP request has a chance of being handled by a different cluster worker, so unless it happens to be handled by the worker that created the session, then you'll have problems.

from recluster.

athakwani avatar athakwani commented on June 28, 2024

Thanks for quick response. Yes I am using in memory session, and that's probably the cause of it. I'll figure it out.

from recluster.

codeaholics avatar codeaholics commented on June 28, 2024

You're welcome. It's worth remembering that each (re-)cluster worker is a separate process and they don't share memory with each other. You either need a single worker (if you're just using recluster for it's restart features) or else an out-of-process session store such as Redis.

On 5 Sep 2014, at 17:46, Ashish Thakwani [email protected] wrote:

Thanks for quick response. Yes I am using in memory session, and that's probably the cause of it. I'll figure it out.


Reply to this email directly or view it on GitHub.

from recluster.

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.