Integrate the interfaces of multiple external systems

the current project needs to call multiple external systems, unify the return values of all the interfaces, and return to the front end.

question

  • the return values of multiple external systems are quite different. Using factory, adapter and other modes, you can be forced to integrate, but the implementation complexity is relatively large, and it is not easy to expand in the future (continue to add external system access). Are there any other ways and solutions that can be expanded more easily?
  • requests multiple systems at the same time, with different response times for each external system, but returns at the same time. The fork/join model is adopted to achieve simultaneous access, and then a circuit breaker mechanism is added to ensure the final response time. This is our plan. Is there a better one?.
Mar.07,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beaa9c-31a23.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beaa9c-31a23.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?