Re: Not-sticky sessions with Sling?

2017-01-12 Thread Chetan Mehrotra
On Fri, Jan 13, 2017 at 12:20 AM, lancedolan wrote: > In an architecture with > only one Mongo instance, the moment one instance writes to the JCR, another > instance will read the same data and agree consistently. It seems to me that > the JCR state is strongly consistent.

RE: How to change run mode in Sling8

2017-01-12 Thread lancedolan
Update: Ok, I get it now. Thank you - this is really slick. For posterity: The "source code" for the "Sling Source Release" artifact at [1] is really not the project source code. It's just some text files that neatly describe which OSGI bundles and configurations (including run modes) you'd

Re: Join new member to Sling Oak cluster?

2017-01-12 Thread lancedolan
Robert Munteanu-2 wrote > - Are the Sling/Oak instances and MongoDB clocks in sync? I've just realized the significance of this question. Our Sling and Mongo instances will be in different data centers entirely, Mongo provided as a service and Sling in our own AWS instances somewhere... I

RE: How to change run mode in Sling8

2017-01-12 Thread lancedolan
This is fantastic information! I'd love a nice clear how-to documentation for getting this done, but hey it's open source stuff, hah. I'll go fumble through the slingstart-maven-plugin and probably have a question or two along the way. Thanks guys. -- View this message in context:

Re: Not-sticky sessions with Sling?

2017-01-12 Thread lancedolan
Chetan, I'd like to confirm to what degree that is true for our proposed architecture. It seems that only the OSGI configurations and bundles would be "eventually consistent." It seems the only "state" that is stored in Sling instances are OSGI configurations and OSGI bundles. Everything else is

RE: JS Use API usability or limitations

2017-01-12 Thread lancedolan
Aha. Thanks, I was sure it was sure weird Rhino thing. It's hard to call it valid JavaScript either, though, as it's invalid in every single popular browser. That mozilla doc says "Non-standard. The Iterator function is a SpiderMonkey-specific feature, and will be removed at some point. " As a

Re: JS Use API usability or limitations

2017-01-12 Thread Jason Bailey
I've experienced a variety of results between switching between a dynamic and static types languages I think a lot of it has to do with context. IMHO there's a certain rhythm to developing on any specific platform. Where using a certain set of technologies make more sense than others. Since

RE: How to change run mode in Sling8

2017-01-12 Thread Stefan Seifert
you should use the sling provisioning file format together with the slingstart maven plugin [1]. these are very powerful tools and allows you to quickly build your own set of sling bundles together with your own application bundles and all required OSGi configuration and sling run modes by