简体   繁体   中英

how to connect between 2 or more apps with high performance

I have different api's writed in nodejs and python. what is a FAST way to call methods/events and transfer files between then?

is curl really fast for high volume of requests? or is there another method to better performance?

maybe socket.io for a permanent connection? or websockets?

Have a look at Redis and its pub/sub features.

Redis does have a client for both Node.js and Python, so it should offer exactly the functionality you require.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM