Giter VIP home page Giter VIP logo

coral's Introduction

coral

dubbo分布式开发架构

##coral-api

  • 接口声明,依赖coral-entity

##coral-core

  • 第三方jar包与工具类

##coral-entity

  • 实体类与model

##coral-servers

  • 提供者,依赖coral-api与coral-core

##coral-web

  • 消费者,依赖coral-api与coral-core

##启动顺序:

  • 本机先安装github的客户端,配好环境变量

  • 安装zookeeper,下载路径http://hadoop.apache.org/zookeeper/

  • 解压后修改conf文件夹下面的zoo_simple.cfg为zoo.cfg,里面的配置参考如下:

    tickTime=2000
    
    initLimit=10
    
    syncLimit=5
    
    dataDir=安装目录/data
    
    dataLogDir=安装目录/log
    
    clientPort=2181
    
    server.1=localhost:2287:3387
    
  • 启用zookeeper

  • 把服务提供方跑起来,成功后使用 ls /命令会发现zk里多出了一个dubbo的节点,所有服务全注册在这里了

  • 运行服务消费方调用测试

  • 浏览器访问 http://localhost:8888/user/insert

  • dubbo管理界面:dubbo-admin,使用alibaba自带的

  • dubbo-monitor项目用于性能监控,使用韩都的项目

  • 以上不懂,自行百度

coral's People

Contributors

dingdongliang avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.