上一页 1 ··· 106 107 108 109 110 111 112 113 114 ··· 132 下一页

2018年6月23日

TimescaleDB 简单试用

摘要: TimescaleDB 是一个对于pg进行了改造的时序数据库 安装测试使用docker 安装&&运行 docker run -d --name timescaledb -p 5432:5432 timescale/timescaledb or 集成postgis docker run -d --na 阅读全文

posted @ 2018-06-23 22:34 荣锋亮 阅读(11121) 评论(0) 推荐(1)

2018年6月22日

celery docker 基本使用

摘要: 项目参考官网资料,比较简单的add task 具体代码参考https://github.com/rongfengliang/celery-docker-demo 项目结构 ├── README.md ├── client.py ├── docker-compose.yml ├── dockerfil 阅读全文

posted @ 2018-06-22 15:21 荣锋亮 阅读(750) 评论(1) 推荐(0)

2018年6月20日

memsql filesystem pipeline 试用

摘要: 一些功能类似drill ,比如s3,file 。。。 创建file pipeline 准备file mkdir -p /opt/db/ touch books.txt 内容如下: The Catcher in the Rye, J.D. Salinger, 1945 Pride and Prejud 阅读全文

posted @ 2018-06-20 11:18 荣锋亮 阅读(419) 评论(0) 推荐(0)

memsql 多节点部署

摘要: 以前部署使用的是docker,这个测试使用的是阿里云的机器 没有使用企业版,使用的是开发版,为一个master 多个Leaf 机器列表 172.31.128.165 172.31.128.166 172.31.128.167 172.31.128.168 下载软件包 wget http://down 阅读全文

posted @ 2018-06-20 09:49 荣锋亮 阅读(668) 评论(0) 推荐(0)

2018年6月19日

minio 集群搭建

摘要: 具体实际的取舍可以参考官方文档,我使用的是4 node 4 driver 模式 环境机器说明 192.168.31.2 192.168.31.3 192.168.31.4 192.168.31.5 每台机器单独挂在4块盘 data1 data2 data3 data4 minio 安装包参考gith 阅读全文

posted @ 2018-06-19 10:05 荣锋亮 阅读(12996) 评论(0) 推荐(0)

2018年6月18日

几个基于jvm 的微服务框架

摘要: 一个简单的整理,留待深入学习 micronaut http://micronaut.io/ sparkjava http://saprkjava.com spring cloud http://projects.spring.io/spring-cloud/ javalin https://java 阅读全文

posted @ 2018-06-18 21:51 荣锋亮 阅读(338) 评论(0) 推荐(0)

使用docker 部署graylog集群

摘要: graylog 相比elk 有比较简单的方面,使用简单,配置简单,可视化工具是一体化的,比较方便 搭建使用docker,多主机部分,结合docker-compose 进行管理 具体docker 配置文件参考 http://docs.graylog.org/en/latest/pages/instal 阅读全文

posted @ 2018-06-18 09:14 荣锋亮 阅读(1286) 评论(0) 推荐(0)

2018年6月15日

nginx-vod-module && docker && docker-compose 测试

