JSON processor FastjsonFastjson is a well-performing Java language implementation of the JSON parser and generator, developed by an engineer from Alibaba.
Main Features:
Quick fast (faster than any other Java-based parser and generator, including Jackson) powerful (supports common JDK classes including any Java Bean class, Collection, Map, date, or enum) 0 Dependency (No other class libraries are dependent on the sample code except JDK):
Import Com.alibaba.fastjson.JSON;
Group Group = new Group ();
Group.setid (0L);
Group.setname ("admin");
User Guestuser = new user ();
Guestuser.setid (2L);
Guestuser.setname ("Guest");
User Rootuser = new user ();
Rootuser.setid (3L);
Rootuser.setname ("root");
Group.getusers (). Add (guestuser);
Group.getusers (). Add (rootuser);
String jsonstring = json.tojsonstring (group);
System.out.println (jsonstring);
Jvm-sandboxJVM-SANDBOX,JVM sandbox container, a non-intrusive run-time AOP solution based on the JVM.
Core features of Jvm-sandbox:
Real-time non-intrusive AOP framework
In the common AOP framework implementation, there are two kinds of static weaving and dynamic weaving.
Static KnittingStatic weaving occurs when bytecode is generated, and the AOP bytecode is inserted into the target class and method in advance according to the rules of certain framework, and AOP is realized.
Dynamic WeavingDynamic weaving allows AOP bytecode enhancement for the specified method to be completed while the JVM is running. Most of the common dynamic weaving schemes use the renaming of the original method, and then create a new signature method to perform the function of AOP (common implementations such as CGLIB), but there are some application boundaries in this way:
Invasive
The target class of the agent needs to be invaded. For example, in spring, it must be a Bean that is hosted in a spring container.
Curing Resistance
The target agent method is cured after startup and cannot be re-augmented with an existing method
Distributed RPC Service Framework DubboDubbo is a high-performance service framework for Alibaba's open source, enabling applications to implement the output and input capabilities of the service through high-performance RPC, which can be seamlessly integrated with the Spring framework.
Main Core components:
Remoting: Network communication framework, implements the Sync-over-async and request-response message mechanism RPC: An abstraction of a remote procedure call that supports load balancing, disaster recovery, and cluster functionality Registry: Service catalog framework for service registration and service event Publishing and subscriptions
Working principle:
node. JS Framework Egg.js Egg.js, for enterprise-class frameworks and applications, is Ali's Open source enterprise-class node. JS framework.
Feature depth framework custom highly extensible plug-in mechanism built-in multi-process management based on KOA development, excellent performance framework stability, high test coverage start to use
NPM Install egg-init-g
$egg-init--type Simple showcase && CD showcase
$npm install
$npm run dev
$open http://localhost:7001
Ant Design ProAnt Design Pro is a set of out-of-the-box front-end/designer solutions.
Characteristics
Elegant and beautiful: Design patterns are well-designed based on ANT's design system: typical pages and scenarios for refining from mid-background applications The latest technology stack: Developing responses with front-end technologies such as REACT/DVA/ANTD: Design themes for different screen sizes: configurable themes to meet diverse brand demands Internationalization: Built-in industry-ready International solutions Best Practices: Good Engineering practices help you consistently produce high-quality code Mock data: Practical on-premises data debugging scenarios UI testing: Automated testing to ensure front-end product quality
JDBC Connection pool, monitoring component DruidDruid is a JDBC component that consists of three parts:
Druiddriver Agent driver, can provide a plug-in system based on Filter-chain mode. Druiddatasource an efficient and manageable database connection pool. What Sqlparser Druid can do.
1) Can monitor database access performance, Druid built-in provides a powerful statfilter plug-in, the ability to detailed statistics of SQL execution performance, which is useful for online analysis of database access performance.
2) Replace DBCP and C3P0. Druid provides an efficient, powerful, and scalable database connection pool.
3) database password encryption. Write the database password directly in the configuration file, this is bad behavior, easy to lead to security issues. Both Druiddruiver and Druiddatasource support PasswordCallback.
4) SQL execution log, Druid provides different logfilter to support common-logging, log4j and Jdklog, you can select the appropriate logfilter as needed to monitor your application's database access.
Extending JDBC, if you want to have programming requirements for the JDBC layer, you can easily write extensions to the JDBC layer through the filter-chain mechanism provided by Druid.
The following is a monitoring implementation based on the Druid built-in extension statfilter:
Ng-zorroNg-zorro is an enterprise-class UI component library that is implemented by Ant Design's Angular 4.0, developing and serving enterprise-class backend products.
Characteristics
Refines the interactive language and visual style of the back-end product from the enterprise level, regularly updated with the Ant Design React version. High-quality Angular components out-of-the-box. Build with TypeScript to provide a complete type definition file. Support Environment
Modern browsers and IE9 above (requires polyfills). Compatible version
Currently supports Angular 4.0.0 versionContainer Technology Pouch2017 Hangzhou Cloud Habitat conference, Alibaba formally announced that the independent research and development of container technology pouch will be open-source form of feedback to the community, hope to work with developers to promote China's container technology development, build a container ecosystem.
Ali pouch is not a completely innovative technology. First, Ali based on LXC technology for the group's business to provide container services, 2011, Ali Self-research container technology t4,2016 years, Ali inside the container technology renamed to Pouch, and in the last year to support a large number of core business within the group, such as e-commerce platform core business, major applications and some databases, Ant Gold Clothing payment business, Taobao trading business and so on.
The origin of the naming of pouch, which originated from Ali as an open-minded person, pays attention to the original intention of user scene application. As Alibaba technology expert Liang said, pouch as a large-scale scene from the Alibaba Group self-research technology, compared to Docker, Rkt and other container technology, the core value of differentiation is reflected in the following aspects:
Rich container technology: The application experience inside the container, such as virtual machine, has the init process, and is rich in system services, rich isolation protection: Isolation security can not avoid, kernel hardening and lightweight virtual machine support, enrich the isolation dimension; peer-to-image distribution: Image distribution in ultra-large-scale scenes, to alleviate network load; Kernel compatibility: Enterprise kernel upgrades tend to be slower and optimally adapted to the existing underlying infrastructure.Open Source Database AlisqlAlisql is a branch of the official MySQL version that is maintained by the Alibaba Cloud Database team and is currently used for Alibaba Group business as well as Alibaba Cloud database services. This version builds on the Community edition and makes a lot of improvements in performance and function optimization. Especially suitable for business environment such as e-commerce, cloud computing and finance.
Alibaba Cloud Database Senior expert Dinkey Introduction, alisql version in strength and breadth have experienced a great test. The latest version of Alisql not only draws from other communities such as Percona,mariadb,webscalesql, but also the experience and solutions of Alibaba for many years in the MySQL field. Alisql adds more monitoring metrics and offers individual solutions for scenarios such as e-commerce sec-Kill, IoT Big Data compression, and financial data security.
"In the general benchmark scenario, the Alisql version has a 70% performance improvement over the official MySQL version. Performance is up to 100 times times faster in the second kill scenario. "Dinkey said.
Li Jin, senior director of Alibaba Cloud, said, "The development of Alisql has been supported by a lot of wisdom. We want to give back to the community the technology accumulated over the last few years, and help more people and businesses that use MySQL, which is the path to a healthy community development. We also welcome more developers and technical teams to join the Alisql Open source project to bring greater value to the industry. ”
Performance comparisons with Oracle databases:
graphical syntax for visual coding ANTV-G2 G2 is a graphical syntax based on visual coding, data-driven, with a high degree of ease of use and extensibility, the user does not need to focus on a variety of implementation details, a single statement can build a variety of interactive statistical charts.
At the same time, G2 is also ANTV's most important composition, beginning with the Grammar of Graphics, which describes the visual coding grammar system (which is also the origin of G2 project naming).
Characteristics
Simple and easy to use: from the data, just a few lines of code can easily get the desired chart display full-fledged visual coding: data-driven, provides a complete mapping from data to graphics powerful scalability: Any chart, can be drawn based on the graphics syntax flexible, to meet your unlimited creative examples
Bar chart
Full code:
<! DOCTYPE html>
Original link: Http://mp.weixin.qq.com/s/sVlp39nazEidglWO3RBLoA.