码迷,mamicode.com
首页 >  
搜索关键字:thrift    ( 650个结果
tachyon 0.5.0 之TachyonWorker 源码分析
TachyonWorker 负责和tachyonMaster 交互, 直接通过 apache thrift 发送消息 tachyonworker 主要负责 3个部分, 启动 dataserver , 心跳, 和 thrift server , 其中 dataserver 负责内存数据和用户之间的读传输,目前thrift支持远程读数据, 写数据只能写到本地, 并对本地读取做了优化,...
分类:其他好文   时间:2014-11-30 23:16:57    阅读次数:214
搞定thrift双向消息
thrift作为脱胎于facebook的rpc框架,各方面都非常优秀。清晰的分层设计,多语言的支持,以及不输protocolbuffer的效率(compact下优于protocolbuffer),都让thrift拥有越来越多的使用者。作为一个RPC框架,thrift支持的是open->client-...
分类:其他好文   时间:2014-11-26 11:01:53    阅读次数:341
.net Thrift 之旅 (二) TServer
上一次做了一个简单的HelloWorld程序,但是只是简单的调用是远远不够的,还是要不断深入了解Thrift。这回了解一下服务端的TServer首先在命名空间Thrift.Server下,有3种Server首先TSimpleServer,就是单线程的服务,每次同时只能处理一个连接,意思就是不支持并发...
分类:Web程序   时间:2014-11-25 18:30:17    阅读次数:247
.net Thrift 之旅 (一) Windows 安装及 HelloWorld
1.下载Thrift http://apache.fayea.com/apache-mirror/thrift/0.9.2/thrift-0.9.2.tar.gz2.下载编译器并解压 http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.2/.....
分类:Windows程序   时间:2014-11-25 12:39:36    阅读次数:230
Using load balance for thrift servers
Software load balance .Nginx(http://nginx.org)1.Install nginx download source code from http://nginx.org/en/download.html./auto/configuremake & make ....
分类:其他好文   时间:2014-11-25 10:34:40    阅读次数:195
thrift 调取 python php go 客户端代码
golangpackage mainimport ( "fmt" "git.apache.org/thrift.git/lib/go/thrift" "net" "thriftproxy" "time")type ThriftClient struct { cli...
分类:编程语言   时间:2014-11-24 16:39:38    阅读次数:305
thrift服务端到客户端开发简单示例
(1)首先我们在服务器端写个helloworld.thrift文件,如下所示:service HelloWorld{ string ping(1: string name), string getpng(), }(2)在服务器端编译helloworld.thrift编译hellowo...
分类:其他好文   时间:2014-11-24 16:38:13    阅读次数:153
protobuf入门
protobuf全称Protocol Buffers,是google推出的一种高效,快捷的数据交换格式,和XML,Thrift一样,都是一种数据交换协议(当然thrift还提供rpc的功能)。protobuf相对与xml结构化的文本数据格式,它是一种二进制的数据格式,具有更高的传输,打包和解包效率,这也是为什么protobuf很受欢迎的原因。 protobuf通过自己的编译器,对协议文件进行...
分类:其他好文   时间:2014-11-24 06:33:46    阅读次数:354
thrift 安装介绍
一、About thrift thrift是一种可伸缩的跨语言服务的发展软件框架。它结合了功能强大的软件堆栈的代码生成引擎,以建设服务,工作效率和无缝地与C + +,C#,Java,Python和PHP和Ruby结合。thrift是facebook开发的,我们现在把它作为开源软件使用。thrift允...
分类:其他好文   时间:2014-11-23 17:20:23    阅读次数:224
Avro、protobuf、thrift
Thrift:Thrift英[θr?ft]美[θr?ft]是Facebook的一个开源项目。用来进行可扩展且跨语言的服务的开发。它结合了功能强大的软件堆栈和代码生成引擎,以构建在 C++, Java, Python, JavaScript, Node.js...这些编程语言间无缝结合的、高效的服务它...
分类:其他好文   时间:2014-11-22 22:50:14    阅读次数:1608
650条   上一页 1 ... 55 56 57 58 59 ... 65 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!