摘要: nginx-vod-module appdemo i reference [nginx-vod-module-docker](https://github.com/NYTimes/nginx-vod-module-docker) && build with docker && docker-comp 阅读全文

posted @ 2018-06-15 15:24 荣锋亮 阅读(1065) 评论(0) 推荐(0)

使用nginx-vod-module hls &&dash &&Thumbnail 处理

摘要: 备注: 以前写过使用ffmpeg 转换为m3u8进行hls 视频处理,实际上有一个开源的很强大的工具,我们基本不用什么代码就可以实现hls、 dash、Thumbnail ,很强大 安装 使用源码编译 参考 https://github.com/kaltura/nginx-vod-module ./ 阅读全文

posted @ 2018-06-15 11:09 荣锋亮 阅读(1523) 评论(0) 推荐(0)

2018年6月12日

nats 学习 集群ha 配置

摘要: nats 的ha 是一个mesh 的结构,有两个主要的参数 clusters routers 启动三分节点(单机) 共享变量 SERVERS=nats://127.0.0.1:6222,nats://127.0.0.1:6223,nats://127.0.0.1:6224 node a 开启了监控 阅读全文

posted @ 2018-06-12 09:06 荣锋亮 阅读(927) 评论(0) 推荐(0)

2018年6月11日

yarn import 使用package-lock.json

摘要: yarn 1.7(目前最新的版本)支持npm 的package-lock.json 了 环境准备 安装更新yarn sudo npm install -g yarn 查看版本 yarn version npm基本项目初始化 npm 项目初始化 npm install -y npm install s 阅读全文

posted @ 2018-06-11 15:22 荣锋亮 阅读(822) 评论(1) 推荐(1)

nats 学习 request/reply 模式基本使用

摘要: nats 一个云原生的消息系统,使用简单,客户端丰富,支持的模式是pub/sub 但是集成比较灵活,可以支持loadblance, request/reply pub/sub 代码演示的是request (类似rabbitmq 的rpc) 基本代码 需要首先安装并启动nats(比较简单) reque 阅读全文

posted @ 2018-06-11 14:38 荣锋亮 阅读(3995) 评论(0) 推荐(0)

2018年6月8日

便捷的Jenkins jswidgets

摘要: 很多时候我们在构建完成之后需要查看构建的状态,类似github 中的build Status 插件安装 搜索插件 使用 目前好像只支持自由项目的构建 代码集成 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta n 阅读全文

posted @ 2018-06-08 13:15 荣锋亮 阅读(203) 评论(0) 推荐(0)

2018年6月7日

deno学习二 基本代码

摘要: deno 介绍是安全的ts 运行时 简单的代码 使用js(app.js) console.log("demoapp") 输出 dalongdemo 使用ts(app.ts) console.log("demoapp") 输出 dalongdemo 导入模块 代码目录结构 ├── rong.js └─ 阅读全文

posted @ 2018-06-07 22:01 荣锋亮 阅读(725) 评论(0) 推荐(0)

deno学习一 安装试用&&几个问题解决

摘要: 基本的依赖可以参考github 我的环境是centos 7 基本安装 需要golang 以及yarn安装 Protobuf 3 这是官方的方式,实际可以变通下 cd ~ wget https://github.com/google/protobuf/releases/download/v3.1.0/ 阅读全文

posted @ 2018-06-07 16:52 荣锋亮 阅读(2040) 评论(0) 推荐(0)

2018年6月6日

graphql 文档 docker 镜像

摘要: 因为一些原因 graphql 的官方文档无法查看,后者查看不能是方便,所以在官方github 的文档基础上添加了容器构建, 方便进行查看,对于公司内部使用学习会比较好 原理 很简单,openresty + docker + docker-compose 参考项目地址 https://github.c 阅读全文

posted @ 2018-06-06 13:28 荣锋亮 阅读(285) 评论(0) 推荐(0)

2018年6月5日

office web app server 文件预览部署&& wopi 集成使用

摘要: 对于需要进行office 套件文档预览的时候大部分大家使用的是插件,或者类似的,解决方案,微软已经为我们提供了比较好的解决 方案 office web app server (目前名称是office online server) 部署安装 我安装使用的是windows server 2012 r2 阅读全文

posted @ 2018-06-05 11:06 荣锋亮 阅读(805) 评论(0) 推荐(0)

2018年6月4日

chaos-engineering 的一些开源工具

摘要: Chaos Monkey - A resiliency tool that helps applications tolerate random instance failures. The Simian Army - A suite of tools for keeping your cloud 阅读全文

posted @ 2018-06-04 09:25 荣锋亮 阅读(2624) 评论(1) 推荐(0)

2018年6月2日

ballerina 学习二十五 项目docker 部署&& 运行

摘要: ballerina 官方提供了docker 的runtime,还是比较方便的 基本项目创建 使用cli创建项目 按照提示操作就行 ballerina init -i 项目结构 添加了dockerfile 以及docker-compose 简单http 服务 ├── Ballerina.toml ├─ 阅读全文

posted @ 2018-06-02 22:27 荣锋亮 阅读(320) 评论(0) 推荐(0)

ballerina 学习二十四 监控ballerina

摘要: ballerina 服务的监控还是比较方便的,以及集成了Prometheus Grafana Jaeger Elastic Stack 监控服务监控的集成 主要包含以下几个步骤 a. 安装docker Prometheus Grafana Jaeger Elastic Stack b. 创建简单ba 阅读全文

posted @ 2018-06-02 20:57 荣锋亮 阅读(265) 评论(0) 推荐(0)

ballerina 学习二十三 扩展ballerina

摘要: 扩展ballerina 目前有三种方式: 扩展client connector的包 (数据库访问,基础设施,api) 扩展server listenner 绑定为不同的协议 添加新的注解到ballerina 源码进行编译并修改运行软件包 创建client connector client conne 阅读全文

posted @ 2018-06-02 20:56 荣锋亮 阅读(262) 评论(0) 推荐(0)

2018年6月1日

ballerina 学习二十二 弹性服务

摘要: 主要包含断路器模式,负载均衡模式,故障转移,重试 Circuit Breaker 参考代码 import ballerina/http; import ballerina/log; import ballerina/runtime; endpoint http:Client backendClien 阅读全文

posted @ 2018-06-01 22:12 荣锋亮 阅读(224) 评论(0) 推荐(0)

ballerina 学习二十一 http2

摘要: ballerina 支持http2 协议,包含server push http2 协议 参考代码 import ballerina/http; import ballerina/log;endpoint http:Client http2serviceClientEP { url: "http:// 阅读全文

posted @ 2018-06-01 21:52 荣锋亮 阅读(182) 评论(0) 推荐(0)

ballerina 学习二十 http/https

摘要: 提供http && https server && client 访问功能 client endpoint 说白了就是http client 参考代码 import ballerina/http; import ballerina/log;endpoint http:Client clientEnd 阅读全文

posted @ 2018-06-01 21:51 荣锋亮 阅读(266) 评论(0) 推荐(0)

ballerina 学习十九 安全编程

摘要: ballerina 内部提供了几种常用的安全开发模型,token 认证(jwt) basic auth jwt 安全 参考代码 import ballerina/http; http:AuthProvider jwtAuthProvider = { scheme:"jwt", issuer:"bal 阅读全文

posted @ 2018-06-01 16:20 荣锋亮 阅读(239) 评论(0) 推荐(0)

ballerina 学习十八 事务编程

摘要: 事务在分布式开发,以及微服务开发中是比较重要的 ballerina 支持 本地事务、xa 事务、分布式事务 ,但是具体的服务实现起来需要按照ballerian 的事务模型 infection agreement 基本事务使用(本地事务) 参考代码(数据库) import ballerina/mysq 阅读全文

posted @ 2018-06-01 13:51 荣锋亮 阅读(304) 评论(0) 推荐(0)

2018年5月31日

ballerina 学习十七 多线程编程

摘要: 并发&&多线程开发对于日常的处理是比较重要的,ballerina 支持的模式有work fork/join async lock 基本workers 参考代码 import ballerina/io; function main(string… args) { worker first { io:p 阅读全文

posted @ 2018-05-31 09:40 荣锋亮 阅读(276) 评论(0) 推荐(0)

2018年5月28日

nexus helm proxy 集成&&问题解决

摘要: 对于使用kubernetes 进行开发的人员来说helm是很方便的 构建nexus helm plugin git clone https://github.com/sonatype-nexus-community/nexus-repository-helm.git mvn clean packag 阅读全文

posted @ 2018-05-28 19:59 荣锋亮 阅读(1566) 评论(0) 推荐(0)

nexus yum 私服集成

摘要: nexus 集成了 yum 私服使用起来还是比较简单的 配置 yum proxy 实际使用我们可能需要配置centos 以及epel 的源 centos可以用http://mirror.centos.org/centos/ epel 用http://mirrors.aliyun.com/epel/ 阅读全文

posted @ 2018-05-28 14:35 荣锋亮 阅读(2660) 评论(0) 推荐(0)

nexus bower 集成使用

摘要: 创建nexus bower proxy host 比较简单,如下图: 安装bower && bower-nexus resolver npm install -g bower-nexus3-resolver or npm install bower-nexus3-resolver --dev npm 阅读全文

posted @ 2018-05-28 14:13 荣锋亮 阅读(482) 评论(0) 推荐(0)

nexus docker 私有镜像处理

摘要: 新版本的nexus 可以进行docker 镜像的存储处理 配置私有镜像(host 模式) 修改docker 非安全镜像处理 { "registry-mirrors": ["http://099430a4.m.daocloud.io"], "insecure-registries":["hostip: 阅读全文

posted @ 2018-05-28 10:52 荣锋亮 阅读(375) 评论(0) 推荐(0)

nexus 使用Raw Repositories 进行maven site 发布

摘要: 实际项目中我们可能需要进行maven 项目的site 文档发布,一般的处理是生成之后,然后在进行发布到一个静态 服务器进行页面访问,nexus3 提供了一个Raw Repositories 很方便可以直接帮我们搞定问题 创建Raw Repositories 我选择了s3 minio 做为存储,实际上 阅读全文

posted @ 2018-05-28 09:41 荣锋亮 阅读(2665) 评论(0) 推荐(0)

2018年5月26日

nexus && minio s3 存储私有镜像

摘要: 对于新版本的nexus 已经支持s3 存储了(3.12),但是企业内部可能还是需要使用私有部署的 还好我们有minio,具体的介绍就不说了 minio 项目运行 参考项目: https://github.com/rongfengliang/mino-thumbor-openresty 尽管里面的功能 阅读全文

posted @ 2018-05-26 22:02 荣锋亮 阅读(2304) 评论(0) 推荐(0)

2018年5月21日

spring boot 使用spring.resources.static-locations 分离系统模版&&资源文件

摘要: 方便我们将资源配置以及模版&&静态文件分离出来,而不是打包在一起,比如以下的一个demo 参考配置: server.port=8006 spring.application.name=appdemo spring.resources.static-locations=pdf spring.resou 阅读全文

posted @ 2018-05-21 22:21 荣锋亮 阅读(2036) 评论(0) 推荐(0)

Tencent Server Web 安装试用

摘要: Tencent Server Web 安装试用 私有环境搭建,使用docker-compose 进行memcache 安装 参考github 代码 https://github.com/rongfengliang/tsw-docker-compose 启动&&运行 docker-compose 运行 阅读全文

posted @ 2018-05-21 10:30 荣锋亮 阅读(280) 评论(0) 推荐(0)

docker could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network

摘要: 原因: 无法进行网络分配了 解决方法: // 所有的网络 docker network ls // 删除不用的,腾出多余的 docker network rm <networkname> 阅读全文

posted @ 2018-05-21 09:54 荣锋亮 阅读(2073) 评论(0) 推荐(0)

Tencent Server Web(TSW) 腾讯开源的nodejs 基础设施

摘要: Tencent Server Web(TSW),是一套面向WEB前端开发者,以提升问题定位效率为初衷,提供染色抓包、全息日志和异常发现的Node.js基础设施。TSW关注业务的运维监控能力,适用于http、websocket协议的业务场景,可无缝与即有项目进行整合。支持公有云、私有云和本地部署。 染 阅读全文

posted @ 2018-05-21 09:07 荣锋亮 阅读(1691) 评论(0) 推荐(0)

2018年5月20日

Stream Processing 101: From SQL to Streaming SQL in 10 Minutes

摘要: 原文:https://wso2.com/library/articles/2018/02/stream-processing-101-from-sql-to-streaming-sql-in-ten-minutes/ We have entered an era where competitive 阅读全文

posted @ 2018-05-20 23:06 荣锋亮 阅读(408) 评论(0) 推荐(0)

13 Stream Processing Patterns for building Streaming and Realtime Applications

摘要: 原文:https://iwringer.wordpress.com/2015/08/03/patterns-for-streaming-realtime-analytics/ Introduction More and more use cases, we want to react to data 阅读全文

posted @ 2018-05-20 23:04 荣锋亮 阅读(308) 评论(0) 推荐(0)

Siddhi cep java 集成简单使用

摘要: Siddhi 是一个开源的cep (Complex Event Processing)类库,有一个明显的例子是uber 的事件处理,具体可以google 几张参考cep 以及siddhi 图 java 集成使用(使用maven) 代码 maven <?xml version="1.0" encodi 阅读全文

posted @ 2018-05-20 22:37 荣锋亮 阅读(2334) 评论(0) 推荐(0)

上一页 1 ··· 106 107 108 109 110 111 112 113 114 ··· 132 下一页

导航