Re: [google-appengine] Re: Go Language

2011-06-13 Thread Ikai Lan (Google)
Yep. Goroutines belong to a single request. The Go team is working on
concurrent requests per instance. Goroutines replace the need for
asynchronous APIs.

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Tue, Jun 14, 2011 at 1:58 AM, Barry Hunter wrote:

> http://blog.golang.org/2011/05/go-and-google-app-engine.html
>
> From my understanding  goroutines belong to one 'request'
>
> On Mon, Jun 13, 2011 at 6:42 PM, bFlood 
> wrote:
> > is this available on GAE now? also, can multiple goroutines be used to
> > service user requests from a single instance? I had though the Go blog
> > had stated this wasn't available on GAE yet
> >
> >
> >
> > On Jun 12, 8:52 pm, "Ikai Lan (Google)"  wrote:
> >> Depends on how much number crunching. I say just use the language you
> like
> >> the best. Unless you're doing some kind of non-linear ops (and a LOT of
> >> them) you might not get the efficiency you're looking for moving to
> Java.
> >> The number crunching would have to be very significant relative to the
> time
> >> it takes to do IO for language speed to make a difference for simple
> math.
> >>
> >> One advantage the Go runtime has over Python and Java is that you can
> fire
> >> off Goroutines within a process. A Goroutine is to Go what a Thread is
> to
> >> Java or a fork is to Python. You communicate between Goroutines using
> >> channels and multiplex channels using the "select" statement. If you can
> >> break up your heavy computation into lots of small bits, you will
> consume
> >> the same amount of CPU but will consume less wallclock time, returning
> to
> >> the user faster.
> >>
> >> Ikai Lan
> >> Developer Programs Engineer, Google App Engine
> >> Blog:http://googleappengine.blogspot.com
> >> Twitter:http://twitter.com/app_engine
> >> Reddit:http://www.reddit.com/r/appengine
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> On Mon, Jun 13, 2011 at 7:47 AM, supercobra 
> wrote:
> >> > Go is slower than Java and Java has all the libraries and tools (IDE,
> >> > debuggers, refactoring, profiling, etc...) that you'll need.
> >>
> >> > Here are the speed test results from a Google study:
> >>
> >> >http://www.readwriteweb.com/hack/2011/06/cpp-go-java-scala-performanc.
> ..
> >>
> >> > -- superco...@gmail.com
> >> >http://supercobrablogger.blogspot.com/
> >>
> >> > On Sun, Jun 12, 2011 at 6:39 PM, jay  wrote:
> >> > > Hi All,
> >>
> >> > > Anybody had a chance to play around with Go yet?
> >>
> >> > > My games are CPU heavy because I do a lot of number crunching on
> game
> >> > > data every time a user requests the game page. This code really has
> >> > > nothing to do with app engine but is pure game code. I would image
> >> > > this code would be significantly faster that Python.
> >>
> >> > > Anybody have any experiences to share yet?
> >>
> >> > > --
> >> > > You received this message because you are subscribed to the Google
> Groups
> >> > "Google App Engine" group.
> >> > > To post to this group, send email to
> google-appengine@googlegroups.com.
> >> > > To unsubscribe from this group, send email to
> >> > google-appengine+unsubscr...@googlegroups.com.
> >> > > For more options, visit this group at
> >> >http://groups.google.com/group/google-appengine?hl=en.
> >>
> >> > --
> >> > You received this message because you are subscribed to the Google
> Groups
> >> > "Google App Engine" group.
> >> > To post to this group, send email to
> google-appengine@googlegroups.com.
> >> > To unsubscribe from this group, send email to
> >> > google-appengine+unsubscr...@googlegroups.com.
> >> > For more options, visit this group at
> >> >http://groups.google.com/group/google-appengine?hl=en.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Go Language

2011-06-13 Thread Barry Hunter
http://blog.golang.org/2011/05/go-and-google-app-engine.html

>From my understanding  goroutines belong to one 'request'

