[CB 4.2] Client Variables to Database

32 views
Skip to first unread message

XERRANO

unread,
Jun 11, 2016, 11:12:05 AM6/11/16
to ColdBox Platform
Hi guys,

Im looking to save ClientStorage variables into database, any code sample or docs that you might know?


Xerrano

Thanks

Luis Majano

unread,
Jun 11, 2016, 2:42:14 PM6/11/16
to ColdBox Platform
Are you using acf or Lucee?



Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057




--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/fd6ab1de-121c-4f79-a30e-b5dd1893be75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

XERRANO

unread,
Jun 11, 2016, 4:03:01 PM6/11/16
to ColdBox Platform
Hi Luis,

Running on Lucee

Thank you

Luis Majano

unread,
Jun 20, 2016, 12:08:40 PM6/20/16
to coldbox
Hi Xerrano,

Sorry for the long delay but was at the conference.

So I would not encourage Client variables due to the verbosity and chatter they create to store and retrieve using JDBC calls.  I would recommend using the client storage capabilities in Lucee to distribute to a distributed caching engine like Couchbase or Redis.  We have an extension for this as well https://www.ortussolutions.com/products/couchbase-lucee and will distribute client, session and even application scope if needed.

We have seen major performance updates and stability when using a distributed cache instead of a traditional RDBMS

Luis F. Majano
CEO
Ortus Solutions, Corp

Reply all
Reply to author
Forward
0 new messages