Hi Stef,
on Wed, 17 Jan 2007 11:53:23 +0100, you wrote: > Hi lukas > > I still think that this is important to recognize that people like > vincent has serious concerns about > seaside scalability. Vincent seemed to be really enthousiast about > seaside. Now they will certainly > switch to PhP because of speed. In the commercial world this does not happen, Stef. If they choose PhP then they do so because that was set right from the beginning. Even when someone wishes to do something else, nobody hires (+educates +trains) 3-13 Smalltalk programmers just because the existing PhP team failed to win the performance challenge. Only _after_ a (commercial) project fails (fails b/o hw, fails b/o sw => failure reason almost irrelevant) then the speed comparision is taken a bit more seriously into account. Remember that Google started with (and still has) Perl scripts: - http://www.google.com/search?q=perl+job&gl=US then view the Google entry under "Sponsored Links". OT: repeat the same search but with other languages, hit refresh frequently (3-13 times per language should show you all the advertisers). [still OT]: this one hindered me using $$ AdWords to promote Squeak, cannot bid more or equal to what Google bids for their own ads :( > Vincent could you let us know. Yes, please. /Klaus > Stef > > > On 17 janv. 07, at 07:49, Lukas Renggli wrote: > >>> I just finished benchmarking of Aida/Web web app server and if someone >>> repeats benchmarking of Seaside, then we'll have something to compare. >> >> <rant> >> I just finished benchmarking Seaside. I measured the time and the >> lines of code to implement a dynamically generated login web >> application which has 1KB of HTML. >> >> A development environment named Squeak was used to implement the task. >> First I created a new component (including the rendering code), >> registered it as an application entry point and then I counted the >> lines of code: >> >> - 6 lines of code (renderContentOn:) >> - 1 do it (application registration) >> >> I could do all this in less than 2 minutes, including the startup of >> Squeak. I think that could further be optimized by using a ready made >> component. >> >> Benchmarking was done on 2.16 GHz Intel Core Duo with 2 GB memory >> running Mac OS X 10.4 on Squeak 3.9. >> </rant> >> >> Cheers, >> Lukas >> >> --Lukas Renggli >> http://www.lukas-renggli.ch >> _______________________________________________ >> Seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Klaus,
Klaus D. Witzel wrote: > Hi Stef, > > on Wed, 17 Jan 2007 11:53:23 +0100, you wrote: >> Hi lukas >> >> I still think that this is important to recognize that people like >> vincent has serious concerns about >> seaside scalability. Vincent seemed to be really enthousiast about >> seaside. Now they will certainly >> switch to PhP because of speed. > > In the commercial world this does not happen, Stef. If they choose PhP > then they do so because that was set right from the beginning. Even when > someone wishes to do something else, nobody hires (+educates +trains) > 3-13 Smalltalk programmers just because the existing PhP team failed to > win the performance challenge. > The fact is that we're only 2 Smalltalk programmer there (3 monthes of experience with Smalltalk). And the question is: do we want to spend efforst on hiring and educating more Smalltalk programmers ? So if the speed and ease of management is worth the effort, we'll do. Otherwise, we'll hire PHP programmers. > Only _after_ a (commercial) project fails (fails b/o hw, fails b/o sw => > failure reason almost irrelevant) then the speed comparision is taken a > bit more seriously into account. Remember that Google started with (and > still has) Perl scripts: > > - http://www.google.com/search?q=perl+job&gl=US > > then view the Google entry under "Sponsored Links". > > OT: repeat the same search but with other languages, hit refresh > frequently (3-13 times per language should show you all the > advertisers). [still OT]: this one hindered me using $$ AdWords to > promote Squeak, cannot bid more or equal to what Google bids for their > own ads :( > >> Vincent could you let us know. > > Yes, please. > > /Klaus > >> Stef > >> >> >> On 17 janv. 07, at 07:49, Lukas Renggli wrote: >> >>>> I just finished benchmarking of Aida/Web web app server and if someone >>>> repeats benchmarking of Seaside, then we'll have something to compare. >>> >>> <rant> >>> I just finished benchmarking Seaside. I measured the time and the >>> lines of code to implement a dynamically generated login web >>> application which has 1KB of HTML. >>> >>> A development environment named Squeak was used to implement the task. >>> First I created a new component (including the rendering code), >>> registered it as an application entry point and then I counted the >>> lines of code: >>> >>> - 6 lines of code (renderContentOn:) >>> - 1 do it (application registration) >>> >>> I could do all this in less than 2 minutes, including the startup of >>> Squeak. I think that could further be optimized by using a ready made >>> component. >>> >>> Benchmarking was done on 2.16 GHz Intel Core Duo with 2 GB memory >>> running Mac OS X 10.4 on Squeak 3.9. >>> </rant> >>> >>> Cheers, >>> Lukas >>> >>> --Lukas Renggli >>> http://www.lukas-renggli.ch >>> _______________________________________________ >>> Seaside mailing list >>> [hidden email] >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >>> > > > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Klaus D. Witzel
On 17 janv. 07, at 12:53, Klaus D. Witzel wrote: > Hi Stef, > > on Wed, 17 Jan 2007 11:53:23 +0100, you wrote: >> Hi lukas >> >> I still think that this is important to recognize that people like >> vincent has serious concerns about >> seaside scalability. Vincent seemed to be really enthousiast about >> seaside. Now they will certainly >> switch to PhP because of speed. > > In the commercial world this does not happen, Stef. If they choose > PhP then they do so because that was set right from the beginning. Apparently this is not the case in the situation of vincent. So we should not generalize. > Even when someone wishes to do something else, nobody hires > (+educates +trains) 3-13 Smalltalk programmers just because the > existing PhP team failed to win the performance challenge. > > Only _after_ a (commercial) project fails (fails b/o hw, fails b/o > sw => failure reason almost irrelevant) then the speed comparision > is taken a bit more seriously into account. Remember that Google > started with (and still has) Perl scripts: > > - http://www.google.com/search?q=perl+job&gl=US > > then view the Google entry under "Sponsored Links". > > OT: repeat the same search but with other languages, hit refresh > frequently (3-13 times per language should show you all the > advertisers). [still OT]: this one hindered me using $$ AdWords to > promote Squeak, cannot bid more or equal to what Google bids for > their own ads :( > >> Vincent could you let us know. > > Yes, please. > > /Klaus > >> Stef > >> >> >> On 17 janv. 07, at 07:49, Lukas Renggli wrote: >> >>>> I just finished benchmarking of Aida/Web web app server and if >>>> someone >>>> repeats benchmarking of Seaside, then we'll have something to >>>> compare. >>> >>> <rant> >>> I just finished benchmarking Seaside. I measured the time and the >>> lines of code to implement a dynamically generated login web >>> application which has 1KB of HTML. >>> >>> A development environment named Squeak was used to implement the >>> task. >>> First I created a new component (including the rendering code), >>> registered it as an application entry point and then I counted the >>> lines of code: >>> >>> - 6 lines of code (renderContentOn:) >>> - 1 do it (application registration) >>> >>> I could do all this in less than 2 minutes, including the startup of >>> Squeak. I think that could further be optimized by using a ready >>> made >>> component. >>> >>> Benchmarking was done on 2.16 GHz Intel Core Duo with 2 GB memory >>> running Mac OS X 10.4 on Squeak 3.9. >>> </rant> >>> >>> Cheers, >>> Lukas >>> >>> --Lukas Renggli >>> http://www.lukas-renggli.ch >>> _______________________________________________ >>> Seaside mailing list >>> [hidden email] >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >>> > > > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by stephane ducasse
> I still think that this is important to recognize that people like
> vincent has serious concerns about seaside scalability. What I wanted to show is that a benchmark like this makes no sense: VisualWorks <--> Squeak - should it benchmark the speed of my machine? - should it benchmark the speed of VMs? - should it benchmark the socket implementation? - should it benchmark the stream implementation? - ... Aida/Web <--> Seaside - should it benchmark the memory usage? - should it benchmark the response time? - should it benchmark the maximum number of sessions? - should it benchmark the scalability? - should it benchmark the development speed? - should it benchmark the simplicity to use? - should it benchmark the optimization possibilities? - should it benchmark the size of the generated html? - should it benchmark the validity of the generated benchmark? - should it benchmark the composition of the application? - ... Janko <--> Me (just as an example) - should it benchmark the HTTP knowledge? - should it benchmark the software engineering skills? - should it benchmark how we implemented the login application? - should it benchmark the optimization skills? - ... I am no expert in benchmarking. However I do know that for each of these questions you need a special benchmark. The one provided by the original poster does a fuzzy and incomparable mixture of all of them. Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Lukas,
Lukas Renggli wrote: > I am no expert in benchmarking. However I do know that for each of > these questions you need a special benchmark. The one provided by the > original poster does a fuzzy and incomparable mixture of all of them. I didn't said that my benchmark is perfect, it is just a first step and also to encourage others to follow. Besides returning with such rhetoric as is yours I expected from Seaside community to follow my example and produce at least some benchmark, even that also won't be perfect. Having a least something is still better than having nothing at all. I think it is honest to potential users of our web app servers to have a concrete info about strengths and weaknesses of each offering. Best regards Janko Lukas Renggli wrote: >> I still think that this is important to recognize that people like >> vincent has serious concerns about seaside scalability. > > What I wanted to show is that a benchmark like this makes no sense: > > VisualWorks <--> Squeak > - should it benchmark the speed of my machine? > - should it benchmark the speed of VMs? > - should it benchmark the socket implementation? > - should it benchmark the stream implementation? > - ... > > Aida/Web <--> Seaside > - should it benchmark the memory usage? > - should it benchmark the response time? > - should it benchmark the maximum number of sessions? > - should it benchmark the scalability? > - should it benchmark the development speed? > - should it benchmark the simplicity to use? > - should it benchmark the optimization possibilities? > - should it benchmark the size of the generated html? > - should it benchmark the validity of the generated benchmark? > - should it benchmark the composition of the application? > - ... > > Janko <--> Me (just as an example) > - should it benchmark the HTTP knowledge? > - should it benchmark the software engineering skills? > - should it benchmark how we implemented the login application? > - should it benchmark the optimization skills? > - ... > > I am no expert in benchmarking. However I do know that for each of > these questions you need a special benchmark. The one provided by the > original poster does a fuzzy and incomparable mixture of all of them. > > Cheers, > Lukas > Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Lukas Renggli
Indeed.
It would be interesting to get some of these benchmarks. I think that improvements can come from knowing the facts. Make it run, make it fast :) On 17 janv. 07, at 14:34, Lukas Renggli wrote: >> I still think that this is important to recognize that people like >> vincent has serious concerns about seaside scalability. > > What I wanted to show is that a benchmark like this makes no sense: > > VisualWorks <--> Squeak > - should it benchmark the speed of my machine? > - should it benchmark the speed of VMs? > - should it benchmark the socket implementation? > - should it benchmark the stream implementation? > - ... > > Aida/Web <--> Seaside > - should it benchmark the memory usage? > - should it benchmark the response time? > - should it benchmark the maximum number of sessions? > - should it benchmark the scalability? > - should it benchmark the development speed? > - should it benchmark the simplicity to use? > - should it benchmark the optimization possibilities? > - should it benchmark the size of the generated html? > - should it benchmark the validity of the generated benchmark? > - should it benchmark the composition of the application? > - ... > > Janko <--> Me (just as an example) > - should it benchmark the HTTP knowledge? > - should it benchmark the software engineering skills? > - should it benchmark how we implemented the login application? > - should it benchmark the optimization skills? > - ... > > I am no expert in benchmarking. However I do know that for each of > these questions you need a special benchmark. The one provided by the > original poster does a fuzzy and incomparable mixture of all of them. > > Cheers, > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Janko Mivšek
> I think it is honest to potential users of our web app servers to have a
> concrete info about strengths and weaknesses of each offering. Yes, I completely agree. I doubt that a generic benchmark (or a set of generic benchmarks) can help you to evaluate the perfect web solution for your problem. That needs to be done on a per project/problem bases and there are people (consultants) that can help with that. It is well known that Seaside is hungry on resources and that you need to do load balancing earlier than with other approaches; it is also well known that Seaside provides an incredibly productive level of abstraction and makes it possible to build complex applications in days where others needs months to get the same thing. To use Seaside for a web application with 1'000'000 users I would say 'no' at first. Later on it comes clear that there are only 10'000 sessions expected at once. Probably I would still say 'no'. If you count 4 MB a session for a really complex web application with lots of state, this would mean you are required to have 40 GB of memory. If you now distribute that on 15 machines this becomes already reasonable and I would probably say 'yes'. Of course it also depends on what the customer wants: Probably this is cheaper to by a couple of linux boxes and get the application in half a year than to pay the salary of a whole army to develop a less powerful application during the 2 years. Maybe the project can be further split down as only the 1'000 administrators require complex application logic and the rest are more or less static pages. I think this is where Seaside starts to be strong ... What I want to show is that there are so many factors and things to consider that cannot be caught with a generic benchmark. Therefor I see no benefit in doing that. Lukas -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
> > I think it is honest to potential users of our web app
> servers to have > > a concrete info about strengths and weaknesses of each offering. > > Yes, I completely agree. > > I doubt that a generic benchmark (or a set of generic > benchmarks) can help you to evaluate the perfect web solution > for your problem. That needs to be done on a per > project/problem bases and there are people > (consultants) that can help with that. > > It is well known that Seaside is hungry on resources and that > you need to do load balancing earlier than with other > approaches; it is also well known that Seaside provides an > incredibly productive level of abstraction and makes it > possible to build complex applications in days where others > needs months to get the same thing. > > To use Seaside for a web application with 1'000'000 users I > would say 'no' at first. Later on it comes clear that there > are only 10'000 sessions expected at once. Probably I would > still say 'no'. If you count 4 MB a session for a really > complex web application with lots of state, this would mean > you are required to have 40 GB of memory. If you now > distribute that on 15 machines this becomes already > reasonable and I would probably say 'yes'. Of course it also > depends on what the customer wants: Probably this is cheaper > to by a couple of linux boxes and get the application in half > a year than to pay the salary of a whole army to develop a > less powerful application during the 2 years. > Maybe the project can be further split down as only the 1'000 > administrators require complex application logic and the rest > are more or less static pages. I think this is where Seaside > starts to be strong ... > > What I want to show is that there are so many factors and > things to consider that cannot be caught with a generic > benchmark. Therefor I see no benefit in doing that. > > Lukas In total agreement. When people ask how fast is Seaside, they're asking the wrong question. Asking how fast anything is, is the wrong question. The right question should be, is it fast enough for "this particular application". What are the requirements for "this application". Does the definition of "fast" also include development time? C# will blow the pants off Seaside in raw rendering speed, but it'd take me two years and a few more developers to do in C# what I can do in Seaside by myself in a few months. I can always just throw 3 times the hardware at Seaside to get the speed of the C# app, and beat it to production by a year and a half. So how fast is Seaside... Well, that's not a question that can be answered generically. If the question is simply, can Seaside scale, then the answer is yes, look at dabbledb.com. Speed and Scalability are vastly different things, and simplistic benchmarks often confuse the two. Yes, Seaside requires more creative deployment to scale well, but it also requires a fraction of the development time of other frameworks, so you've got plenty of time to work out the deployment kinks. You've also got more money for hardware, since you spent so much less on development, and hardware is always vastly cheaper than programmers. Seaside is a framework you choose when you learn to start asking the right questions. So when people come in asking the wrong questions, giving them the wrong answer isn't really helpful, let's teach them to ask the right questions instead, that'll help the community grow more. Ramon Leon http://onsmalltalk.com _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by stephane ducasse
On Wed, 17 Jan 2007 13:47:19 +0100, stephane ducasse rote:
> On 17 janv. 07, at 12:53, Klaus D. Witzel wrote: > >> Hi Stef, >> >> on Wed, 17 Jan 2007 11:53:23 +0100, you wrote: >>> Hi lukas >>> >>> I still think that this is important to recognize that people like >>> vincent has serious concerns about >>> seaside scalability. Vincent seemed to be really enthousiast about >>> seaside. Now they will certainly >>> switch to PhP because of speed. >> >> In the commercial world this does not happen, Stef. If they choose PhP >> then they do so because that was set right from the beginning. > > Apparently this is not the case in the situation of vincent. > So we should not generalize. NP /Klaus >> Even when someone wishes to do something else, nobody hires (+educates >> +trains) 3-13 Smalltalk programmers just because the existing PhP team >> failed to win the performance challenge. >> >> Only _after_ a (commercial) project fails (fails b/o hw, fails b/o sw >> => failure reason almost irrelevant) then the speed comparision is >> taken a bit more seriously into account. Remember that Google started >> with (and still has) Perl scripts: >> >> - http://www.google.com/search?q=perl+job&gl=US >> >> then view the Google entry under "Sponsored Links". >> >> OT: repeat the same search but with other languages, hit refresh >> frequently (3-13 times per language should show you all the >> advertisers). [still OT]: this one hindered me using $$ AdWords to >> promote Squeak, cannot bid more or equal to what Google bids for their >> own ads :( >> >>> Vincent could you let us know. >> >> Yes, please. >> >> /Klaus >> >>> Stef >> >>> >>> >>> On 17 janv. 07, at 07:49, Lukas Renggli wrote: >>> >>>>> I just finished benchmarking of Aida/Web web app server and if >>>>> someone >>>>> repeats benchmarking of Seaside, then we'll have something to >>>>> compare. >>>> >>>> <rant> >>>> I just finished benchmarking Seaside. I measured the time and the >>>> lines of code to implement a dynamically generated login web >>>> application which has 1KB of HTML. >>>> >>>> A development environment named Squeak was used to implement the task. >>>> First I created a new component (including the rendering code), >>>> registered it as an application entry point and then I counted the >>>> lines of code: >>>> >>>> - 6 lines of code (renderContentOn:) >>>> - 1 do it (application registration) >>>> >>>> I could do all this in less than 2 minutes, including the startup of >>>> Squeak. I think that could further be optimized by using a ready made >>>> component. >>>> >>>> Benchmarking was done on 2.16 GHz Intel Core Duo with 2 GB memory >>>> running Mac OS X 10.4 on Squeak 3.9. >>>> </rant> >>>> >>>> Cheers, >>>> Lukas >>>> >>>> --Lukas Renggli >>>> http://www.lukas-renggli.ch >>>> _______________________________________________ >>>> Seaside mailing list >>>> [hidden email] >>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >>>> >> >> >> _______________________________________________ >> Seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Ramon Leon-5
Ramon, Lukas,
Thanks for these clarifications. My skills in web development are not very high, and undoubtfully I came with the wrong question. However, don't you think it would be great having a sort of comparison between the different solutions we have on Smalltalk to create web applications ? For example, from what I can see (but I may be wrong) Seaside is a great choice for web applications with a quite strict flow, similar to GUI applications. But is it the good choice too when you come to creating applications with many, many paths? If not, and you want to use Seaside, how should you re-think your application to fully exploit Seaside ? I guess this is the type of questions you think I should have asked from the beginning. Perhaps it could be great we start creating a sort of guidelines on using Seaside efficiently, and the type of architecture an web application requires to use Seaside efficiently. I totally agree with you on the fact that Seaside greatly improves development cost - and maintenance cost too, because Seaside's code is soooo much clearer as PHP.... However I have to fight with people who want numbers, and are quite difficult to convince without raw benchmarks results. From the beginning, my point is to find how, with my 1.000.000 users application (OK for the 10.000 sessions) with many many paths, to build an efficient solution with Seaside. We had problems reaching good performances with our prototype - however I did not know the load balancing tops you provided already. I think if we want to see massive applications developped with Seaside - and I'm convinced it is possible, we definitely need to gather the best practices, as we've begun in this thread. Vincent _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On 18 janv. 07, at 12:11, Vincent Girard-Reydet wrote: > Ramon, Lukas, > > > Thanks for these clarifications. My skills in web development are > not very high, and undoubtfully I came with the wrong question. I think that this is really important to get this kind of discussions. I think that this is also important that the community does not get into aida (http://www.aidaweb.si/)is better than seaside. I think that this is important that people get aware of the possibility and tradeoffs and that we grow the use of Smalltalk for web serving. So please ask questions even if they may sounds stupid. > However, don't you think it would be great having a sort of > comparison between the different solutions we have on Smalltalk to > create web applications ? For example, from what I can see (but I > may be wrong) Seaside is a great choice for web applications with a > quite strict flow, similar to GUI applications. But is it the good > choice too when you come to creating applications with many, many > paths? If not, and you want to use Seaside, how should you re-think > your application to fully exploit Seaside ? This is fun because I thought the contrary in fact. What is an application that does have multiple paths? > I guess this is the type of questions you think I should have asked > from the beginning. Perhaps it could be great we start creating a > sort of guidelines on using Seaside efficiently, and the type of > architecture an web application requires to use Seaside efficiently. Sure > > I totally agree with you on the fact that Seaside greatly improves > development cost - and maintenance cost too, because Seaside's code > is soooo much clearer as PHP.... However I have to fight with > people who want numbers, and are quite difficult to convince > without raw benchmarks results. From the beginning, my point is to > find how, with my 1.000.000 users application (OK for the 10.000 > sessions) with many many paths, to build an efficient solution with > Seaside. > We had problems reaching good performances with our prototype - > however I did not know the load balancing tops you provided > already. I think if we want to see massive applications developped > with Seaside - and I'm convinced it is possible, we definitely need > to gather the best practices, as we've begun in this thread. Good! Consensus may kill creativity and we have to have challenges to build up the next solutions :) > > > Vincent > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |