Last night I'd discovered that Charlie couldn't cook much besides friedeggs and bacon. 昨天晚上我终于发现查理除了煎蛋和熏肉什么也不会做。 So I requested that I be assigned kit ...
                            
                            
                                分类:
其他好文   时间:
2016-10-26 06:50:13   
                                阅读次数:
151
                             
                         
                    
                        
                            
                            
                                这是关于使用微服务架构创建应用系列的第四篇文章。第一篇介绍了微服务架构的模式,讨论了使用微服务架构的优缺点。第二和第三篇描述了微服务架构内部的通讯机制。这篇文章中,我们将会探讨服务发现相关问题。 为什么要使用服务发现? 设想一下,我们正在写代码使用了提供REST API或者Thrift API的服务 ...
                            
                            
                                分类:
其他好文   时间:
2016-10-23 17:13:04   
                                阅读次数:
231
                             
                         
                    
                        
                            
                            
                                1、从thrift源码中拷贝go语言包(thrift\lib\go\thrift),放到go/src/下 2、新建go项目,实现server端服务接口 package main import ( "fmt" "os" "taochees" "thrift" "strconv" ) type Test ...
                            
                            
                                分类:
其他好文   时间:
2016-10-19 13:30:53   
                                阅读次数:
180
                             
                         
                    
                        
                            
                            
                                系统环境:
chunli@linux~/t/gen-cpp>lsb_release-a
NoLSBmodulesareavailable.
DistributorID:	Ubuntu
Description:	Ubuntu14.04.3LTS
Release:	14.04
Codename:	trusty
chunli@linux~/t/gen-cpp>git:https://github.com/li-chunli/thrift_studythrift官网:	http://thrif..
                            
                            
                                分类:
系统相关   时间:
2016-10-17 00:49:08   
                                阅读次数:
746
                             
                         
                    
                        
                            
                            
                                本文借鉴自http://www.jianshu.com/p/0f4113d6ec4b(下面称简书教程)首先上官网下载代码https://thrift.apache.org/download下载源码thrift-0.9.3.tar.gz解压之后放在路径C:\thrift-0.9.3\thrift-0.9.3并下载windows执行版thrift-0.9.3.exe放在路径C:\thrift-0.9.3下下载apach..
                            
                            
                                分类:
Windows程序   时间:
2016-10-14 00:49:47   
                                阅读次数:
2209
                             
                         
                    
                        
                            
                            
                                可以借鉴以下两个页面: http://blog.csdn.net/poechant/article/details/6618264 Thrift使用入门(1) - Thrift概述及其安装 http://www.ibm.com/developerworks/cn/java/j-lo-apacheth ...
                            
                            
                                分类:
其他好文   时间:
2016-10-10 02:00:23   
                                阅读次数:
149
                             
                         
                    
                        
                            
                            
                                    http://blog.csdn.net/we_shell/article/details/49819221 Jar的maven配置 <dependency><groupId>org.apache.thrift</groupId><artifactId>libthrift</artifactId>< ...
                            
                            
                                分类:
编程语言   时间:
2016-10-04 21:13:29   
                                阅读次数:
200
                             
                         
                    
                        
                            
                            
                                    (一)简介 processor层主要负责通过客户端请求的接口名,选择特定的方法对客户端请求进行处理。 是协议层和用户提供的服务实现之间的纽带定义了调用服务实现的接口框架。 (二)结构 TProcessor、TDispatchProcessor为thrift类,为服务分配提供基类;在TDispatch ...
                            
                            
                                分类:
其他好文   时间:
2016-09-21 01:45:59   
                                阅读次数:
233
                             
                         
                    
                        
                            
                            
                                    hiveserver2的端口是10000hive.metastoe.uris 的端口9083改为10000之后 beelien 连接hiveserver2报错 Error: Could not open client transport with JDBC Uri: jdbc:hive2://172 ...
                            
                            
                                分类:
Web程序   时间:
2016-09-19 17:48:08   
                                阅读次数:
838
                             
                         
                    
                        
                            
                            
                                    我们以hello world来大概分析一下golang中的thrift包,并且扒一扒网络上有关thrift的一些坑 查看源码,服务器定义如下:(详见simple_server.go文件) 在go语言中,创建一个thrift服务器有三种方法:(详见simple_server.go文件) 这三个函数分别 ...
                            
                            
                                分类:
其他好文   时间:
2016-09-12 17:12:48   
                                阅读次数:
283