
获得徽章 0
- Rsyslog can be used to transfer local access log to another machine destination, for example, we can deploy rsyslog at a machine which has nginx running, after some config, rsyslog will transfer these logs to another log server.展开赞过11
- you can use command `go test -run TestXXX ` to run only single test function instead of the whole test suite.评论点赞
- k8s has a kind of container named cronjob, which supports creating periodically executed tasks based on one line configuration similar to crontab that of linux.评论点赞
- I found a very useful command that can be used to split files by lines, as follows, split -l n file_name.txt-, where n indicates the number of lines of each generated file.评论点赞
- A quite useful network capture tool whistle, which is based on nodejs and can be easily installed on mac OS.1点赞
- A mysql table splitting schema: assume we have n databases, with each as m tables in it. given a uid indicating an user identifier, then the table index t can be caculated by uid%(n*m), the database index x can be caculated by uid/m.展开赞过21
- when using redis cluster, keep in mind that a sorted set can not be splitted to save in multiple machines, so if your sorted set is very large to take too much memory, you should not use sorted set in this condition, change to other data structures.展开3点赞
- Redis compiled with 32bit can only use at most 4GB memory, but it will use less memory compared to that compiled on 64bit targets, since pointers with 32bit occupy less memory.评论点赞
- conway's law demonstrates that the design graph of a system is similar to the architecture of its organizations.赞过评论1