Abstract:This study has improved Apriori algorithm and applied it to association analysis of diabetic risk factors. The improved algorithm transforms transaction database into a Boolean matrix in one scan time and compressing matrix according to its specific properties, it greatly reduces computation and redundancy through this way. Based on above, a diabetes prediagnosis system has been designed which adopts the latest technology stack such as micro-service framework Spring Boot and RPC framework Dubbo, RabbitMQ as message queue middleware, Redis as cache, and MySQL as database. The system assists medical staff in diagnosing diabetes and provides an effective basis for users' self-diagnosis.