Methods, systems, and computer-readable media for implementing service-oriented system optimization using static analysis are disclosed. A cross-service static analysis is performed for program code of a plurality of services in a service-oriented system. Based on the cross-service static analysis, one or more service dependencies in the program code are determined. An optimized configuration for the service-oriented system is determined based on the one or more service dependencies. Individual ones of the services are deployed to the service-oriented system based on the optimized configuration.