Coder Social home page Coder Social logo

zhaoyaogit / dsf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yaocoder/simple_microservices_framework

0.0 1.0 0.0 43 KB

基于C++语言实现的一个简单分布式服务框架示例,包括一个逻辑分发服务实现(类似于Nginx),一个逻辑应用实现

Makefile 0.78% C++ 99.22%

dsf's Introduction

DSF(Distributed service framework)

目标: 基于C++语言实现的一个简单分布式服务框架示例,包括一个逻辑分发服务实现(类似于Nginx),一个逻辑应用实现

简介:

  • 逻辑分发进程logicDispatch的功能类似于Nginx,作为网络接入层,会把相应的网络请求转发至多个相应的逻辑处理服务logicXX。

  • 逻辑分发进程和逻辑处理进程之间采用TCP长连接进行通讯,逻辑处理进程主动连接逻辑分发进程。

  • 处理了很多细节,比如自动重连功能,消息的幂等性考虑等等。

  • 支持平台: x86-64 linux

  • 开发语言: C++

  • 开发平台: CentOS release 6.3

  • linux内核版本: 2.6.32-279.el6.x86_64

  • gcc 版本: 4.4.6

  • libevent版本: 2.0.21

参考文章

dsf's People

Contributors

yaocoder avatar

Watchers

James Cloos 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.