An e-commerce demo built with Kitex
and Hertz
.
Service Name | Usage | Framework | protocol | Path | IDL |
---|---|---|---|---|---|
facade | HTTP interface | kitex/hertz | http | app/facade | |
cwg.bookshop.user | user service | kitex/gorm | thrift | app/user | idl/user.thrift |
cwg.bookshop.order | order service | kitex/gorm | thrift | app/order | idl/order.thrift |
cwg.bookshop.item | item service | kitex/gorm | thrift | app/item | idl/item.thrift |
$ make start
$ make user
$ make item
$ make order
$ make facade
$ make stop
browse to http://localhost:8080/swagger/index.html
$ go tool pprof -http=:1234 http://localhost:8080/debug/pprof/heap