DEV Community

Discussion on: request-response pattern with socket.io, Am I using anti pattern ?

Collapse
 
kelerchian profile image
Alan

Am I using anti-pattern here?

No, you're not.
amqp.org/ protocol uses a similar pattern. It is an alternative to HTTP as a method of server-to-server communication and has been adopted by message brokers such as rabbitmq.com/.

You might want to pull some inspiration from it.