Re: [Simpleweb-Support] Speed in serving requests
Brought to you by:
niallg
From: Oscar P. <os...@te...> - 2007-03-11 10:16:54
|
Hi Niall, 1) I'm not sure... I'm new to simpleweb and I don't know what you're asking about pipelines... but I guess I'm using connection close, because I did not use any class or method with a name similar to "*Pipeline*". 2) file lengths differ. I'm serving some HTML pages of about 3kb and some images of about 100kb. But I guess in the future I'll have to serve images up to 300-400 Kb. 3) I don't need to serve high concurrency. As I said in a previous mail, I'll have about a dozen clients making requests continuously, so for me it's more important to handle one request very fast than a lot of requests slowly. Thanks for your help. Òscar En/na Niall Gallagher ha escrit: > Hi Oscar, > > There are several ways to tune the performance. Depending on your requirements, in order tune it I would need to know: > > 1) Are you using pipelines or connection close? > 2) How large are the files you are serving? > 3) What kind of concurrency do you need to serve? > > By default the server is configured to deal with high concurrency, as a result responsiveness may not be optimal. > > Niall Gallagher > > ----- Original Message ---- > From: Oscar Perez <os...@te...> > To: sim...@li... > Sent: Saturday, March 10, 2007 4:18:04 AM > Subject: [Simpleweb-Support] Speed in serving requests > > Hi, > first of all, I would like to congratulate Simpleweb's creators for > their work. Now it's really easy to embbed a web server into an existing > Java application. > But I've got a question: is there a way to tune performance. I mean, > I've implemented a server with just one service. This service simply > reads files from the filesystem and returns them to the client. But I'm > unable to achieve the required performance and I wonder if I can tune it > to be faster. > > Thanks a lot for your help and congratulations again! > > Oscar Pérez. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Simpleweb-Support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simpleweb-support > > > > > > > > ____________________________________________________________________________________ > Need Mail bonding? > Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. > http://answers.yahoo.com/dir/?link=list&sid=396546091 > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Simpleweb-Support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simpleweb-support > > |