Giter VIP home page Giter VIP logo

swift-sample's Introduction

swift-sample

集成了thrify,nifty,zookeeper,实现了一个最小核心的RPC调用模型 主要参考了slimina的大作,不过他是基于原生的thriftserver来访问的,另外通过apache pool实现了 客户端的访问连接池。我使用nifty分别对客户端,服务器进行了替换。

  • interface-rpc 接口定义,常用的业务定义。声明一下,源代码是基于thrift的源文件生成。细心的同学会说,thrift的文件是如何生成的呢? 看下这个图 开发流程

目前只是一个初级版本,还得继续完善。接下来首先会在自动生成thrift的idl文件上进行优化。

swift-sample's People

Contributors

igool avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.