On Mon, Jun 13, 2011 at 6:42 PM, bFlood  wrote:
> is this available on GAE now? also, can multiple goroutines be used to
> service user requests from a single instance? I had though the Go blog
> had stated this wasn't available on GAE yet
>
>
>
> On Jun 12, 8:52 pm, "Ikai Lan (Google)"  wrote:
>> Depends on how much number crunching. I say just use the language you like
>> the best. Unless you're doing some kind of non-linear ops (and a LOT of
>> them) you might not get the efficiency you're looking for moving to Java.
>> The number crunching would have to be very significant relative to the time
>> it takes to do IO for language speed to make a difference for simple math.
>>
>> One advantage the Go runtime has over Python and Java is that you can fire
>> off Goroutines within a process. A Goroutine is to Go what a Thread is to
>> Java or a fork is to Python. You communicate between Goroutines using
>> channels and multiplex channels using the "select" statement. If you can
>> break up your heavy computation into lots of small bits, you will consume
>> the same amount of CPU but will consume less wallclock time, returning to
>> the user faster.
>>
>> Ikai Lan
>> Developer Programs Engineer, Google App Engine
>> Blog:http://googleappengine.blogspot.com
>> Twitter:http://twitter.com/app_engine
>> Reddit:http://www.reddit.com/r/appengine
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Jun 13, 2011 at 7:47 AM, supercobra  wrote:
>> > Go is slower than Java and Java has all the libraries and tools (IDE,
>> > debuggers, refactoring, profiling, etc...) that you'll need.
>>
>> > Here are the speed test results from a Google study:
>>
>> >http://www.readwriteweb.com/hack/2011/06/cpp-go-java-scala-performanc...
>>
>> > -- superco...@gmail.com
>> >http://supercobrablogger.blogspot.com/
>>
>> > On Sun, Jun 12, 2011 at 6:39 PM, jay  wrote:
>> > > Hi All,
>>
>> > > Anybody had a chance to play around with Go yet?
>>
>> > > My games are CPU heavy because I do a lot of number crunching on game
>> > > data every time a user requests the game page. This code really has
>> > > nothing to do with app engine but is pure game code. I would image
>> > > this code would be significantly faster that Python.
>>
>> > > Anybody have any experiences to share yet?
>>
>> > > --
>> > > You received this message because you are subscribed to the Google Groups
>> > "Google App Engine" group.
>> > > To post to this group, send email to google-appengine@googlegroups.com.
>> > > To unsubscribe from this group, send email to
>> > google-appengine+unsubscr...@googlegroups.com.
>> > > For more options, visit this group at
>> >http://groups.google.com/group/google-appengine?hl=en.
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups
>> > "Google App Engine" group.
>> > To post to this group, send email to google-appengine@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > google-appengine+unsubscr...@googlegroups.com.
>> > For more options, visit this group at
>> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



RE: [google-appengine] Re: Go Language

2011-06-13 Thread Brandon Wirtz
Multi-threading is coming but not available yet.

-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of bFlood
Sent: Monday, June 13, 2011 10:43 AM
To: Google App Engine
Subject: [google-appengine] Re: Go Language

is this available on GAE now? also, can multiple goroutines be used to
service user requests from a single instance? I had though the Go blog had
stated this wasn't available on GAE yet



On Jun 12, 8:52 pm, "Ikai Lan (Google)"  wrote:
> Depends on how much number crunching. I say just use the language you 
> like the best. Unless you're doing some kind of non-linear ops (and a 
> LOT of
> them) you might not get the efficiency you're looking for moving to Java.
> The number crunching would have to be very significant relative to the 
> time it takes to do IO for language speed to make a difference for simple
math.
>
> One advantage the Go runtime has over Python and Java is that you can 
> fire off Goroutines within a process. A Goroutine is to Go what a 
> Thread is to Java or a fork is to Python. You communicate between 
> Goroutines using channels and multiplex channels using the "select" 
> statement. If you can break up your heavy computation into lots of 
> small bits, you will consume the same amount of CPU but will consume 
> less wallclock time, returning to the user faster.
>
> Ikai Lan
> Developer Programs Engineer, Google App Engine 
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine
>
>
>
>
>
>
>
> On Mon, Jun 13, 2011 at 7:47 AM, supercobra  wrote:
> > Go is slower than Java and Java has all the libraries and tools 
> > (IDE, debuggers, refactoring, profiling, etc...) that you'll need.
>
> > Here are the speed test results from a Google study:
>
> >http://www.readwriteweb.com/hack/2011/06/cpp-go-java-scala-performanc...
>
> > -- superco...@gmail.com
> >http://supercobrablogger.blogspot.com/
>
> > On Sun, Jun 12, 2011 at 6:39 PM, jay  wrote:
> > > Hi All,
>
> > > Anybody had a chance to play around with Go yet?
>
> > > My games are CPU heavy because I do a lot of number crunching on 
> > > game data every time a user requests the game page. This code 
> > > really has nothing to do with app engine but is pure game code. I 
> > > would image this code would be significantly faster that Python.
>
> > > Anybody have any experiences to share yet?
>
> > > --
> > > You received this message because you are subscribed to the Google 
> > > Groups
> > "Google App Engine" group.
> > > To post to this group, send email to
google-appengine@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google 
> > Groups "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at 
> >http://groups.google.com/group/google-appengine?hl=en.

--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Go Language

2011-06-13 Thread Robert Kluin
No, Go can't currently serve concurrent requests either.  If I'm not
mistaken Go is still also invite only, you can request an invite using
the form in the announcement blog post.




