/books/distributed-services-with-go
Active Threads This:
Most Active This Week
Most Active This Month
Most Active This Year
Most Active Last Three Years
Page 28: It implements io.ReaderAt on the store type.
Sorry if it’s a dumb question but was the io.ReaderAt supposed to be io.ReadAt?
...
New
Page 72 shows implementation of the nearestMultiple function. (as per below)
func nearestMultiple(j, k uint64) uint64 {
if...
New
On page 40:
Read(off uint64) returns the record for the given offset. Similar to writes, to read a record the segment must first transl...
New
On page 42:
We test that we can append a record to a segment, read back the same record, and eventually hit the configured max size for...
New
On page 40:
IsMaxed returns whether the segment has reached its max size, either by writing too much to the store or the index. If you ...
New
Hi @travisjeffery, in the Close function on page 33 it seems there is an error, after the i.mmap.Sync is called, the memory is not unmapp...
New
On page 18
These protobuf messages are equivalent to the Go structs shown earlier.
You’ll notice the two syntaxes are very similar: in...
New
On page 44:
Now add the following Append() function below setup():
“Append() function” should read “Append() method”.
New
Most Active Over Three Years
page 20: … protoc command…
I had to additionally run the following go get commands in order to be able to compile protobuf code using go...
New
In Chapter 3, the source for index introduces Config on page 31, followed by more code including tests; Config isn’t introduced until pag...
New
This test is broken right out of the box…
— FAIL: TestAgent (7.82s)
agent_test.go:77:
Error Trace: agent_test.go:77
agent_test.go:...
New
Hi Travis! Thank you for the cool book! :slight_smile:
I made a list of issues and thought I could post them chapter by chapter. I’m rev...
New
Code at the end of page for the WriteALogPackage/internal/log/segment.go
says p, err := s.store.Read(pos), should be ReadAt I think
New
Distributed Services With Go -
I went to SecureYourServices folder and executed make gencert. I am getting the following error.
2020/0...
New
Hi,
I’m currently reading your book. By doing so, I like to rewrite the code by myself. It helps me to deeply understand how it works.
...
New
Distributed Services with Go: missed wiring for the auth in Chapter 5. Secure Your Services (pg. 97)
On page 97 (v. Beta 4): The book jumps to…Our server now authorizes its requests!
However, the reader is not ready yet b/c they need to ...
New
It seem to me that in early editions of the book whole server.go file was located in grpc folder. (instructions in the start of chapter 4...
New
Hey @travisjeffery,
After following all steps in Ch10, helm install proglog deploy/proglog fails to start the service. Initially, it was...
New
Page 39, Print Edition
The description of how the offset is calculated for the index under the definition of Append() is confusing and I...
New
Page 19: “Let’s start by adding a function for users to create our HTTP server. Inside your server directory, create a file called server...
New
@travisjeffery
When writing agent_test.go in page 134, the package name is agent_test when other tests use the same package name. For ex...
New
Edit: After reading more of the book, this doesn’t seem to be an issue (see replies).
The “Append” function on the store splits writing ...
New
@travisjeffery
As per instructions up to page 132, I have checked the code against the downloadable resources and A/B’d back and forth. ...
New
Book Info
Publisher:
Pragmatic Bookshelf
Are you this book's author? To be notified of all posts made about it, sign up an account then click here, then select 'watching' from the bell icon in the top right corner.
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.