When I thought about writing about "AMQP vs HTTP" I thought on writing about differences between both protocols, describe every single header and why it is there, how it is the flow of each message/package you are sending in each protocol, etc, etc, etc... But then I realized that all that grey information is out there, anyone that wants to read about the protocol itself can just "google it" and have plenty information about each protocol. If you were looking for that information here, just “let me google that for you”: AMQP, HTTP. If you were looking for a real use case and a discussion about when to use each protocol and why, then you are in the right place.
From Monoliths to micro-services
Two years ago we started the decentralization of an e-commerce project. The reason is that the project is deployed in production with a cluster of Hybris nodes in Europe, and our customer has world-wide interests. Latencies between continents are bigger than the quality we want to provide. Also we have the typical issues of a huge monolith, like long release cycles, long and exhaustive testing process. . . With an ever growing feature set, the time it took to bring new features to market was also steadily growing.