From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <50873938.9050704@gmail.com> References: <3C9CB055-5F76-46DD-A48E-5E52130A913A@9srv.net> <50873938.9050704@gmail.com> From: John Floren Date: Tue, 23 Oct 2012 18:15:20 -0700 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] 9grid? Topicbox-Message-UUID: c7070632-ead7-11e9-9d60-3106f5b1d025 On Tue, Oct 23, 2012 at 5:41 PM, Matthew Veety wrote: > On 10/23/2012 8:11 PM, Don A. Bailey wrote: >> >> Go embeds parallel/grid functionality now instead of just lightweight >> thread execution? Which packages would you point me at? >> >> Thanks, >> D >> >> On Tue, Oct 23, 2012 at 5:09 PM, ron minnich > > wrote: >> >> On Tue, Oct 23, 2012 at 1:22 PM, Don A. Bailey >> > > wrote: >> >> > I'm interested in the code for managing grid nodes and delegating >> tasks. >> >> Real code? talk to charles. >> >> Or now that Go works, you could look at some of those packages. >> >> ron >> >> >> >> >> -- >> Don A. Bailey >> CEO/Founding Partner >> Capitol Hill Consultants LLC >> 1-303-947-6557 >> >> > > I would avoid using Go on Plan 9 right now for anything production because > it has issues when using many concurrent tcp connections. If you do want to > use Go, stick with reading and writing files, and let 9P do it's thing. > > -- > Veety > > Write a basic http server for Plan 9 (in C) and run Apache Benchmark against it. Somewhere around 100 concurrent connections, I tend to get failure. There's code in /sys/src/9/ip that has a hard limit on the # of concurrent connections IIRC. I'd post the code for the server I wrote, but it was written as part of work so I can't. Still, it's not hard to put together a server which responds only to a GET. john