tracker issue : CF-4015193

select a category, or use search below
(searches all categories and all time range)
Title:

Configuration in Application.cfc to offload session to distributed cache

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Dan Wilson / Dan Wilson (Dan Wilson)

Created: 07/01/2015

Components: Caching

Versions: 11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Other

Vote Count: 10

Duplicate ID:	CF-3941961

Applications often grow in popularity and usage over time. Many ColdFusion applications are built with many references to session in the code. Using the session is helpful but presents scalability issues because session replication is not perfect and Sticky Session Load Balancing can often result in imbalanced load.

A more preferrable solution would be to configure a connection string to a distributed cache in the Application.cfc (per-application scope) AND/OR in the CF Administrator to allow all session references to point to a distributed cache. 

By doing this, an application faced with horizontal scaling issues would be able to decide where to store the session information. This information can be stored in a single distributed cache and reference by many application servers.

Railo 4 already does this and frankly, there are circumstances where it would be more cost effective to move all code to Railo and retest, versus update 2,000 instances of session.whatever in the code.
Here's how it was done in Railo: http://www.getrailo.org/index.cfm/whats-up/railo-40-released/features/application-management/#applicationcfc_settings

So this feature is necessary to keep ColdFusion competitive for applications that are successful and need better horizontal scaling.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4015193

External Customer Info:
External Company:  
External Customer Name: Dan
External Customer Email:  
External Test Config:

Attachments:

Comments:

This was proposed for CF10: https://bugbase.adobe.com/index.cfm?event=bug&id=CF-3608928
Comment by External U.
6792 | July 01, 2015 08:16:51 AM GMT
Absolutely. I filed a similar ER in CF-4015158.
Vote by External U.
6794 | July 01, 2015 08:32:37 AM GMT
+1............................................
Vote by External U.
6795 | July 01, 2015 09:11:58 AM GMT
Please explain in 25 characters or more how this feature impacts productivity and why you are adding a vote.
Vote by External U.
6796 | July 01, 2015 09:26:38 AM GMT
Sounds rather useful..............................
Vote by External U.
6797 | July 01, 2015 09:29:08 AM GMT
+1 .........................
Vote by External U.
6798 | July 01, 2015 09:35:58 AM GMT
+1 this would be a great addition
Vote by External U.
6799 | July 01, 2015 09:43:22 AM GMT
+1................................................................................
Vote by External U.
6800 | July 01, 2015 10:23:36 AM GMT
+1 This would be a very good feature to have.
Vote by External U.
6801 | July 01, 2015 11:46:46 AM GMT
+1 +++++++++++++++++++++++++++++++
Vote by External U.
6802 | July 01, 2015 01:53:37 PM GMT
I'm voting for this as best prose written on a bug tracker. Also cos it makes sense. I'm not sure of the mooted approach, but the general gist is sound.
Vote by External U.
6803 | July 01, 2015 05:19:47 PM GMT
So do we all have to move our votes over to bug CF-3941961 or can we rely on this actually getting fixed as it stands?
Comment by External U.
6793 | August 19, 2015 12:34:29 AM GMT