High concurrent seckill Service layer
Design of Service layer
Create the required package
Service package: store the interface and implementation class of service
exception package: store some exceptions of service (repeat seckill, close seckill, etc.)
Dto package: it also stores data. The difference between dto and entity is that ...
Posted by dalecosp on Tue, 14 Jan 2020 21:09:40 -0800
android native and H5 interaction
Recently, a hybrid APP of Android native H5 was developed on the left. Before that, we haven't summarized the interaction methods between Android native and H5. Here's a summary:
1. hybrid communication is mainly the communication between the front-end JS and our Android. This is the most basic communic ...
Posted by fewtrem on Tue, 14 Jan 2020 20:32:01 -0800
Jmeter calls Dubbo interface
Jmeter test Dubbo interface
Preface
dubbo
Jmeter
TestNG
Spring
This article introduces two ways to use jmeter to test dubbo interface
Call through the way of jmeter secondary development (jar) (recommended, with requirements for coding ability)
Call through JMeter plugins Dubbo
Call through ...
Posted by magnetica on Tue, 14 Jan 2020 20:12:48 -0800
Parsing HTML using BeautifulSoup under Python
abstract
Beautiful Soup is a Python library that can extract data from HTML or XML format files by parsing HTML or XML data into Python objects for easy processing through Python code.
Document environment
Test environment for code in this document
Instructions for using Beautifu Soup
The basic function of Beautiful Soup is to find and e ...
Posted by peter.t on Tue, 14 Jan 2020 09:40:48 -0800
Using Zxing to scan QR code and generate QR code for front camera in Android
Now the use of QR code is more and more widely, and it can be seen almost everywhere, and almost all of the company's related projects are related to QR code scanning, so summarize your own experience of using QR code, and always feel that something should be done to record your growth, so that your gro ...
Posted by samirk on Tue, 14 Jan 2020 03:08:04 -0800
Android intelligent refresh framework SmartRefreshLayout
Original link
SmartRefreshLayout is a "smart" or "smart" pull-down refresh layout. Because of its "intelligence", it not only supports all views, but also supports multiple nested View structures. It inherits from ViewGroup instead of FrameLayout or LinearLayout, imp ...
Posted by dooper3 on Mon, 13 Jan 2020 19:58:23 -0800
mybatis plug-in development
We start from six aspects: plug-in configuration, plug-in writing, plug-in operation principle, plug-in registration and interception time, initialization plug-in, paging plug-in principle.
1. Plug in configuration
Mybatis plug-ins are configured in the configuration. During initialization, these plug ...
Posted by Frame on Mon, 13 Jan 2020 02:54:49 -0800
Spring framework learning (3.3) AOP implementation based on @ AspectJ annotation
Preface
Record the learning process, continued from the previous two sections
The implementation of AOP based on xml configuration file inevitably faces the situation of overstaffed xml file, and the configuration process is troublesome. Annotation annotation technology can solve these problems
text ...
Posted by assgar on Sun, 12 Jan 2020 01:08:31 -0800
PowerManager Service3 Kill Screen
1. Brief description of off-screen
First of all, there are several ways to extinguish the screen:
1. The user presses the Power key to destroy the screen;
2. The mobile phone will go out of the screen after being automatically placed for a period of time;
3.Sensor goes off screen.
The reasons for the ...
Posted by Nick Zaccardi on Sat, 11 Jan 2020 17:53:21 -0800
Mycat Integration MySQL 8.x Trample Practice
Mycat currently does not fully support versions of MySQL 8 or above, which may cause problems such as incorrect passwords when Mycat connects to MySQL 8 because the new version does not encrypt the password the same way as the old version.There is also the time zone issue, and the new version of the connection requires additional time zone par ...
Posted by Dawg on Sat, 11 Jan 2020 14:26:02 -0800