Skip to content

This is an example project of the article "ITDSD - 5. Lock-free Programming for Micro-service Splitting". It implements distributed system, micro-service splitting, lock-free programming.This project is based on the reconstruction of online shop malls.

License

Notifications You must be signed in to change notification settings

gantleman/shopd

Repository files navigation

shopd

The article <ITDSD - 5. Lock-free Programming for Micro-service Splitting>'s sample project. It is based on the reconstruction of online shop malls.It is used to demonstrate the development of distributed system based on AP&RP theory, the separation of micro-services, and finally the advanced software development technology of lock-free programming in distributed system. This is a distributed system of online shopping mall, which supports all functions from single machine to cluster. Can help you quickly build a distributed online mall. It is also an example engineering for learning the concepts of distributed system, lock-free programming and micro-service splitting.

Development environment:Ubuntu 16.04.4, vscode 1.25.1, mysql Ver 14.14 Distrib 5.7.26, redis 3.0.6, maven 3.6.0, java 1.8.0_201, git 2.7.4

The software framework is Springboot, JE.

After installing the above environment, execute in the installation directory

>mvn install

Then import shop. SQL into MySQL database

>mysql -h localhost -u root -p test < /shop.sql --default-character-set=utf8

If you use the VSCode editor, you need to add the launch.json file

{

// Use IntelliSense to learn about possible attributes.

// Hover to view descriptions of existing attributes.

// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387

"version": "0.2.0",

"configurations": [

{

"type": "java",

"name": "Debug (Launch) - Current File",

"request": "launch",

"mainClass": "${file}"

},

{

"type": "java",

"name": "Debug (Launch)-DemoApplication<shopd>",

"request": "launch",

"mainClass": "com.github.gantleman.shopd.DemoApplication",

"projectName": "shopd"

}

]

}

This is also a distributed introduction to the example project in Chapter 5 of the series. You can also click on the links below to find relevant articles.

ITDSD-1. Splitting in MicroserviceArchitecture

ITDSD-2. Practice of Splitting in MicroserviceArchitecture

ITDSD-3. Overview of Distributed SoftwareEngineering

ITDSD-4. Quantitative Analysis of DistributedSoftware

ITDSD-5. Lock-free Programming for Micro-service Splitting

About

This is an example project of the article "ITDSD - 5. Lock-free Programming for Micro-service Splitting". It implements distributed system, micro-service splitting, lock-free programming.This project is based on the reconstruction of online shop malls.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published