Go: implementing a microservice

We should move towards writing actual code for our service. We are writing a simple statistics collection service for tracking page views. We are going to create a database schema for collecting page views and improve things along the way.

The database schema

To refresh, we will be implementing our Push() RPC call:

service StatsService { rpc Push(PushRequest) returns (PushResponse); } message PushRequest { string property = 1; uint32 section = 2; uint32 id = 3; } message PushResponse {}

...

 •  0 comments  •  flag
Share on Twitter
Published on December 13, 2019 14:30
No comments have been added yet.