# pzhgugu/goshop2

Goshop2 是一个基于 Spring、Dubbo 和 MyBatis 的分布式电子商务平台。  它展示了一套典型的企业Java SOA电商系统的工程组织方式：按业务拆分数据库，按Facade/Provider/Consumer分层拆分服务，并使用Dubbo、ZooKeeper、Redis、MyBatis、Shiro、ActiveMQ等组件完成全国服务治理、读写分离、会话共享、后台管理、商城门户、CMS和微信端接入。

Repository: https://github.com/pzhgugu/goshop2
Canonical: https://ross.abutalabs.com/products/goshop2
Language: JavaScript
License Family: other
Last push: 2026-06-16T02:20:32+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 87, release rhythm 35, longevity 100
- inputs: {"age_days": 3728, "days_push": 79, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1100, forks 686 (observed 2026-08-28T04:03:35.451565+00:00)

## What it is
Goshop2 is a distributed e-commerce platform built on Spring, Dubbo, and MyBatis, organized as a classic Java SOA system with Facade/Provider/Consumer service layers and business-database sharding. It includes an admin console, shop portal, CMS, multi-store support, and WeChat integration, using ZooKeeper, Redis, Shiro, and ActiveMQ.

## Use cases
- build a distributed e-commerce platform in java
- study a real-world dubbo soa reference architecture
- learn database sharding and read-write separation in spring
- set up redis session sharing with shiro
- run a multi-store online mall with admin backend
- integrate wechat messaging and menus into a shop
- understand enterprise java microservice service governance

## When to choose
- you want a complete reference implementation of a classic Spring + Dubbo + MyBatis SOA e-commerce system
- you need to study distributed service governance, sharding, and session sharing patterns in Java
- you need an out-of-the-box mall with admin console, CMS, multi-store, and WeChat support

## When to avoid
- you need a modern, actively maintained stack - it uses Java 7, Spring 4, and Dubbo 2.5
- you want a lightweight single-service shop rather than a heavy multi-module SOA deployment
- you require a permissive license - the repository has no license file

## Facets
- artifact type: application
- maturity: maintenance
- function: web-framework, microservices, caching, message-queue, auth, orm, database, search-engine, api-framework
- domain: e-commerce, web-development, backend, microservices, cms
- platform: jvm, self-hosted
- tags: dubbo, spring-mvc, mybatis, zookeeper, redis, shiro, activemq, soa, database-sharding, read-write-separation, wechat-integration, multi-store, reference-implementation, enterprise-java, linux, docker, web-server

## Member repositories
- pzhgugu/goshop2 (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:35.451565+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:45:55.584703+00:00, confidence not recorded.
  - readme: https://github.com/pzhgugu/goshop2 (fetched 2026-08-28T04:03:35.451565+00:00, sha 72f07f4a417e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
