I came, I guess, I try !!

用nodejs+mongodb+jquery.autocomplete自己捣鼓了个suggestion。

X疼和不解的是为什么明明是连localhost有9ms的receiving-time,而访问某些远程的资源反而<9ms,那个receiving-time到底是个啥东西?

capture1

想了半天,似乎不是资源大小的问题、也该不是tcp链接快慢的问题。

嗯,have a try:

res.write(JSON.stringify(array));
setTimeout(function () {
	res.end();
}, 1000);

结果:

capture2

成就感什么的跃然之上啊!!