This is coinmarketcap
distributed spider and webserver Golang edition.
mysql
rabbitmq
go
You need a rabbitmq as the broker. Web server itself run as a publisher and spider run infinitly as consumer.
# To run spider
go run dspider.go spider.go sqlutil.go
# To run server
go run main.go router.go sqlutil.go encrypt.go