MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Import HTTP data in asynchronous/parallel way

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126041] Re: Import HTTP data in asynchronous/parallel way
  • From: David Bailey <dave at removedbailey.co.uk>
  • Date: Fri, 13 Apr 2012 04:55:06 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jlp34d$14s$1@smc.vnet.net> <jm0k3v$aga$1@smc.vnet.net> <jm501q$2ln$1@smc.vnet.net>

On 11/04/2012 23:19, Murta wrote:
> Hi David,
> First of all tks for your answer.
> For me the problem is that I know zero of Java, I hopped to be capable
> to solve it inside Mathematica.
> I get a little bit frustrated in see that Mathematica is Multi Kerner,
> but not Mult Thread with one Kernel, in the sence that inside one
> Kernel it's not possible to have more than one process at the same
> time. This is essencial to handle internet process.
> Someone could correct me if I'm wrong!
> tks again
> Murta
>

You are almost correct, but each kernel has two threads, one of which is 
used for interactions with the FrontEnd, Java, etc - basically to handle 
asynchronous callbacks.

Don't forget that you might be able to find a command line utility that 
would do what you want, and you could then invoke it from Mathematica in 
a pretty seamless way.

If you are working on problems of this sort, it may be worth learning a 
little Java.

David Bailey
http://www.dbaileyconsultancy.co.uk



  • Prev by Date: Re: Replace a vertical line in ListPlot
  • Next by Date: Re: troublesome integral
  • Previous by thread: Re: Import HTTP data in asynchronous/parallel way
  • Next by thread: Text["x=" x] reverses order of terms producing the string: 1.2 x=