Of course, I’d recommend Fastify. Express is dying. If you go to the HarperDB website they even say right on the main page quick setup with Fastify and HarperDB. HERN just sounds better than HFRN.
@chadalen
thanks for the input! This is an explanation of one option for a tech stack, and as mentioned in the blog, you should certainly choose what technologies make the most sense for you. We are also huge fans of Fastify, and we're hosting a livestream event on the 26th with a top Fastify maintainer, building a REST API w/ Fastify & HarperDB. You should check it out!
The survey you're talking about is regarding how popular express is. Which it should be because it's one of the oldest node web servers out there. It takes a while to get people off of these but doesn't mean you should use it.
Look at PHP for example it's straight up garbage but people still use it.
Express is still great for smaller projects or quick prototyping but if you're serious you wouldn't use it.
"A project without issues maybe is dead."
A project without resolving issues is also dead.
"Original developers can build other things. That doesn't mean that it's dead."
True but they were the primary contributor.
"Popularity translates into community support. Which is great if you're dealing with issues."
Community support but no one contributes to their repo to fix the underlying issues.
HarperDB currently uses Express for our internal API, but we're ripping it out and replacing it with Fastify. Our internal benchmarks say this will increase API performance by at least 50%, but we're hoping for double that.
So, @chadalen
, I get it- there are certainly newer, faster frameworks for Node APIs, but Express, along with MEAN and MERN stacks, are far more widely deployed and familiar to most developers... and I don't even know how I would begin to pronounce HFRN.
As for us not being open source, I defer to @stephengoldberg
, who answered at length below.
I will say that I don't know of any open source database that offers the features, performance, support, and infrastructure that HarperDB does- especially with a free tier... MongoDB just had to change their license to ensure their SaaS offering can generate sustainable revenue, after all.
"I will say that I don't know of any open source database that offers the features, performance, support, and infrastructure that HarperDB does"
Not trying to bash on HarperDB but have you heard of PostgreSQL? If I wanted support/infrastructure I would use either AWS RDS or DigitalOcean's Managed Databases. Both are much cheaper than yours. Why should I use HarperDB over those?
I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
Dang express.js in 2021? Also HarperDB isn’t open source no thanks.
You'd recommend something else?
Of course, I’d recommend Fastify. Express is dying. If you go to the HarperDB website they even say right on the main page quick setup with Fastify and HarperDB. HERN just sounds better than HFRN.
Express is dying? Did you check the results in state of js survey this year?
@chadalen thanks for the input! This is an explanation of one option for a tech stack, and as mentioned in the blog, you should certainly choose what technologies make the most sense for you. We are also huge fans of Fastify, and we're hosting a livestream event on the 26th with a top Fastify maintainer, building a REST API w/ Fastify & HarperDB. You should check it out!
@maurogarcia_19
It is don't believe me?
The survey you're talking about is regarding how popular express is. Which it should be because it's one of the oldest node web servers out there. It takes a while to get people off of these but doesn't mean you should use it.
Look at PHP for example it's straight up garbage but people still use it.
Express is still great for smaller projects or quick prototyping but if you're serious you wouldn't use it.
Thanks for the recommendations along with the stats.
"A project without issues maybe is dead."
A project without resolving issues is also dead.
"Original developers can build other things. That doesn't mean that it's dead."
True but they were the primary contributor.
"Popularity translates into community support. Which is great if you're dealing with issues."
Community support but no one contributes to their repo to fix the underlying issues.
Well we could agree to disagree at least!
Haha right, it's all good. These are good conversations.
I'm the VP of Product for HarperDB.
HarperDB currently uses Express for our internal API, but we're ripping it out and replacing it with Fastify. Our internal benchmarks say this will increase API performance by at least 50%, but we're hoping for double that.
So, @chadalen , I get it- there are certainly newer, faster frameworks for Node APIs, but Express, along with MEAN and MERN stacks, are far more widely deployed and familiar to most developers... and I don't even know how I would begin to pronounce HFRN.
As for us not being open source, I defer to @stephengoldberg , who answered at length below.
I will say that I don't know of any open source database that offers the features, performance, support, and infrastructure that HarperDB does- especially with a free tier... MongoDB just had to change their license to ensure their SaaS offering can generate sustainable revenue, after all.
"I will say that I don't know of any open source database that offers the features, performance, support, and infrastructure that HarperDB does"
Not trying to bash on HarperDB but have you heard of PostgreSQL? If I wanted support/infrastructure I would use either AWS RDS or DigitalOcean's Managed Databases. Both are much cheaper than yours. Why should I use HarperDB over those?
Getting to the critical reason for any computer endeavour!