Hi Cédrick, > On 12 May 2020, at 11:27, Cédrick Béler <cdric...@gmail.com> wrote: > > Clearly amazing 😉 > > Is it the setup you use ? > > https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/DeploymentWeb/DeployForProduction.html
Yes, more or less. Apart from the infrastructure around it (like monitoring and automatic (re)starts), the fact is simple that the image started and kept working for 400+ days. > Cheers, > Cedrick > > PS: btw Sven, we (with a group of students did a naive and simple url > shortener that would fit nicely to default zinc demos ;-) > > Here is the script for accessing registered urls (sweet): > > server := (ZnServer startDefaultOn: 9999) > onRequestRespond: [ :request | | key | > > key := request requestLine uri segments last. > dataBase at: key > ifPresent: [:val | ZnResponse redirect: val ] > ifAbsent: [ZnResponse badRequest: request]. > ]. Yes, that does look nice: it is very concise. I would like to see the whole code, any pointers ? Sven >> Le 12 mai 2020 à 10:06, Sven Van Caekenberghe <s...@stfx.eu> a écrit : >> >> Hi, >> >> So here is a little anecdote from the real world. I was planning to update >> the OS on my Linux server, from Ubuntu 18.04 LTS to 20.04 LTS (Long Term >> Support). This small (Digital Ocean, 1GB RAM, 1 Core) cloud server runs 3 >> Pharo images with public facing web sites. >> >> The machine itself reports: >> >> $ uptime >> 12:37:50 up 530 days, 21:46, 1 user, load average: 0.02, 0.04, 0.01 >> >> which means it hasn't been powered down or didn't restart in 530 days. >> >> I was surprised to discover that 2 of the Pharo images on that machine did >> just as well: >> >> $ ./repl.sh >> Connecting to Telnet REPL at locahost:41011 >> Trying 127.0.0.1... >> Connected to localhost. >> Escape character is '^]'. >> Neo Console >> Pharo-7.0+alpha.build.660.sha.2eb9bd2f41e7b0bd8f9f4190906910f83c178ab1 (32 >> Bit) >> pharo> get system.uptime >> 405 days 20 hours 29 minutes >> pharo> quit >> Bye! >> >> $ ./repl.sh >> Connecting to Telnet REPL at locahost:41001 >> Trying 127.0.0.1... >> Connected to localhost. >> Escape character is '^]'. >> Neo Console Pharo4.0 of 18 March 2013 update 40620 >>> get system.uptime >> 530 days 21 hours 44 minutes >>> quit >> Bye! >> >> So both Pharo 7 and Pharo 4 kept on doing their jobs for a very long time. I >> think this is a testament to the stability of Pharo and to what is possible. >> >> Regards, >> >> Sven >> >> -- >> Sven Van Caekenberghe >> Proudly supporting Pharo >> http://pharo.org >> http://association.pharo.org >> http://consortium.pharo.org >> >>