/books/distributed-services-with-go
Active Threads:
Latest Threads About This Book
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
@travisjeffery
The book in many places stands for Raft consensus algorithm being able to replicate all data across the servers. The trut...
New
@travisjeffery The code in server.go is not consistent with the generated grpc code.
I see that the code in the git repo was updated, bu...
New
@travisjeffery
PDF - Page 35
No need to synchronize this function? How mmap work with multiple writers?.
func (i *index) Write(off uin...
New
Can I run proglog from within Intellij without too much trouble? When I try I get
Error: open : no such file or directory
I assume thi...
New
On page 44:
Now add the following Append() function below setup():
“Append() function” should read “Append() method”.
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
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 18
These protobuf messages are equivalent to the Go structs shown earlier.
You’ll notice the two syntaxes are very similar: in...
New
Most Active This Week
Most Active This Month
Most Active This Year
Most Active Last Three Years
When trying to generate the protobuf .go file, I receive this error:
Unknown flag: --go_opt
libprotoc 3.12.3
MacOS 11.3.1
Googling ...
New
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
I’m not quite sure what’s going on here, but I’m unable to have to containers successfully complete the Readiness/Liveness checks. I’m im...
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
When I attempt to go get github.com/tysonmote/gommap I get an error gommap.go:60:15: undefined: mmap_syscall. Has anyone on an M1 mac bee...
New
Page 72 shows implementation of the nearestMultiple function. (as per below)
func nearestMultiple(j, k uint64) uint64 {
if...
New
Hey @travisjeffery,
After following all steps in Ch10, helm install proglog deploy/proglog fails to start the service. Initially, it was...
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
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
@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
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
Distributed Services with Go (pg. 207 && pg. 228)
Looking for suggestions to allow load-balancing to work from outside the k8s n...
New
Title: Distributed Services with Go
Page 32: protoc api/v1/*.proto
–go_out=.
–go_opt=paths=source_relative
–proto_path=.
When I r...
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
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.