Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 866 Bytes

README.md

File metadata and controls

46 lines (35 loc) · 866 Bytes

seckill

  • 系统架构图 系统架构图

  • 秒杀图 秒杀图

  • 秒杀脑图 秒杀脑图


接入层和逻辑层

  • 开启redis
  • 开启etcd

编译并运行服务

> cd seckill\SecProxy
> go build seckill\SecProxy\main
> main
> cd ..\SecLayer
> go build seckill\SecLayer\main
> main

浏览器中访问

http://localhost:9091/secinfo

http://localhost:9091/seckill?product_id=1079

Web管理层

  • 开启etcd
  • 开启mysql

编译并运行服务

> cd seckill\SecWeb
> go build seckill\SecWeb\main
> main

浏览器中访问

http://localhost:9090