hemerajs / hemera

🔬 Writing reliable & fault-tolerant microservices in Node.js https://hemerajs.github.io/hemera/
MIT License
806 stars 70 forks source link

Production ready?? #175

Closed skalyanapu-mtuity closed 6 years ago

skalyanapu-mtuity commented 6 years ago

Hi,

Firstly, I would like to thank you for your support to OS !! To what extent Hemera was ready for enterprise-grade microservices architecture based applications, were user traffic would be 1000 - 1500 rps at peak time. Do you have any performance testing stats, of course, they are subjective to the type of computing operation you do, but any?

Does it have any circuit-breaking mechanism inbuilt ?? Is it scalable down the line, if required ??

Thank you !!

StarpTech commented 6 years ago

Hi @skalyanapu-mtuity thank you for checking out Hemera. Hemera is used by many companies (I know) https://github.com/hemerajs/hemera#whos-using-hemera

Hemera can handle on a single instance ~18-24K RPS but you are not limited. Hemera can be scaled infinitely. You need just start a separate instance of your service and everything else like (routing, load balancing, health check) is handled by the enterprise-ready messaging system NATS (the nervous system of Hemera)

Do you have any specific question?

Production ready??

Yes!

Does it have any circuit-breaking mechanism inbuilt ??

We had it before Hemera 2.0 but the implementation was not good enough. PR is very welcome!

Hemera can protect you by (builtin) https://github.com/hemerajs/hemera#built-in-protection

Some other characteristics which could influence your decision you can find here https://github.com/hemerajs/hemera#characteristics

I spent lots of time in the readme ;)

skalyanapu-mtuity commented 6 years ago

Hello @StarpTech, Thank you for prompt suggestions. I came to know that "aither" was a bootstrap application to start with developing microservices with "Hemera", also which(aither) includes robust deployment pipeline(sample) with integration with Docker, performance monitor also we found that there was Hapi dependency, does the knowledge of Hapi was mandatory to start working with Hamera, aren't we allowed to use other frameworks like express etc ..

Plugins:: Do we have the flexibility iof writing custom plugins which can be integrated wit Hamera , to meet custom requirements which are not covered by Hamera ??

Please provide your suggestions.

Thanks for your time :)

StarpTech commented 6 years ago

Hi @skalyanapu-mtuity Hemera has nothing in common with HTTP. Hapi serves as a API gateway to proxy HTTP Requests to Hemera. You can use any web framework of your choice but we provide plugins for Hapi and Fastify. The Hemera core should be small as possible. You can create as many plugins as you want.

skalyanapu-mtuity commented 6 years ago

OKay, thank you !!

Can we consider "aither" as an example project of the complete Hamera ecosystem from end to end ??

Regards, Sai.

StarpTech commented 6 years ago

@skalyanapu-mtuity yes you can. It demonstrate the complete flow from Client (browser) to Service (Hemera)

skalyanapu-mtuity commented 6 years ago

Thank you !!