m*******d 发帖数: 17 | 1 【 以下文字转载自 USANews 讨论区 】
发信人: memcached (cache), 信区: USANews
标 题: 姚新宇律师说了,硅公硅婆连种地的都不如
发信站: BBS 未名空间站 (Sat Nov 10 16:27:40 2012, 美东)
从今天开始要把这句话告诉我周围所有的人。大家也多帮他传播传播。硅公硅婆都应该
知道姚新宇律师大名。 |
|
q**j 发帖数: 10612 | 2 Position: Big Data Developer/DBA
Location: San Francisco, CA
Position: DBA
About Demandforce
Demandforce, Inc., a leading online marketing and communication software
service from Intuit Inc. helps local businesses thrive in the Internet
economy using email communications, text messaging and online services.
Demandforce combines an award winning communications platform with best-in-
class reputation and networking tools into one powerful web-based
application that seamlessly integrates with exi... 阅读全帖 |
|
Q*K 发帖数: 3464 | 3 http://slacy.com/blog/2011/03/what-larry-page-really-needs-to-d
What Larry Page really needs to do to return Google to its startup roots
Posted on March 24, 2011 by slacy
I worked at Google from 2005-2010, and saw the company go through many
changes, and a huge increase in staff. Most importantly, I saw the company
go from a place where engineers were seen as violent disruptors and
innovators, to a place where doing things “The Google Way” was king, and
where thinking outside the box was discou... 阅读全帖 |
|
S*I 发帖数: 474 | 4 重温了2010的老电影社交网络。当时在电影院看,没有字幕所以好多point没有get。这
次看字幕版,得到了更多感慨。
FB上市一年多,现在股票从发行价涨了十几块,公司值一千多亿美元了。谁可知一切的
起始不过是一个闷骚男追不到一个姑娘。
这个电影是大卫芬奇的作品。他的七宗罪,搏击俱乐部等等,都是口碑极佳。这次他又
让我们看到了电影用什么方式叙事,才能这么传神。
更为不可思议的是,电影的情节,几乎每个情节,居然都是真的。我一一wiki过后,更
加觉得回味无穷。
Mark Zuck刚刚被评为最受员工欢迎的CEO。可是谁能知道,他其实骨子里就是个技术闷
骚宅。
在facebook的tech talk网页上还有他的talk。那好像是08,09年了,作为亿万富翁的他
还在公司做技术讲座,讲的好像是memcached,几乎每个细节都是正确的。那时候的他
还是一个技术男,一个优秀的技术男。
从整个电影的进程来看,Mark确实deserve他获得的成功。其他的人,那个搞投资的
Eduardo 和高富帅Winklevoss兄弟,他们不过是传统的“上流阶层”。他们的目的性更
明确也更短浅。
而Mark不是... 阅读全帖 |
|
d********0 发帖数: 5142 | 5 ☆─────────────────────────────────────☆
oldhand (老黄) 于 h 提到:
最近常常听朋友说起小孩进名校费用太高。以老中的家庭收入,每年要付3万到5万。刚
刚进去第一年感觉不错,已后就so-so了。毕业后出路不见得好到哪里去。这就让我想
起我们刚刚考上大学时的情景。我当时考上复旦大学,那是文革后第一次高考。在上海
人心里,复旦是全国最好的,因为当时上海人在北京住不惯吃不惯,不愿去北大清华。
那时不知有多神气,整天飘飘然。走到外面,遇到一个亲友,大声恭喜我进复旦。因为
声音很大,周围路过的人听到,都会用羡慕的目光看看我这个天才,有人也会过来围观
。那种感觉,跟歌星球星差不多了。后来进了复旦以后,因为大家都是当地的英雄好汉
,竞争很激烈,自我感觉开始下滑。有的同学曾是当地的高考状元,进来后学业平平。
毕业时,很多同学分配去各地工作。有的当中学,中专或大专教师,有的去公司当助理
工程师,等等。有些专业,特别是文科,分配的工作更差了。真可谓进校时满怀豪情壮
志,在校中平平庸庸,离校时灰溜溜不堪回首。很多从北大清华毕业的朋友也有同感。
美国... 阅读全帖 |
|
z*********n 发帖数: 94654 | 6 不过有个硬伤啊,既然用memcached,开来是个unix类的线程
这种县城的id没有x这种十六进制符号啊,就是普通十进制的普通integer啊 |
|
W****S 发帖数: 6555 | 7 下载电影用的
[30%] 下载流量按30%计算,上传流量按100%计算 [50%] 下载流量按50%计算,上传
流量按100%计算 [免费] 不计下载流量,上传流量按100%计算
[2X] 下载流量按正常计算,上传流量按2倍计算 [2X50%] 下载流量按50%计算,上
传流量按2倍计算 [2X免费] 不计下载流量,上传流量按2倍计算
提示:迅雷下载不了本站的任何资源,推荐使用 utorrent (点击至官网下载)
<< 上一页 下一页 >>
1 - 50 | 51 - 100 | 101 - 150 | ... | 6701 - 6750 | 6751 - 6800 | 6801 -
6844
类型 标题 comments time size seeders leechers
snatched 发布者
Movies
Sticky The Lost Bladesman 2011 BluRay 1080p AC3 2Audio x264-CHD (新) [热门]
[免费剩余:... 阅读全帖 |
|
w********2 发帖数: 16371 | 8 比起s3,价格是1/10,本来如果要处理些数据,老数据得倒下来存local storage。麻
烦的很,现在的glacier基本上提供个选择,每个月1T才10刀
这样在云里的数据不常用的旧可以有地方放了。
适用于backup。
这样amazon 在储存方面提供了glacier,s3,ebs,mysql, nosql,memcached
基本上云上的各级需求都有了。 |
|
|
a*******t 发帖数: 85 | 10 We have all common php extensions ready other than imagemagick.
for example:
bz2, curl, gd, ldap, libxml, mbstring, mcript, memcache, mysql, mysqli,
odbc, openssl, pcre, sqlite, zip, zlib.... |
|
j**********i 发帖数: 3758 | 11 4000万动态访问pv
6台服务器
抛弃了 Apache,因为它能承受的并发连接相对较低;
抛弃了 Squid,因为它在内存利用、访问速度、并发连接、清除缓存等方面不如
Varnish;
抛弃了 PHP4,因为 PHP5 处理面向对象代码的速度要比 PHP4 快,另外,PHP4 已经不
再继续开发;
抛弃了 F5 BIG-IP 负载均衡交换机,F5 虽然是个好东西,但由于价格不菲,多个部门
多个产品都运行在其之上,流量大、负载高,从而导致性能大打折扣;
利用 Varnish cache 减少了90%的数据库查询,解决了MySQL数据库瓶颈;
利用 Varnish cache 的内存缓存命中加快了网页的访问速度;
利用 Nginx + PHP5(FastCGI) 的胜过Apache 10倍的高并发性能,以最少的服务器数量
解决了PHP动态程序访问问题;
利用 Memcached 处理实时数据读写;
利用 HAProxy 做接口服务器健康检查; |
|
b***i 发帖数: 3043 | 12 其实3年来我做的不是网站,我是用网站发布java web start的app,现在考虑既然用
java了,那么CDN也可以用java,其实很简单了。我去年开始学servlet,jsp(不是把
代码全放进去的那种,就是当类似php),现在在google app engine上用很顺手,什么
datastore,memCache都省去了学习各类java ee的过程。而且,不用考虑linux, apache
, tomcat等任何问题。最近又在android上移植了apple ii 模拟器,很流畅。可以考虑
把我的app转android上,这样就全是java了。
其实95年就看到朋友翻译java资料写书了,当时看不起java,后悔啊。没看到java的网
络安全方面的意义,也就是java最初的商业意义。 |
|
R*********n 发帖数: 99 | 13 Dears,
我们在给一家美资公司招聘Sr.PHP Developer & Sr.Front End Developer若干,这些
职位都会放在中国上海。这家美资公司正在上海建立一个新的团队。如有兴趣申请,请
将最新简历发至[email protected]
/* */
诚招有意向回国发展的技术人才,具体要求如下:
!Senior PHP Developer
Requirements:
* Expert level PHP, experience with PHP framework, Zend Framework,
CodeIgniter, Yii etc.
* Experience with PHP CMS system, Wordpress, Drupal etc.
* Experience with Database and Cache system, MySQL, Memcached, Redis etc.
* Semantic markup best practices, working knowledge of HTML5
* Expert level CS... 阅读全帖 |
|
p*********t 发帖数: 2690 | 14 en,原来facebook也用apache + php + mysql, nosql, Memcached, Haystack,
Cassandra 等。 |
|
p*********t 发帖数: 2690 | 15 恩,現在海量存储是一个热门。facebook用了apc,memcached来做cache,里面就是用的
hash table来存储一些value,这样每次不必从database里取值。
hash table,heap这些数据结构的东东,在it业界一直都有应用。 |
|
j*******n 发帖数: 48 | 16 I agree with others that SQL Server should keep all your data in memory if
it's big enough. Logging to disk will happen but will not be significant.
But if you don't like it, there's also Redis and MemCached. |
|
d****n 发帖数: 12461 | 17 oracle有两条路,dba和开发。搞开发的其实所有的rdbms都是相通的。说搞数据库的如
果没见过三种不同类型以上5种产品以上的,都不好意思啊。
这是某个程序员自己写的
http://blog.csdn.net/liuyifeng_510/article/details/6412788
“下面我19年来使用过的数据库:
• dBase/FoxBase/FoxPro in the DOS/Novell/Windows 3.x world
• MS SQL Server (6.5,7.0,2000,2005 and 2008)
• Oracle (7, 8/8i,9i,10g)
• Sybase SQL/ASE Servers (4.9.2, 10, 11, 11.9.2, 12/12.5, 15.x)
• Sybase IQ 12.6/12.7
• Informix/Dynamic (6, 7)
• MySQL (4, 5/5.1)
• PostGreSQL (8.3.5)/Enterpri... 阅读全帖 |
|
d****n 发帖数: 12461 | 18 oracle有两条路,dba和开发。搞开发的其实所有的rdbms都是相通的。说搞数据库的如
果没见过三种不同类型以上5种产品以上的,都不好意思啊。
这是某个程序员自己写的
http://blog.csdn.net/liuyifeng_510/article/details/6412788
“下面我19年来使用过的数据库:
• dBase/FoxBase/FoxPro in the DOS/Novell/Windows 3.x world
• MS SQL Server (6.5,7.0,2000,2005 and 2008)
• Oracle (7, 8/8i,9i,10g)
• Sybase SQL/ASE Servers (4.9.2, 10, 11, 11.9.2, 12/12.5, 15.x)
• Sybase IQ 12.6/12.7
• Informix/Dynamic (6, 7)
• MySQL (4, 5/5.1)
• PostGreSQL (8.3.5)/Enterpri... 阅读全帖 |
|
|
k****i 发帖数: 1072 | 20 yes, singleton is one way to do it.
MemoryCache class is in System.Runtime.Caching namespace.
And also there are distributed cache like redis and memcache,etc. |
|
c****f 发帖数: 1102 | 21 你的http request的队列 也是靠内存来handle的
而今后数据的增长和用户的增长也都是要用更多内存的
cpu的提升没内存的这么明显
你说你的db就1.5 以后用户和db都不增长了 那效率最高的肯定是4g 因为几乎可以全部
cache掉 并且在自己的范围内handle所有的数据
还有一点8g内存的话 如果有用到memcache的结构 数据库效率可以提升几倍....
而4g 的话 就不行 高速的数据库饷应也减少了http request的等待队列
所有
如果今后db和用会会增长的话 绝对选8g的
如果不会的话 就选4g的达到最高效率 |
|
s******n 发帖数: 876 | 22 你们对于session这个*词*的理解有误吧.
不一定是web session或者user session之类的.
session bean是泛指非persistent的scope.
可以对应到java servlet的application scope.
比方说各版当前在线人数. 没EJB可以用memcached
等distributed datastructure |
|
b******y 发帖数: 1684 | 23 有人用么?据说facebook用得很猛,用来cache无数东西。
现在的系统里面有N多static的东西,不知道是不是也可以try一下 |
|
g*****g 发帖数: 34805 | 24 ehCache is probably what you are looking for. |
|
b******y 发帖数: 1684 | 25 象这种cache solutions,能comfortable handle多大的cache?
象PDF template这种static data,如果不cache,
就是大IO(from File system)或者blob(from DB),慢得很,
如果cahche,会不会导致频繁paging? |
|
k***r 发帖数: 4260 | 26 The OS has its OS level cache. It will try to fit
the disk space that's accessed the most in memory
as well. But the maximum is the memory on local box.
In distributed cache, you can multiply that by number
of boxes you have, and apply a simple hash to partition
the objects. So the answer is, it's only limited by
your hardware resources. |
|
b******y 发帖数: 1684 | 27 i still don't have clear idea about the performance/capacity of
these cache solutions...
also, how can developers test product system performance?
dev env for individual developer can't have that much memory.
setting up a dev lab env for whole dev team? |
|
k***r 发帖数: 4260 | 28 blogcity wants to cache files. |
|
m******t 发帖数: 2416 | 29
In that case, like I said, I don't see how any 3rd party
cache solutions can be faster than OS. |
|
g*****g 发帖数: 34805 | 30 It's not faster, but not neccesarily slower. It's all about
putting files in memory and the eviction policy after all.
Third party solution may give you a pure java solution that
runs in the same JVM. |
|
k***r 发帖数: 4260 | 31 Several advantages over OS caching. You have control over
your policy of purging the cache. And you can go distributed
if you need to. |
|
m******t 发帖数: 2416 | 32
You have got to be kidding me to believe that a pure java
based cache solution is "not necessarily slower" than
OS file caching. |
|
m******t 发帖数: 2416 | 33
I thought of that. It's a fair point, but then remember we
are talking about static files, and the point I stressed earlier
that web servers are almost always dedicated boxes. So
it usually comes down to whether a particular file is frequently
requested or not. I just don't feel sophisticated cache policies
are really necessary for static files.
Caching static files distributedly? How is that any better
than a simple load balancer in front of a set of web servers,
each with the same files dep |
|
k***r 发帖数: 4260 | 34 It depends on the usage. Sometimes some complications
come into play. For example, in some cases you want
to run the web service on one single box but the storage
on multiple boxes. When files are used/served, the web
service needs to massage the data, or need to authentica
the user, etc., etc.. |
|
b******y 发帖数: 1684 | 35 okie... i gotta ask a newbie question here: how to invoke OS
caching capacity from my java code? how to control OS caching,
say, LRU parameters, force to expire, etc? |
|
m******t 发帖数: 2416 | 36
Do you need to do that from your java code? In fact, I'm not
sure serving static files from your java code is a good idea to
begin with. It takes a couple rounds of buffer copying before
the content of a file is even seen by the java code. Why do that
when you could simply serve them from a web server?
(Well access control would be the only reason I can think of.) |
|
m******t 发帖数: 2416 | 37
all
database
30TB in-memory db, huh? That's very impressive. |
|
g*****g 发帖数: 34805 | 38 Flexibility and portablity, below was a real app I worked in ex-job.
Let's say you want to implement an web server
that can display emails, all emails are in MIME format so
you have to parse emails to get attachments in the first
place. And of course you want to cache them to avoid parsing
them again.
Now use a pure java solution, you have the control of the eviction
policy. You may give VIP members more cache space or longer
expiry time for example. Your caching is portable, config the
director |
|
b******y 发帖数: 1684 | 39 ft... I gave example le.
let's say I need to generate PDF file from some PDF template files.
then the PDF template files are the files my java code read frequently. |
|
m******t 发帖数: 2416 | 40
And so the templates will be cached by the OS. A linux kernel would
keep these files cached for as long as it has the memory to do so and
the access activities keep up. |
|
m******t 发帖数: 2416 | 41 Dude, I don't know about your book, by mine, if something is
the result of a parsing, then it's no longer "static". 8-) |
|
b******y 发帖数: 1684 | 42 a newbie question here: how to invoke OS
caching capacity from my java code? how to control OS caching,
say, LRU parameters, force to expire, etc, from java code? |
|
m******t 发帖数: 2416 | 43
(I realize I was answering your "how?" with "why?" the first
time around, only because I thought that was more relevant.)
Invoking it is simple - just use the darn files. :-)
Controlling it is obvious system-depedent. For instance on linux
you can (assuming your code can sudo) change a couple parameters
under /proc/sys/vm to control how much memory is used for file
caching, and when to flush etc.
It won't let you do per-file configuration obviously, so as I said
before, you don't have the same |
|
g*****g 发帖数: 34805 | 44 Depends on your requirement on portablitity.
I have this evil biased opinion operation is dumb.
And I don't like leaving a lot of stuff in their hands. |
|
b******y 发帖数: 1684 | 45 why not justified?
assume I have a PDF generator module that generates 1M
PDF from one of the 1000 PDF templates. It would be
very time consuming to load template from disk/DB each time.
(and assume there is no way to pre-process...) |
|
m******t 发帖数: 2416 | 46
Fair point - like I said "assuming you have sudo".
It's more of a political issue than a technical one
though. |
|
m******t 发帖数: 2416 | 47
I don't know about your exact situation so obviously
I can't just assert it. Now with that being said -
I don't see how the _reading_ of the template is
any different from reading any other file. IOW,
say your template is 1MB, unless the generator code
is incredibly idiotically written, all that it needs
to read from the disk is, well, 1MB. And it will
be cached by the OS, just like any other files.
Furthermore, if between two reads of the same template,
there are enough activities involving ot |
|
b******y 发帖数: 1684 | 48 ft... I forgot to assume the template files are not that big.
assume each template file is around 5k - 50k.
i'd say they are perfect candidate for an LRU cache of capacity 10. |
|
m******t 发帖数: 2416 | 49
If you anticipate no more than 10 templates being needed during
a short period of time, each of which no longer than 50k, trust me,
you don't have that much traffic for any choice of caching schemes
to even come close to mattering.
How many templates do you have in total? 1000? That's like 50MB.
Heck, just read all of them in one shot and be done with it. 8-) |
|
Q**g 发帖数: 183 | 50 when in JVM cache grows big, it drags the GC performance. |
|