Re: How often do you bounce your apps?

2020-08-12 Thread Tim W via Webobjects-dev
This is definitely great stuff. Thanks Johann! Schrag once got into the same topic area starting with the magic of WOSwitchComponent. https://lists.apple.com/archives/webobjects-dev/2008/Oct/msg00501.html I also only bounc

Re: How often do you bounce your apps?

2020-08-09 Thread Paul Hoadley via Webobjects-dev
On 9 Aug 2020, at 14:01, Aaron Rosenzweig via Webobjects-dev wrote: > Thank you Johann for chiming in. I appreciate you stating clearly what I > intuited that WODynamicElements are “stateless” and I was right to remove all > the instance variables that it was using. Perfect place to plug Joha

Re: How often do you bounce your apps?

2020-08-08 Thread Aaron Rosenzweig via Webobjects-dev
Thank you Johann for chiming in. I appreciate you stating clearly what I intuited that WODynamicElements are “stateless” and I was right to remove all the instance variables that it was using. Love this group of WOrriors - lots of knowledge and friendly folk willing to share and learn together

Re: How often do you bounce your apps?

2020-08-08 Thread Hugi Thordarson via Webobjects-dev
Thanks for writing this Johann! To add to the story; I've been doing WO for almost 20 years and until recently I almost never used WODynamicElement. I just never needed to — and now I'm somewhat embarrassed about it. A couple of months ago I was digging into WO and decided it was time I tried w

Re: How often do you bounce your apps?

2020-08-08 Thread Johann Werner via Webobjects-dev
Hi Aaron, as you mentioned WODynamicElements and documentation about them is very sparse as well being a special beast, let me say some words about them: WOComponent components being the easiest to grasp (and probably most used) represent a WO tag within your HTML templates i.e. every time a pa

Re: How often do you bounce your apps?

2020-08-07 Thread Aaron Rosenzweig via Webobjects-dev
Thanks everyone, It seems like a pretty even split between those who cycle daily and those who don’t. Perhaps it depends on the app and what minor leaks it might have tend to skew people to cycling daily… or maybe they are old farts, like me, who still remember the Objective-C days. It was a

Re: How often do you bounce your apps?

2020-08-06 Thread Hugi Thordarson via Webobjects-dev
I'd like to add a disclaimer to my EOF comment; I now recall I was invoking a method as a workaround for something. Can't for the life of me remember what it was or why (snapshots were getting GCd too early or something so I had to invoke snapshotReferenceCountingSomethingElseOrOther()) but if m

Re: How often do you bounce your apps?

2020-08-05 Thread Stefan Gärtner via Webobjects-dev
We never bounce, but every few weeks we have an update, which certainly starts a new instance. We heavily use EOF. I never had the feeling that there is any memory leak, at least in our scenario. > Am 06.08.2020 um 00:56 schrieb D Tim Cummings via Webobjects-dev > : > > Daily for us. Once eve

Re: How often do you bounce your apps?

2020-08-05 Thread D Tim Cummings via Webobjects-dev
Daily for us. Once every few months we get an instance hanging and it is clear at the start of the day that it has hung because it hasn’t restarted overnight. Tim > On 6 Aug 2020, at 05:37, Lon Varscsak via Webobjects-dev > wrote: > > We don't bounce our apps unless we do a release or if ther

Re: How often do you bounce your apps?

2020-08-05 Thread Lon Varscsak via Webobjects-dev
We don't bounce our apps unless we do a release or if there's an instance that hangs. -Lon On Wed, Aug 5, 2020 at 9:09 AM Theodore Petrosky via Webobjects-dev < webobjects-dev@lists.apple.com> wrote: > My apps upload pdfs. As Java keeps the temp file that was uploaded until > the app that did th

Re: How often do you bounce your apps?

2020-08-05 Thread Theodore Petrosky via Webobjects-dev
My apps upload pdfs. As Java keeps the temp file that was uploaded until the app that did the upload quits, I bounce my apps every night to clean things up. Ted > On Aug 5, 2020, at 10:37 AM, Ken Anderson via Webobjects-dev > wrote: > > I never bounce them - even with EOF ;) > >> On Aug 5, 2

Re: How often do you bounce your apps?

2020-08-05 Thread Steve Peery via Webobjects-dev
For years I just let them run. Now I bounce them every night. > On Aug 5, 2020, at 10:37 AM, Ken Anderson via Webobjects-dev > wrote: > > I never bounce them - even with EOF ;) > >> On Aug 5, 2020, at 07:07, Jesse Tayler via Webobjects-dev >> wrote: >> >> What do you use to keep an eye on

Re: How often do you bounce your apps?

2020-08-05 Thread Ken Anderson via Webobjects-dev
I never bounce them - even with EOF ;) > On Aug 5, 2020, at 07:07, Jesse Tayler via Webobjects-dev > wrote: > > What do you use to keep an eye on memory? JAVA has such an old-school > approach with the VM I use AWS and really don’t have any good automated > visualizing report on how instance

Re: How often do you bounce your apps?

2020-08-05 Thread Jesse Tayler via Webobjects-dev
What do you use to keep an eye on memory? JAVA has such an old-school approach with the VM I use AWS and really don’t have any good automated visualizing report on how instances or JAVA is running under the hood. My apps seem to run for a long time as a few times my scheduler has failed and the

Re: How often do you bounce your apps?

2020-08-05 Thread Jérémy DE ROYER via Webobjects-dev
Hi Aaron, (I’m still using EOF) and, for the main apps, I bounce every morning. After updates I sometimes forget to activate the schedules without any problems… but I’m used to do it in the pasts where I had a lot of meomry leaks so I still do it. Jérémy > Le 5 août 2020 à 00:04, Hugi Thordar

Re: How often do you bounce your apps?

2020-08-04 Thread Hugi Thordarson via Webobjects-dev
Never. Uptime on my apps is usually weeks or months. Cycled regularly when I used EOF though. That thing leaks. - hugi > On 4 Aug 2020, at 21:31, Aaron Rosenzweig via Webobjects-dev > wrote: > > Personally I feel better bouncing my .woa instances daily. Even if it is a > small site I have

How often do you bounce your apps?

2020-08-04 Thread Aaron Rosenzweig via Webobjects-dev
Personally I feel better bouncing my .woa instances daily. Even if it is a small site I have at least two instances and I gracefully cycle them on a daily schedule. I feel better knowing that it is fresh every morning for the new day. On the other hand, I could see an argument that a java app s