Backend Development 7 min read

Open‑Source Architecture Tools: mpvue, Walle, SQLAdvisor, Leaf, and Robust

This article introduces several open‑source tools for software architecture—including the Vue‑based mini‑program framework mpvue, the Android channel‑packaging tool Walle, the MySQL index advisor SQLAdvisor, the distributed ID service Leaf, and the hot‑update system Robust—detailing their features, configurations, and GitHub links.

Java Architect Essentials
Java Architect Essentials
Java Architect Essentials
Open‑Source Architecture Tools: mpvue, Walle, SQLAdvisor, Leaf, and Robust

mpvue is a Vue.js based front‑end framework for developing mini‑programs on platforms such as WeChat, Baidu, Toutiao, and Alipay, providing component‑based development, full Vue.js experience, Vuex data management, webpack build, npm support, and H5‑to‑mini‑program compilation.

Walle (瓦力) is a new‑generation channel‑package tool for Android Signature V2, adding custom channel information to the APK Signature Block; it can be used as a standalone CLI or deployed on an HTTP server to generate channel packages on‑the‑fly.

Configuration in the project’s build.gradle adds the Walle Gradle plugin:

buildscript {
    dependencies {
        classpath 'com.meituan.android.walle:plugin:1.1.7'
    }
}
apply plugin: 'walle'
dependencies {
    compile 'com.meituan.android.walle:library:1.1.7'
}
walle {
    apkOutputFolder = new File("${project.buildDir}/outputs/channels")
    apkFileNameFormat = '${appName}-${packageName}-${channel}-${buildType}-v${versionName}-${versionCode}-${buildTime}.apk'
    channelFile = new File("${project.getProjectDir()}/channel")
}

SQLAdvisor, developed by Meituan‑Dianping’s DBA team, parses MySQL statements and provides index‑optimization suggestions based on WHERE clauses, aggregation, and multi‑table joins.

Leaf is a distributed ID generation service offering both segment and Snowflake modes. Its configuration resides in leaf-server/src/main/resources/leaf.properties , with options such as leaf.segment.enable , leaf.snowflake.enable , JDBC settings, and Zookeeper address.

Robust is a next‑generation hot‑update system compatible with Android 2.3‑10, enabling real‑time patch application without restart, supporting method‑level fixes, class additions, and ProGuard obfuscation.

To use Robust, add the following to the app’s build.gradle :

apply plugin: 'com.android.application'
apply plugin: 'robust'
compile 'com.meituan.robust:robust:0.4.99'

And to the root build.gradle :

buildscript {
    repositories { jcenter() }
    dependencies {
        classpath 'com.meituan.robust:gradle-plugin:0.4.99'
        classpath 'com.meituan.robust:auto-patch-plugin:0.4.99'
    }
}

All projects are open‑source on GitHub: mpvue, Walle, SQLAdvisor, Leaf, and Robust.

AndroidVue.jsleafRobustmpvueSQLAdvisorWalle
Java Architect Essentials
Written by

Java Architect Essentials

Committed to sharing quality articles and tutorials to help Java programmers progress from junior to mid-level to senior architect. We curate high-quality learning resources, interview questions, videos, and projects from across the internet to help you systematically improve your Java architecture skills. Follow and reply '1024' to get Java programming resources. Learn together, grow together.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.