大约有 6,000 项符合查询结果(耗时:0.0142秒) [XML]

https://www.tsingfun.com/it/tech/474.html 

对外网用户的squid代理+认证 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...同,只是在编译安装squid时和squid的配置文件squid.conf有些同。这次架设的服务器将保留对内网用户提供squid服务(内网用户增加认证功能限制)的同时再增加对外网用户提供squid+认证功能。版本为: FreeBSD6.2-RELEASE + Squid2.6-STA...
https://stackoverflow.com/ques... 

Database, Table and Column Naming Conventions? [closed]

...tandard set of suffixes ( _id for the PK, _cd for "code", _nm for "name", _nb for "number", _dt for "Date"). The name of the Foriegn key field should be the same as the Primary key field. i.e. SELECT cust_nm, cust_add1, booking_dt FROM reg_customer INNER JOIN reg_booking ON reg_customer.cust_i...
https://stackoverflow.com/ques... 

std::vector performance regression when enabling C++11

... NB: inline has nothing to do with function inlining; it means “defined inline” not “please inline this”. If you want to actually ask for inlining, use __attribute__((always_inline)) or similar. –...
https://www.tsingfun.com/it/os... 

内存优化总结:ptmalloc、tcmalloc和jemalloc - 操作系统(内核) - 清泛网 - ...

...两者只需要使用LD_PRELOAD环境变量启动程序即可,甚至并需要重新编译。 glibc ptmalloc2 ptmalloc2即是我们当前使用的glibc malloc版本。 ptmalloc原理 系统调用接口 上图是 x86_64 下 Linux 进程的默认地址空间, 对 heap 的操作, 操作系...
https://www.tsingfun.com/it/tech/738.html 

TCP 的那些事儿(上) - 更多技术 - 清泛网 - 专注C/C++及内核技术

...描清楚的能力。 另一个是觉得现在的好多程序员基本上会认认真真地读本书,喜欢快餐文化,所以,希望这篇快餐文章可以让你对TCP这个古典技术有所了解,并能体会到软件设计中的种种难处。并且你可以从中有一些软件设...
https://www.tsingfun.com/it/tech/1080.html 

Memcached下一站:HandlerSocket! - 更多技术 - 清泛网 - 专注C/C++及内核技术

...: Memcached数据一致性的问题:当MySQL数据变化后,如果能及时有效的清理掉过期的数据,就会造成数据一致。这在强调即时性的Web2.0时代,可取。 Memcached崩溃后的雪崩效应:作为缓存的Memcached一旦崩溃,MySQL很可能在...
https://stackoverflow.com/ques... 

Convert a Git folder to a submodule retrospectively?

...module.utils.url "`pwd -P`" \ # && git clone -s . utils -nb utils \ # && git submodule absorbgitdirs utils \ # && git -C utils checkout $$(git rev-parse :utils); \ # fi # with `git config -f .gitmodules submodule.utils.path utils` and # `gi...
https://www.tsingfun.com/ilife/tech/1190.html 

2015互联网结束补贴战 从相杀到相爱只需一个长假 - 资讯 - 清泛网 - 专注C/...

...和快的“闪婚”就像是倒下的第一张多米诺骨牌。在随后到一年的时间内,58同城和赶集网、美团和大众点评、携程和去哪儿,这些过去竞争多年的对手们相继合并。为何一夜之间行业老大和老二都在一起了?这个现象背后又...
https://www.tsingfun.com/it/os_kernel/2261.html 

BIO与NIO、AIO的区别(这个容易理解) - 操作系统(内核) - 清泛网 - 专注C/C++及内核技术

...的限制。如果客户端的请求过多,服务端程序可能会因为堪重负而拒绝客户端的请求,甚至服务器可能会因此而瘫痪。 NIO基于Reactor,当socket有流可读或可写入socket时,操作系统会相应的通知引用程序进行处理,应用再将流读...
https://stackoverflow.com/ques... 

What is the difference between “INNER JOIN” and “OUTER JOIN”?

...r outer joins only) add back in any outer rows that were lost in step 2. (NB: In practice the query optimiser may find more efficient ways of executing the query than the purely logical description above but the final result must be the same) I'll start off with an animated version of a full outer ...