Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #21877

Re: Tomcat Multi-Threading

X-Received by 10.66.88.200 with SMTP id bi8mr574752pab.13.1359568166042; Wed, 30 Jan 2013 09:49:26 -0800 (PST)
X-Received by 10.50.163.67 with SMTP id yg3mr840814igb.12.1359568165836; Wed, 30 Jan 2013 09:49:25 -0800 (PST)
Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.ripco.com!rahul.net!wasp.rahul.net!rahul.net!news.kjsl.com!usenet.stanford.edu!f6no4652410pbd.1!news-out.google.com!6ni25163pbd.1!nntp.google.com!ld4no5148686pbb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Wed, 30 Jan 2013 09:49:25 -0800 (PST)
In-Reply-To <kebjq2$ing$1@news.m-online.net>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T
NNTP-Posting-Host 69.28.149.29
References <b0a71c30-d85f-4acc-9d36-d9c1f397f69e@googlegroups.com> <faa97c61-c830-4201-9314-4f38df1c770f@googlegroups.com> <510887fc$0$286$14726298@news.sunsite.dk> <kealt4$h8s$1@news.m-online.net> <692563e7-016b-4f22-afaa-228965e501b8@googlegroups.com> <kebjq2$ing$1@news.m-online.net>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <155371c3-be4a-45c9-bd88-ec640ea51013@googlegroups.com> (permalink)
Subject Re: Tomcat Multi-Threading
From Lew <lewbloch@gmail.com>
Injection-Date Wed, 30 Jan 2013 17:49:26 +0000
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Xref csiph.com comp.lang.java.programmer:21877

Show key headers only | View raw


Magnus Warker wrote:
> Lew wrote:
>> Magnus Warker wrote:
>>> Arne Vajh�j wrote:
>>>> Lew wrote:
>>>>> In the world of Java, no applications are single threaded.
>>>> I think most people would consider a console app with no
>>>> threads to be single-threaded.
> 
>>> There is even no relationship between a programming language and the
>>> threading architecture of an application. The fact that Java supports
>>> multi-threading does not lead to the fact that every Java application is
>>> multi-threaded.
>>
>> No, the first fact does not lead to the second fact, but the second fact is nevertheless true.
> 
>> The JVM is multi-threaded and has, what, a minimum of four? at any rate severa; threads running
>> even if the application only uses one of them.
> 
> There is a mistake in your logical conclusion: Even if the VM is 
> multi-threaded, the applications running on top of them may still be 
> single-threaded. So your statement ("no applications are single 
> threaded") is simply wrong.

No, it isn't.

The Java application, from the OS perspective, comprises the JVM and everything it runs.

The application doesn't exist outside the context of the JVM, so such considerations matter.

Even more important, the OP wants to know if multiple CPUs will help performance of a 
Java app if it's multithreaded. Since the app runs in a multi-threaded context, if multiple 
CPUs would speed up a multi-threaded app, they'd help *any* Java app.  I made this point 
upthread; I guess you decided to ignore it in order to snark, huh?

Let's try to stay focused on the OP's concern here, shall we?

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Tomcat Multi-Threading zigzagdna@yahoo.com - 2013-01-29 17:59 -0800
  Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-29 21:21 -0500
    Re: Tomcat Multi-Threading zigzagdna@yahoo.com - 2013-01-29 19:48 -0800
  Re: Tomcat Multi-Threading Lew <lewbloch@gmail.com> - 2013-01-29 18:31 -0800
    Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-29 21:39 -0500
      Re: Tomcat Multi-Threading Lew <lewbloch@gmail.com> - 2013-01-29 22:54 -0800
        Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-30 22:09 -0500
      Re: Tomcat Multi-Threading Magnus Warker <magnus@mailinator.com> - 2013-01-30 09:34 +0100
        Re: Tomcat Multi-Threading Lew <lewbloch@gmail.com> - 2013-01-30 08:28 -0800
          Re: Tomcat Multi-Threading Magnus Warker <magnus@mailinator.com> - 2013-01-30 18:04 +0100
            Re: Tomcat Multi-Threading jlp <jlp@jlp.com> - 2013-01-30 18:44 +0100
            Re: Tomcat Multi-Threading Lew <lewbloch@gmail.com> - 2013-01-30 09:49 -0800
              Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-30 22:17 -0500
              Re: Tomcat Multi-Threading Magnus Warker <magnus@mailinator.com> - 2013-02-01 18:33 +0100
                Re: Tomcat Multi-Threading Lew <lewbloch@gmail.com> - 2013-02-01 11:23 -0800
                Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-02-01 17:36 -0500
                Re: Tomcat Multi-Threading Magnus Warker <magnus@mailinator.com> - 2013-02-03 07:17 +0100
          Re: Tomcat Multi-Threading lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-01-30 17:49 +0000
            Re: Tomcat Multi-Threading zigzagdna@yahoo.com - 2013-01-30 11:29 -0800
              Re: Tomcat Multi-Threading Leif Roar Moldskred <leifm@dimnakorr.com> - 2013-01-30 14:30 -0600
                Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-30 22:00 -0500
              Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-30 21:59 -0500
            Re: Tomcat Multi-Threading Lew <lewbloch@gmail.com> - 2013-01-30 14:48 -0800
              Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-30 22:21 -0500
                Re: Tomcat Multi-Threading lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-01-31 08:47 +0000
                Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-02-01 17:39 -0500
          Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-30 22:12 -0500
  Re: Tomcat Multi-Threading lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-01-30 08:51 +0000

csiph-web