Question: Write a concurrent clockserver.go program, similar to clock 2 . go covered in Chapter 8 of our reference Go book ( Donovan & Kernighan )

Write a concurrent clockserver.go program, similar to clock2.go covered in Chapter 8 of our reference
Go book (Donovan & Kernighan). Accept a port number as a command line argument on which to listen for
client requests. Report the servers current system time to all clients concurrently once per second. In addition,
write a program called clockwall.go, similar to netcat1.go covered in the book, which acts as a client
of multiple clock servers at once. Read the time from each clock server and print the results to the screen,
akin to wall clocks seen in some business offices. Your wall clock program must accept a list of clock server
machine information in the form of ip-address:port-number pairs as command line arguments.
Run two separate EC2 instances, one with the system clock set to UTC time (the default) and the other to
a local time zone of your choice (specify in report). Use the following command in Ubuntu to reconfigure the
time zone:
$ sudo dpkg-reconfigure tzdata

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!