mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.5K
active users

#fastify

0 posts0 participants0 posts today

1/1 End of last year @redwoodjs removed their funding of their graphql framewor, put it im maintenance ans create a new one. It felt like a redwood tree fell on our foot. Redfoot, we decide, will be the untangled underlying fastify framework. It took us half a year, but we managed it. Redwood was a great help, but we wont look back. The new framework gives us some advantages:

Hi!

I'm Adrian, a FullStack #Developer looking for a job either in #Québec (or from it if you allow for remote work). I already have a permanent and open visa

I have experience building and maintaining web apps and APIs, designing systems, doing #DevOps and a bit of #BigData, #MachineLearning and #IoT

I'm experienced using #Elixir, #Phoenix, #LiveView, #NodeJS, #TypeScript, #Fastify, #Express and #Python ; and on the DevOps side in CI/CD pipelines (either #GithubActions and Gitlab CI/CD), #Docker and a bit of #Kubernetes

I was tasked with a lot of the #innovation happening in my previous company, researching tools, librairies, patterns or general technologies either for our own #DeveloperExperience or for our products

I also wrote a lot of technical and non technical documentation and internal presentations, and even participated in a few meetups. You can read some of my writing on my blog: blog.adrianc.eu

You might also have seen me on a few Elixir-related Discord servers, or even Bluesky (@adrianc.eu) and Twitter ; either sharing tech news, helping people, reading in book clubs or just chatting

I’m open to full-time right now, contracting work can be discussed.

I'm looking for any developer position, not only #ElixirLang, even though it represents most of my experience. And if the technology you're using isn't on my resume, give me a chance! I'm a fast learner and I might anyway have studied it in class :P

DM me for more info, like github link, my resume or anything :)

Boosts, responses and DM welcome, of course!

#MyElixirStatus #FediJobs #FediJob #FediGetHired #OpenToWork

EDIT: I already have a visa, it was not super clear before 😅

AdrianCAdrianCCuriosity propelled

An SSR Performance Showdown

🔍 Comprehensive #SSR Performance Testing:
• Test setup: 2398 div elements spiral rendering on #NodeJS v22, #M1Mac with 8GB RAM

📊 Performance Rankings (requests/second):
#fastifyhtml: 1088 (baseline templating)
#Vue: 1028 (best full-featured performance)
#Svelte5: 968 (pre-release version)
#SolidJS: 907 (impacted by hydration IDs)
#Preact: 717 (lightweight alternative)
#React19: 572 (RC version)

🛠️ Testing Environment:
• Built using #Fastify and @fastify/vite
• Production builds tested
• Consistent styling and template implementations
• No client-side reactivity features

💡 Key Findings:
#Vue and #Svelte offer best balance of performance and ecosystem maturity
• Hydration markers impact performance (demonstrated in #SolidJS)
• Simple templating (#fastifyhtml) outperforms full frameworks

Source: blog.platformatic.dev/ssr-perf

Platformatic Blog · An SSR Performance ShowdownBy Matteo Collina

My PR supporting #graphql_tag style queries got merged and released in #mercurius 5.0.0!

This enables easier handling of fragments in #graphql, and I decided to follow up with a real world example in the PR post release to aid as a future reference for people: github.com/mercurius-js/mercur

Thanks for the merge @mcollina 🙏

GitHubfeat: support pre-parsed queries (eg. `graphql-tag`) by voxpelli · Pull Request #1108 · mercurius-js/mercuriusBy voxpelli

If you're seeing Dependabot PRs on Node projects named "Bump find-my-way and fastify" today and were not already on Fastify v5, be aware you'll need to update your Fastify config/usage (see fastify.dev/docs/latest/Guides).

The `find-my-way` (indirect for me) update requires Fastify v5 apparently and that broke several projects which weren't on Fastify v5 yet. Luckily (well, intentionally, obv) the breakages were caught by CICD in dev.

fastify.devV5 Migration Guide | FastifyThis guide is intended to help with migration from Fastify v4 to v5.
Continued thread

Updating the Fastify logger constructor config has allowed the web server to start now. I'm using a parent logger so this meant adding:
`loggerInstance: parentLogger` to the Fastify instantiation, e.g. the last property in:
```
const fastify = Fastify({
trustProxy: true,
keepAliveTimeout: 3600000,
loggerInstance: parentLogger
});
```
Tests now pass locally, 🤞for the same on Cloud Build!

Docs:
fastify.dev/docs/latest/Guides

fastify.devV5 Migration Guide | FastifyThis guide is intended to help with migration from Fastify v4 to v5.

Dependabot raised a PR against on of my Node projects this morning and the build failed. The PR was to move to Fastify 5 (from 4.x).

I pulled the branch down and sure enough the web server no longer starts. I'd spotted Fastify 5 now requires Node 20+ but I'm already on that.

Time to dig in to the migration guide: fastify.dev/docs/latest/Guides
#Fastify #Node

fastify.devV5 Migration Guide | FastifyThis guide is intended to help with migration from Fastify v4 to v5.

[1/2]

I think I've found my #SPA #SSG #SSR holy grail:

- #Preact with no build step (#ESM only)
- HTM for JSX-like syntax
- preact-render-to-string for server-side rendering
- preact-router for all routing
- Preact's `hydrate` method

On the server (I use #koa, but works with #Fastify or #Express, too) routes can either serve

- Pre-rendered static markup
- Pre-rendered app routes that get hydrated on the client (optionally switching to client-side rendering)
- Fully client-side rendered apps

Replied in thread

Alternatives to #Express:

Koa, which can either replace or complement both Express and Connect.

Fastify, which looks straightforward and very similar to Express. Plugin for templating (supporting Handlebars, Mustache, Pug and EJS): @fastify/view.

NestJS, which seems too convoluted and probably redundant since it works on top of either Express or Fastify (?).

Meteor: more of a platform. No tutorial for vanilla JS (only for React, Vue, etc), and not oriented towards SSR.

I’ll probably go for #Koa or #Fastify.

:javascript: #JS #JavaScript :node: #Node.js #Node

koajs.comKoa - next generation web framework for node.js