Looking for organizational/process best practices

75 views
Skip to first unread message

Frederic Marand (FGM)

unread,
Dec 27, 2023, 9:20:20 PM12/27/23
to grpc.io
Hello. 

After teaching a course on protobuf and gRPC in Go, I’ve had requests for best organizational practices for the use of protobufs (and gRPC) at some degree of scale, and this does not appear to be something that is covered in the protobuf.dev and grpc.io sites, as opposed to the technical best practices.

Things like: 
- how do you split your protobufs in packages/directories ? 
- what kind of common fields or custom options (e.g. validators) should one add ? 
- How do you store your .proto files: isolated repo ? all-projects monorepo ? 
- And how should you commit your generated code per language ? One repo per language, language directories in the isolated protobuf repos, vendored in each project, or just generated on the fly ? 
- Should you always include max items count for responses containing repeated items ?
- When do you switch paging from and id group to a timestamp, or a Bloom filter ?

Basically, all the questions a team is asking themselves to put these technologies in practice once they know how they technically work but are still green on actual production use. 

Any pointers to resources welcome !

yas...@google.com

unread,
Jan 2, 2024, 1:14:34 PMJan 2
to grpc.io
This sounds like a topic suited for https://groups.google.com/g/protobuf

Richard Belleville

unread,
Jan 2, 2024, 2:29:08 PMJan 2
to yas...@google.com, Terry Wilson, grpc.io

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/f356c762-7aea-4d64-9715-eaf8767f6b2bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages