Restify
Moleculer
Our great sponsors
Restify | Moleculer | |
---|---|---|
8 | 16 | |
10,697 | 6,016 | |
0.0% | 1.0% | |
5.6 | 7.5 | |
3 months ago | 2 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Restify
-
Stop using express.js
Restify & Fastify Hapi
-
Node JS Microservice Frameworks for Developing Scalable Web Apps.
Restify – Optimized NodeJS Microservice Framework
-
Preact Releases Signals
We've seen this framework forking happen a lot as good ideas are remixed like Aurelia via Angular, Derw via Elm, Restify via Express, and Spring Boot via Spring to name a few. It's interesting to me this obsession with performance that Preact has with their ability to provide a simple API. That said, I am in no way convinced this'll solve the architecture problem. Without at least guidance, or more importantly, a framework + docs on how to utilize Signals at scale, you'll just end up with a random mess. Still, it's awesome how far they've come, and it's neat to see them still innovating years later.
-
10 Best Node.js Framework in 2021
Restify.js: Future of Node.js REST development
-
how to deploy a graphQL server with docker and fly
Express GraphQL is a library for building production ready GraphQL HTTP middleware. Despite the emphasis on Express in the repo name, you can create a GraphQL HTTP server with any HTTP web framework that supports connect styled middleware. This includes Connect itself, Express and Restify.
-
What is your current stack?
Is express still the go-to HTTP server? How are hapi and restify doing? Has koa ever really picked up? Is there any new cool stuff to watch out for (fastify, anyone)?
-
Are you using promises and async / await safely in Node.js?
Restify - No native support yet. Support merged mid-2020, scheduled for a v9 release.
- Ask HN: How do you build APIs with Node in 2021?
Moleculer
-
Make microservices look like monoliths
My goto for this kind of task is moleculer: https://moleculer.services/
Fast, battle tested, vue2-like approach, great documentation, good community. The automatic indipendent-scalability as an option is usually the main selling point of these solutions, but honestly I think the real pro is the "composition" approach, which is essential if you want to keep a clean and well-organized codebase. On this regard, I found moleculer pretty great even for large teams.
-
How to Import/Reference a Microservice from another one
If you’re using k8s, check out https://moleculer.services and this would likely solve what you’re looking for.
-
Node JS Microservice Frameworks for Developing Scalable Web Apps.
Molecular – Progressive Microservices Framework for Node.js
-
First time building microservice-based application
While you’re delving into microservices, check out Moleculer https://moleculer.services
-
if Nodejs does not meant for CPU intensive tasks so I think it's better to avoid it from the beginning
I almost can’t believe I haven’t seen it mentioned here before, but adding Moleculer into your node project (if it’s clustered/k8s’d) will literally solve many single threaded problems, not to mention tons of other scalability issues. https://moleculer.services/
-
How to deal with singletons in a distributed system?
You could use a framework for this. Have a look at moleculer
-
Where can I learn to implement microservices?
I haven't used this, but it seems neat: https://moleculer.services/
-
Microservices using express js
Look into Moleculer.
-
Been playing with moleculerjs recently, and just finished my first package: a service that allows you to use any node API framework as a moleculer gateway.
Moleculer already provides an in-house http gateway, but what if you want to use an existing API, and how to maintain decoupled code when creating your gateway? This package solves both. You can create your API, passing in any services you require as dependencies. You can then bind your API to moleculer using the moleculer-universal-gateway.
-
Don’t start with microservices – monoliths are your friend
But there's more to the topic of microservices. Seems like all the conversation focuses on deployment pain. You can build a service with something like Akka or Moleculer where the modules act independently and have some message passing and resilience from each other, but they can still all live in one codebase, one process, and deployed as one unit. It works fine and isn't painful at all. And maybe down the line you decide to split the thing up into multiple processes and multiple deployment units, and that's an easy refactor because the modules are already somewhat separated.
What are some alternatives?
Express - Fast, unopinionated, minimalist web framework for node.
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
fastify - Fast and low overhead web framework, for Node.js
AWS Lambda Router for NodeJS - AWS Lambda router for NodeJS
loopback-next - LoopBack makes it easy to build modern API applications that require complex integrations.
seneca - A microservices toolkit for Node.js.
fastify-express - Express compatibility layer for Fastify
AdonisJs Framework - AdonisJS is a TypeScript-first web framework for building web apps and API servers. It comes with support for testing, modern tooling, an ecosystem of official packages, and more.
Next.js - The React Framework