1. Spark Streaming入门 1. 概述 Spark Streaming is an extension of the core Spark API that enables scalable(Spark Streaming是基于Spark Core的扩展) high throughpu ...
分类:
其他好文 时间:
2018-09-20 00:55:58
阅读次数:
232
Overview JNI (Java Native Interface) is the mechanism that enables Java code to call native functions, and native code to call Java functions. Native ...
分类:
移动开发 时间:
2018-09-18 22:41:47
阅读次数:
326
1.mac下vim全局配置目录 /usr/share/vim/vimrc 一般不对此文件做修改,在用户目录下创建自定义配置,目录为: /Users/xxxxx cd ~ 2自定义vim配置 配置功能: 高亮+自动缩进+行号+折叠+优化 配置内容为: 3.开源配置 dotfiles ...
分类:
系统相关 时间:
2018-09-15 18:47:44
阅读次数:
205
设置爬取间隔 setting.py ps:此次的爬取间隔,在读取seeting文件确定,并非每次随机 禁用缓存 ps: enabled,enables就不纠结哪个对了,全写 设置随机访问头 setting.py加入头列表,并启用中间件 middlewares.py加入设置随机头 ...
分类:
其他好文 时间:
2018-09-10 18:04:33
阅读次数:
213
使用多线程提高REST服务性能 异步处理REST服务,提高服务器吞吐量 使用Runnable异步处理Rest服务 AsyncController.java 使用DeferredResult异步处理Rest服务 应用1/线程1:接收下单请求,放到消息队列 应用1/线程2:监听器,监听消息队列是否有下单 ...
分类:
编程语言 时间:
2018-09-04 23:30:08
阅读次数:
192
<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://m ...
分类:
系统相关 时间:
2018-08-27 10:26:09
阅读次数:
240
Here is diffuse cone tracing code. ...
分类:
其他好文 时间:
2018-08-22 15:00:02
阅读次数:
222
第1章 MongoDB的简介及部署 1.1 数据库管理系统 1、什么是数据? 数据是指对客观时间进行记录并可以鉴别的符号,是对客观事物的性质,状态以及相互关系等进行记载的物理符号或这些物理符号的组合。它是可识别的、抽象的符号。 2、什么是数据库管理系统? 数据库管理系统 是一种针对对象数据库,为管理 ...
分类:
数据库 时间:
2018-08-21 13:58:49
阅读次数:
249
本章将带你通过一个Struts2应用程序所需的基本配置。在这里,我们将看到在一些重要的配置文件,将配置文件:web.xml ,struts.xml,struts-config.xml和struts.properties 使用web.xml和struts.xml的配置文件,并在前面的章节中,已经看到我 ...
分类:
其他好文 时间:
2018-08-19 20:05:04
阅读次数:
168
Maid enables you to write your tasks in Markdown. Create a maidfile.md or a README.mdthen add Headers to list out your tasks with codeblocks including ...
分类:
其他好文 时间:
2018-08-18 23:43:53
阅读次数:
356