分类 技术文章 中的文章

maven模块划分之部署深入

时机 在代码之路上快快慢慢几个春秋之后,多多少少都会经历一些框架的更迭。多数都是好用替代繁琐,新技术替换老技术。此刻,正是刚刚好的时机,来深入maven模块合理感谢华哥,受益匪浅的一课。 技术框架时间线 jsp+servlet……

阅读全文

springboot集成dubbo

pom.xml中加入springboot的dubbo启动依赖 <dependency> <groupId>io.dubbo.springboot</groupId> <artifactId>spring-boot-starter-dubbo</artifactId> <version>1.0.0</version> </dependency> 加入dubbo的依赖接口jar包或者java文件 可以以jar包的方式引入,也可以用java文件来引入该dubbo的interfac……

阅读全文

springboot多数据源mybatis版

springboot多数据源 在项目中,一个程序可能需要连接多个数据源,来操作数据,所以需要多数据源的支持。 加入mybatis的springboot依赖 <!-- mybatis启动 --> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.3.1</version> </dependency> <!-- mybatis pagehel……

阅读全文

dubbo分布式服务框架剖析

Dubbo定位图 首先,要知道dubbo是处于mvc中的model层,将传统的单应用分解成分布式服务的架构。 Dubbo架构设计图 Dubbo注册中心 其中的注册中心,有3种实现,zookeeper,redi……

阅读全文

新技术重点-commonjs,es6,react

commonjs 百度百科: CommonJS API定义很多普通应用程序(主要指非浏览器的应用)使用的API,从而填补了这个空白。它的终极目标是提供一个类似Python,Ruby和Java标 准库。 自己的理解: 有点像Java的jdk,……

阅读全文

基于solr的全文检索解决方案

思路 在一堆数据中,给其建立全文索引,然后通过查询关键字,获取匹配的数据显示到界面条目。 基于solr的全文检索搭建 solr所处位置 Apache提供了全文检索引擎lucene,现已发展到6.2.X的版本。……

阅读全文

mac上使用apache,http服务器

安装Apache服务器 对于mac osx的系统,一般会预装好apache的httpd服务器的。 所以只需要使用启动和停止命令来操作。 如果没有安装httpd服务器,可以使用 yum install httpd来安装(在cento……

阅读全文

alisql的my.cnf

[mysqld] socket = /tmp/mysql.sock datadir = /usr/local/mysql/data tmpdir = /tmp port = 3030 back_log = 3000 character_set_server = utf8 max_connect_errors = 100 max_connections = 650 max_user_connections = 650 max_heap_table_size = 64M max_allowed_packet = 1024M max_binlog_size = 500M thread_stack = 256K interactive_timeout = 7200 wait_timeout = 86400 sort_buffer_size = 704KB read_buffer_size = 704KB read_rnd_buffer_size = 352KB join_buffer_size = 352KB net_buffer_length = 16K thread_cache_size = 100 ft_min_word_len = 4 transaction_isolation = READ-COMMITTED tmp_table_size = 2097152 table_open_cache = 2000 skip_name_resolve core-file lower_case_table_names = 1 log_bin_trust_function_creators = 1 log-bin = /usr/local/mysql/data/mysql-bin.log log-bin-index = /usr/local/mysql/data/master-log-bin.index log-error = /usr/local/mysql/data/master-error.log relay-log = /usr/local/mysql/data/slave-relay.log relay-log-info-file = /usr/local/mysql/data/slave-relay-log.info relay-log-index……

阅读全文