On Mon, Jun 13, 2011 at 13:42, bFlood  wrote:
> is this available on GAE now? also, can multiple goroutines be used to
> service user requests from a single instance? I had though the Go blog
> had stated this wasn't available on GAE yet
>
>
>
> On Jun 12, 8:52 pm, "Ikai Lan (Google)"  wrote:
>> Depends on how much number crunching. I say just use the language you like
>> the best. Unless you're doing some kind of non-linear ops (and a LOT of
>> them) you might not get the efficiency you're looking for moving to Java.
>> The number crunching would have to be very significant relative to the time
>> it takes to do IO for language speed to make a difference for simple math.
>>
>> One advantage the Go runtime has over Python and Java is that you can fire
>> off Goroutines within a process. A Goroutine is to Go what a Thread is to
>> Java or a fork is to Python. You communicate between Goroutines using
>> channels and multiplex channels using the "select" statement. If you can
>> break up your heavy computation into lots of small bits, you will consume
>> the same amount of CPU but will consume less wallclock time, returning to
>> the user faster.
>>
>> Ikai Lan
>> Developer Programs Engineer, Google App Engine
>> Blog:http://googleappengine.blogspot.com
>> Twitter:http://twitter.com/app_engine
>> Reddit:http://www.reddit.com/r/appengine
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Jun 13, 2011 at 7:47 AM, supercobra  wrote:
>> > Go is slower than Java and Java has all the libraries and tools (IDE,
>> > debuggers, refactoring, profiling, etc...) that you'll need.
>>
>> > Here are the speed test results from a Google study:
>>
>> >http://www.readwriteweb.com/hack/2011/06/cpp-go-java-scala-performanc...
>>
>> > -- superco...@gmail.com
>> >http://supercobrablogger.blogspot.com/
>>
>> > On Sun, Jun 12, 2011 at 6:39 PM, jay  wrote:
>> > > Hi All,
>>
>> > > Anybody had a chance to play around with Go yet?
>>
>> > > My games are CPU heavy because I do a lot of number crunching on game
>> > > data every time a user requests the game page. This code really has
>> > > nothing to do with app engine but is pure game code. I would image
>> > > this code would be significantly faster that Python.
>>
>> > > Anybody have any experiences to share yet?
>>
>> > > --
>> > > You received this message because you are subscribed to the Google Groups
>> > "Google App Engine" group.
>> > > To post to this group, send email to google-appengine@googlegroups.com.
>> > > To unsubscribe from this group, send email to
>> > google-appengine+unsubscr...@googlegroups.com.
>> > > For more options, visit this group at
>> >http://groups.google.com/group/google-appengine?hl=en.
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups
>> > "Google App Engine" group.
>> > To post to this group, send email to google-appengine@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > google-appengine+unsubscr...@googlegroups.com.
>> > For more options, visit this group at
>> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Go Language

2011-06-13 Thread bFlood
is this available on GAE now? also, can multiple goroutines be used to
service user requests from a single instance? I had though the Go blog
had stated this wasn't available on GAE yet



On Jun 12, 8:52 pm, "Ikai Lan (Google)"  wrote:
> Depends on how much number crunching. I say just use the language you like
> the best. Unless you're doing some kind of non-linear ops (and a LOT of
> them) you might not get the efficiency you're looking for moving to Java.
> The number crunching would have to be very significant relative to the time
> it takes to do IO for language speed to make a difference for simple math.
>
> One advantage the Go runtime has over Python and Java is that you can fire
> off Goroutines within a process. A Goroutine is to Go what a Thread is to
> Java or a fork is to Python. You communicate between Goroutines using
> channels and multiplex channels using the "select" statement. If you can
> break up your heavy computation into lots of small bits, you will consume
> the same amount of CPU but will consume less wallclock time, returning to
> the user faster.
>
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine
>
>
>
>
>
>
>
> On Mon, Jun 13, 2011 at 7:47 AM, supercobra  wrote:
> > Go is slower than Java and Java has all the libraries and tools (IDE,
> > debuggers, refactoring, profiling, etc...) that you'll need.
>
> > Here are the speed test results from a Google study:
>
> >http://www.readwriteweb.com/hack/2011/06/cpp-go-java-scala-performanc...
>
> > -- superco...@gmail.com
> >http://supercobrablogger.blogspot.com/
>
> > On Sun, Jun 12, 2011 at 6:39 PM, jay  wrote:
> > > Hi All,
>
> > > Anybody had a chance to play around with Go yet?
>
> > > My games are CPU heavy because I do a lot of number crunching on game
> > > data every time a user requests the game page. This code really has
> > > nothing to do with app engine but is pure game code. I would image
> > > this code would be significantly faster that Python.
>
> > > Anybody have any experiences to share yet?
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > > To post to this group, send email to google-appengine@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.