Skip to content

longcongduoi/adbase

 
 

Repository files navigation

adbase - Weibo ad C++ framework

Copyright (c) 2009-2017, Weiboad.

https://github.com/weiboad/adbase

    _     ____   ____      _     ____   _____ 
   / \   |  _ \ | __ )    / \   / ___| | ____|
  / _ \  | | | ||  _ \   / _ \  \___ \ |  _|  
 / ___ \ | |_| || |_) | / ___ \  ___) || |___ 
/_/   \_\|____/ |____/ /_/   \_\|____/ |_____|

Gitter Build Status Build status GitHub issues GitHub forks GitHub stars GitHub license

English

Adbase

Adbase is based on C++11 development of the rapid construction of micro-service high-performance framework. By the configuration analysis, the basic tool library, network library, Http Server, Memcache Server, Adhead Server, log, measurement tools in the development of micro-service process commonly used modules. Adbase in addition to its own definition of the Adhead RPC protocol, but also supports Memcache, Http and other commonly used RPC protocol, easy to integrate between the modules to enhance the development efficiency of developers.

Adbase Seed

Adbase in the early development of the principle has been followed by how to make C++ developers simple and fast back-end services. The focus is on both quality of service and development efficiency. So Adbase in the development of the basic function module after the development of a project code generation module, that is, Adbase Seed. For developers who just want to use Adbase base components, the Adbase Seed section can be skipped, but it is recommended to read this section because the code generated by Adbase Seed can also provide a reference for later customizing Adbase. Seed is through the daily project practice will be frequently developed micro-service function abstraction, will often use modules such as RPC services, message queues, Timer timer abstract extraction, developers in the development of a new project only need to own projects Requirement to configure the module to generate project skeleton code. Developers focus on business needs can be, do not care about the implementation of common modules such as RPC and project construction and deployment issues. Enhance the development efficiency of developers, and reduce the threshold for entry-level C++ development.

characteristic

  • Fast development, easy to use

  • High performance, multi-protocol RPC network module

  • Perfect measurement tool library

  • Log library support

  • Supports fast generation of skeleton code

  • Message Queue Extensions support

  • Timer

  • Compatible with Linux 32bit 64bit platform

Based on Adbase development examples

Develop wiki

Develop wiki

Development manual

Development manual

Chinese

Adbase

Adbase 是基于 C++11 开发的快速构建微服务高性能框架。由配置解析、基础工具库、网络库、Http Server、Memcache Server、Adhead Server、日志、度量工具等在开发微服务过程中常用的模块组成。Adbase 除了实现了自身定义的 Adhead RPC 协议外,还支持 Memcache、Http 等常用的 RPC 协议, 便于模块间的集成提升开发人员的开发效率。

Adbase Seed

Adbase 在开发初期的一直遵循的原则就是如何使 C++ 开发人员简单、快速的后端服务。重点是兼顾服务质量与开发效率。所以 Adbase 在开发完成基础功能模块后开发了一个项目代码生成模块, 即 Adbase Seed。对于仅仅想使用 Adbase 基础组件的开发人员来说关于 Adbase Seed 部分可以跳过,不过建议阅读这部分,因为通过 Adbase Seed 生成的代码也可以为后面自定义使用 Adbase 提供参考。Seed 是通过日常项目实践将经常开发的微服务进行功能抽象,将常使用的模块如 RPC 服务、消息队列、Timer 定时器进行抽象提取,开发人员在开发一个新的项目时仅需要根据自己项目的需求进行配置上述模块即可生成项目骨架代码。开发人员重点关注业务需求即可,无需关心 RPC 等通用模块的实现以及项目构建部署等问题。提升开发人员的开发效率,并且对于降低入门 C++ 开发的门槛。

特性

  • 快速开发、简单易用
  • 高性能、多协议RPC 网络模块
  • 完善的度量工具库
  • 日志库支持
  • 支持快速生成骨架代码
  • 消息队列扩展支持
  • Timer 定时器
  • 兼容 Linux 32bit 64bit 平台

基于 Adbase 开发样例

开发 Wiki

开发Wiki

开发手册

开发手册

About

WeiboAd Team Base C++ framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 82.6%
  • C 11.8%
  • HTML 2.4%
  • CMake 1.6%
  • PHP 0.7%
  • Lua 0.6%
  • Shell 0.3%