Brief Introduction to spring Framework
Spring is a layered JavaSE/EE full-stack (one-stop) lightweight open source framework. It was created to address the complexity of enterprise application development. One of the main advantages of the framework is its layered architecture, which allows you to choose which component to use, while providing an integrated framework for J2EE appli ...
Added by thedon on Thu, 27 Jun 2019 00:50:58 +0300
RDD blood relationship source code details!
I. Dependency of RDD
RDD dependencies fall into two categories: wide dependencies and narrow dependencies. We can think of it as follows:
(1) Narrow dependencies: The partition of each parent RDD is used by at most one partition of the child RDD.
(2) Wide dependency: Each parent RDD partition is used by multiple child RDD partitions.
Narrow ...
Added by infomamun on Wed, 26 Jun 2019 23:38:31 +0300
solr (1): introduction and configuration
I. Brief Introduction1.1. What is solr?Solr is a top-level open source project under Apache, developed in Java, and is a full-text search server based on Lucene. Solr provides a richer query language than Lucene, implements configurability and scalability, and optimizes index and search performance.Solr is a full-text retrieval server, which on ...
Added by apitto on Wed, 26 Jun 2019 03:19:54 +0300
Installation and Configuration of LAMP
9.1. Combination of PHP and httpdCommon PHP open source software: Forum: phpwind, discuz, phpbb Blog System: wordpress Portal site: drupal, xooms Database: phpMyAdmin, Workbench, MySQL Front, Navicat for MySQL, Toad CMS (Content Management System) Content Management System: Drupal, joomlaThe combination of PHP and ...
Added by fatherlyons on Tue, 25 Jun 2019 00:20:30 +0300
Use and Analysis of [Curator] Node Cache
Node Cache
Use node data as local cache.This class can listen on the nodes, handle the addition and deletion of nodes, data synchronization, and so on.
You can also register custom listeners to control these data movement operations in more detail.
1. Key API s
org.apache.curator.framework.recipes.cache.NodeCache
org.apache.curator.framework.re ...
Added by chuckwgn on Sun, 23 Jun 2019 19:48:33 +0300
Configure Log4j (very detailed)
[From http://www.blogjava.net/zJun/archive/2006/06/28/55511.html]
Log4J's Configuration File is used to set the level, register and layout of the recorder. It can receive key=value format settings or xml format settings. By configuring, you can create the running environment of Log4J.
configuration file
The basic format of Log4J configurat ...
Added by drayarms on Fri, 21 Jun 2019 23:40:35 +0300
ActiveMQ Based on zookeeper Cluster
Implementation with zookeeper
It is an effective solution for high availability of ActiveMQ. The principle of high availability is to register all ActiveMQ Broker s using ZooKeeper (cluster). Only one of the brokers can provide services (i.e. Master nodes) to the outside world, while the other brokers are standby and are considered Slave. If ...
Added by altis88 on Fri, 21 Jun 2019 02:00:36 +0300
spring boot configuration log4j log
In fact, spring boot uses logback by default.
And if we want to use log4j, we can... Because the built-in Tomcat can be recorded directly using the log4j class
For example:
import org.apache.log4j.Logger;
private Logger log = Logger.getLogger(this.getClass());
Of course, only in application.yml
Here's a brief explanation:
logging:
level ...
Added by vboctor on Thu, 20 Jun 2019 01:46:13 +0300
Use and Analysis of [Curator] Group Member
Group Member
Group member management.
Add this instance to a group and maintain the member cache within the group.
1. Key API s
org.apache.curator.framework.recipes.nodes.GroupMember
org.apache.curator.framework.recipes.nodes.PersistentNode
org.apache.curator.framework.recipes.cache.PathChildrenCache
2. Mechanisms
For an introduction to Persist ...
Added by killswitchfilter on Wed, 19 Jun 2019 22:18:22 +0300
Apache Virtual Host Configuration
The company needs me to develop a remote file upload function a few days ago. It needs to install two identical systems locally and bind different domain names to transfer files. Because I haven't touched the virtual host configuration before, I couldn't get started when I was faced with the browser's error. Have to consult the technical manag ...
Added by stewart715 on Fri, 14 Jun 2019 04:09:01 +0300