This week's book giveaways are in the Jython/Python and Object-Oriented programming forums.
We're giving away four copies each of Machine Learning for Business: Using Amazon SageMaker and Jupyter and Object Design Style Guide and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Head First Go: Building concurrent web applications in Go

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Two questions:
a. How is the support for writing concurrency apps in Go? Does it have a package like java.util.concurrent
b. How easy or hard is it to create an application server in GO? Does it have something parallel to Tomcat, Apache, JBOSS etc
Staff note (Bear Bibeault):

In the future, please create a separate topic for each question rather than putting multiple questions into a single topic. Thanks.

 
Author
Posts: 22
5
Mac Ruby Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

swaroop rath wrote:
a. How is the support for writing concurrency apps in Go? Does it have a package like java.util.concurrent



Far better than that; concurrency is built into the language itself! Goroutines make creating a concurrent process as simple as calling a function. And unlike threads, you can create thousands of concurrent goroutines and still maintain excellent performance. Go also includes channels which allow goroutines to communicate without relying on shared memory. Concurrency is a major selling point for Go.

swaroop rath wrote:
b. How easy or hard is it to create an application server in GO? Does it have something parallel to Tomcat, Apache, JBOSS etc



Easy! The standard "net/http" package includes a highly performant web server. There's one tutorial here, and another in the last two chapters of Head First Go if you're looking for something more approachable.
 
My previous laptop never exploded like that. Read this tiny ad while I sweep up the shards.
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!