• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

REDIS Cluster Support

New Here ,
Nov 19, 2017 Nov 19, 2017

Copy link to clipboard

Copied

We are starting to play with REDIS for session storage in Coldfusion 2016. When I use a basic REDIS setup everything works fine. However, when I create a REDIS cluster we get a Moved 1456 error message. I have been trying to find something on this but have not found a solution.

Thanks,

Kane

Views

271

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

CF doesnt support Redis cluster for session storage 
it supports redis clsuter only for cache

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

LATEST

sirTangale, I have not heard of that being a limitation. Do you find it documented somewhere?

 

My understanding is that the ability of the redis client to handle a "moved" response from redis is a built-in feature of the jedis library cf uses. I've not explored what jedis version adds that support, and different cf versions can have different jedis versions--perhaps updated in a cf uodate, in fact.

 

But Kane refers to being on cf 2016. Kane, are you really still stuck on that, which last got any updates (including security updates) in 2021? That's a grave risk. Then also you could run into such issues6  with the old libraries it includes.

 

I've not yet tried myself to connect cf sessions to a Redis configured as a cluster, and I'd like to try it just to be sure. 

 

But until then, Kane, here's another idea to consider: do a test of a cf page that you open in a new incognito/private window in your browser (or clear all your cookies). I'm wondering if cf may handle things better when it creates a NEW session and then redis implements that in its cluster member. That may cause it to better track where it is, thus preventing the MOVE operation. That's just a guess.

 

Finally, what is the version of the REDIS server you're connecting to? That may also have a bearing on things here. 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation