Re: [Pharo-users] real world pharo web application set ups

2016-12-16 Thread volkert
Sven, compare with an erlang vm (Cowboy) on a standard pc, i5-4570 CPU @ 3.20GHz × 4, on linux ... Conncurrent request: 8 $ ab -k -c 8 -n 10240 http://127.0.0.1:8080/ This is ApacheBench, Version 2.3 <$Revision: 1706008 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.ne

Re: [Pharo-users] real world pharo web application set ups

2016-12-16 Thread Sven Van Caekenberghe
I did not say we are the fastest, for from it. I absolutely do not want to go into a contest, there is no point in doing so. (The dw-bench page was meant to be generated dynamically on each request without caching, did you do that too ?). My point was: Pharo is good enough for most web applicat

Re: [Pharo-users] real world pharo web application set ups

2016-12-16 Thread jtuc...@objektfabrik.de
Sven, Am 16.12.16 um 10:05 schrieb Sven Van Caekenberghe: I did not say we are the fastest, for from it. I absolutely do not want to go into a contest, there is no point in doing so. Absolutely right. (The dw-bench page was meant to be generated dynamically on each request without caching,

Re: [Pharo-users] real world pharo web application set ups

2016-12-16 Thread Norbert Hartl
I'm still not sure about what we are talking. There are some many opinions regarding totally different things. These benchmark don't say much. As Sven and you did the benchmark on different machines they are hard to compare in numbers. It is not that important because you can not make many con

Re: [Pharo-users] real world pharo web application set ups

2016-12-16 Thread Volkert
come on, i am only interested in what set up Pharo is currently used (as mentioned in my initial question). This gives me a feeling, if my requirements are nearby the requirement found in current pharo based systems ... if i am complete out of population of current pharo systems, this is for me

Re: [Pharo-users] real world pharo web application set ups

2016-12-16 Thread Sven Van Caekenberghe
> On 16 Dec 2016, at 11:33, Volkert wrote: > > come on, i am only interested in what set up Pharo is currently used (as > mentioned in my initial question). > This gives me a feeling, if my requirements are nearby the requirement found > in current pharo > based systems ... if i am complete ou

Re: [Pharo-users] real world pharo web application set ups

2016-12-16 Thread Norbert Hartl
> Am 16.12.2016 um 11:50 schrieb Sven Van Caekenberghe : > > >> On 16 Dec 2016, at 11:33, Volkert wrote: >> >> come on, i am only interested in what set up Pharo is currently used (as >> mentioned in my initial question). >> This gives me a feeling, if my requirements are nearby the requireme

Re: [Pharo-users] [Pharo-dev] Pharo poster

2016-12-16 Thread Vitor Medina Cruz
That is soo cool!! Database shouldn't be join as subset of Data? On Sat, Dec 10, 2016 at 1:09 PM, stepharong wrote: > > **tx** > I added the two files to the media folder on file.pharo.org > > On Sat, 10 Dec 2016 12:12:36 +0100, Cyril Ferlicot D. < > cyril.ferli...@gmail.com> wrote: > > On 10/1

Re: [Pharo-users] real world pharo web application set ups

2016-12-16 Thread p...@highoctane.be
That, just that. There is something in Pharo that I just do not experience elsewhere. Phil On Fri, Dec 16, 2016 at 10:05 AM, Sven Van Caekenberghe wrote: > > I choose to do that in Pharo because I like it so much. It is perfectly > fine by me that 99.xx % of the world makes other decisions, for

Re: [Pharo-users] real world pharo web application set ups

2016-12-16 Thread Esteban Lorenzano
Hi, > On 16 Dec 2016, at 10:41, Norbert Hartl wrote: > > We are talking about really high numbers of requests/s. The odds you are > getting in this kind of scaling trouble are usually close to zero. It means > you need to generate an application that has really many users. Most projects > w

[Pharo-users] NeoJSON

2016-12-16 Thread stepharong
Hi sven I'm trying to adapt the teapot library example to get a simple item collector (as a project for a future book) and so that I can learn and use it for my PS2/PS3 game collection :) Now when I set up teapot to emit JSON I get an NeoJSONMappingNotFound In the library example attila does

Re: [Pharo-users] real world pharo web application set ups

2016-12-16 Thread p...@highoctane.be
I have been doing lots of Tomcat as well and helped some people at Orange scale some of their mobile provisioning stuff. It scales. But one would scale Pharo just the same. I remember some AJP module for Pharo/Squeak and http://book.seaside.st/book/advanced/deployment/deployment-apache/mod-proxy-a

Re: [Pharo-users] NeoJSON

2016-12-16 Thread stepharong
I looked at the Neo code and I do not see how I can specify a mapping at the class level because I cannot control the json writer creation. So I should probably shortcut everything at the neoJsonOn: level. Stef Hi sven I'm trying to adapt the teapot library example to get a simple item co

Re: [Pharo-users] NeoJSON

2016-12-16 Thread Sven Van Caekenberghe
Stef, > On 16 Dec 2016, at 15:00, stepharong wrote: > > Hi sven > > I'm trying to adapt the teapot library example to get a simple item collector > (as a project for a future book) and > so that I can learn and use it for my PS2/PS3 game collection :) > > Now when I set up teapot to emit JSON

Re: [Pharo-users] NeoJSON

2016-12-16 Thread Sven Van Caekenberghe
> On 16 Dec 2016, at 15:10, stepharong wrote: > > I looked at the Neo code and I do not see how I can specify a mapping at the > class level > because I cannot control the json writer creation. See my previous message (sent at the same time ;-) << add it to the class side of your model objec

Re: [Pharo-users] NeoJSON

2016-12-16 Thread stepharong
Ok I see. I was doing GameCollection >> neoJsonOn: neoJSONWriter neoJSONWriter writeObject: games GameItem >> neoJsonOn: neoJSONWriter self class instanceVariables do: [ :each | neoJSONWriter writeObject: (self in

Re: [Pharo-users] NeoJSON

2016-12-16 Thread Sven Van Caekenberghe
> On 16 Dec 2016, at 15:23, stepharong wrote: > > Ok I see. > > I was doing > > GameCollection >> neoJsonOn: neoJSONWriter > > neoJSONWriter > writeObject: games > > > GameItem >> neoJsonOn: neoJSONWriter > self class instanceVariables > do: [ :each |

Re: [Pharo-users] NeoJSON

2016-12-16 Thread stepharong
Ok it works :) And I read the class comment but I do not see it. Now do you have an idea why I got this other missing class mapping for bytestring? Stef On Fri, 16 Dec 2016 15:25:40 +0100, Sven Van Caekenberghe wrote: On 16 Dec 2016, at 15:23, stepharong wrote: Ok I see. I was do

Re: [Pharo-users] NeoJSON

2016-12-16 Thread Sven Van Caekenberghe
> On 16 Dec 2016, at 15:47, stepharong wrote: > > Ok it works :) Good. > And I read the class comment but I do not see it. Strange. In Neo-JSON-Core-SvenVanCaekenberghe.37 in the class comment of NeoJSONMapper last paragraph before the examples. > Now do you have an idea why I got this oth

Re: [Pharo-users] NeoJSON

2016-12-16 Thread stepharong
Strange. In Neo-JSON-Core-SvenVanCaekenberghe.37 in the class comment of NeoJSONMapper last paragraph before the examples. sure I just meant that it was not visible enough. We should add for example XXX >> neoJsonMapping: aMapper aMapper for: self do: [ :mapping |