Cache optimization and practice of ten million shopping cart system

1, Analysis of shopping cart data model in E-commerce Functions realized in shopping cart: add shopping cart, view shopping cart, edit shopping cart sku, edit commodity data, select multiple commodities in shopping cart to settle, view the total number of commodities in shopping cart, delete shopping cart, share shopping cart, etc Current sho ...

Posted by mitwess on Fri, 18 Feb 2022 10:21:21 +0100

JSON, AJAX, i18n internationalization

JSON, AJAX, i18n nationalization JSON What is JSON? JSON is a lightweight data exchange format. It is easy for human to read and write, and it is also easy for machine to parse and generate. JSON adopts a text format completely independent of language, and many languages provide support for JSON (c,c++,c#,java,js,python). This makes JSON the ...

Posted by murdocsvan on Fri, 18 Feb 2022 10:14:11 +0100

Basic use of JAVA threads

Catalogue of series articles Java thread learning introduction to the basic use of threads catalogue   1, Writing and reading of XML and excel 1. Writing and reading of XML 1. Reading of XML 2. Writing XML 2. Writing and reading excel 1. Reading excel 2. Writing excel II. Network programming 3, Reflection 1. Three methods of obtai ...

Posted by mella on Fri, 18 Feb 2022 10:03:33 +0100

Why not recommend using BeanUtils?

Author: Mingming Ruyue senior\Source: blog csdn. net/w605283073/article/details/107371462As mentioned in the column "attribute copying tool is not recommended", it is recommended to directly define the conversion classes and methods and use the IDEA plug-in to automatically fill in the get / set function.The main reasons for not recom ...

Posted by Oren on Fri, 18 Feb 2022 09:02:00 +0100

java_ toString method of object class, equals method of Objects class, Date class, DateForma, Calendar class introduction, and common methods of System class_ Study notes

1, toString method of Object class java.Lang.objectClass object is the root (parent) class of the class hierarchy.Each class (person, student...) All use object as the super (parent) class. All objects (including arrays) implement the methods of this class. public class Person { private String name; private int age; public Per ...

Posted by hpg4815 on Fri, 18 Feb 2022 08:26:09 +0100

MapReduce processing pictures

Reference link 1 Reference link 2 The code comes from link 2 and has been modified by yourself. The level is limited. I hope to point out some mistakes. hadoop3. 2.1 write code under centos 7 window, package and submit it to Hadoop cluster on centos for operation.   ideas:   put the picture on hdfs, and then write the path of each im ...

Posted by benyhanna on Fri, 18 Feb 2022 06:16:31 +0100

mybatis Simple Handwriting framework

preface In the traditional SSM project, mybatis is the database connection framework commonly used in our development program, and we often ask about the implementation principle of mybayis in the interview. Therefore, we need to fully understand its underlying principle, and now we can preliminarily understand mysql through a custom frame ...

Posted by Liquix on Fri, 18 Feb 2022 05:15:18 +0100

JAVA learning notes 24 - SpringBoot

SpringBoot Microservice architecture Separate each functional element and dynamically combine the independent functional elements. Only the required functional elements can be combined. When more functional elements are needed, multiple functional elements can be aggregated. Therefore, the microservice architecture copies the functional eleme ...

Posted by fresch on Fri, 18 Feb 2022 05:05:19 +0100

Detailed explanation of stream usage in [Java]-Java8

Stream is an abstract concept of processing sets in Java 8, which can perform complex operations such as finding, filtering and mapping. stay Operation API The Stream API provides an efficient and easy-to-use way to process data: It is not a data structure and will not save data;If the data source is not modified, the operation result wi ...

Posted by MrKaraokeSteve on Fri, 18 Feb 2022 04:50:54 +0100

Multithreading has to talk about the Future class

Link: link. In high-performance programming, concurrent programming has become a very important part. When the performance of single core CPU has reached the limit, we can only further improve the performance of the system through multi-core, so concurrent programming is born. Because concurrent programming is more difficult and error pron ...

Posted by Chinese on Fri, 18 Feb 2022 04:29:02 +0100