Friday, January 20, 2017

today's summary

select/poll/epoll used by memcached/redis/nodejs/golang
epoll is latest and linux only.
30% of world's computers are still Windows XP.

nodejs vs golang async
golang - goroutines on top of OS threads, proud to be blocking (goroutine will take care of that), goroutines are cheap
nodejs - single threaded, use callback else it will be blocked

websocket server - Golang is the right compro, perf less than C++ but code much simpler. Nodejs far behind.

In GoLang - you can use utf-8 characters as var names

redis and tiles38 for geospatial data
tiles38 has replication as well and uses Redis RESP protocol

No comments:

Blog Archive