poolifier
camaro
Our great sponsors
poolifier | camaro | |
---|---|---|
7 | 3 | |
312 | 547 | |
2.2% | - | |
10.0 | 6.2 | |
2 days ago | about 1 month 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.
poolifier
- Poolifier release v2.7.2
- Poolifier release v2.7.1
- Get a speed boost using this package for running worker threads in parallel
-
Piscina โ The Node.js Worker Pool
At work I use https://github.com/pioardi/poolifier
We have an api used for generating reports from mongo dB to csv, this let's the report process in the background leaving the report api to still handle requests.
-
Poolifier as Node.js thread/cluster pool
Since that I am familiar with Java programming language, I immediately started to look for thread pool implementations just like are present in java. There was only one small and not exhaustive thread pool at that time, so I started to implement poolifier. I choosed to implement two thread pools, a fixed-size thread pool and a dynamic-size thread pool so that users could tune and choose which one fits better for their applications.
camaro
-
Using XPath in 2023
back in the day where every OTA (online travel agent) and airlines use XML for their API, we had to integrate them in an API gateway where to unify their API schema and workflow.
we wrote a small package[1] (using pugixml) to transform XML to JSON using a custom Xpath template syntax. Make our job much easier.
[1]: https://github.com/tuananh/camaro
- Fast XML to JSON using xpath templates in node
-
Piscina โ The Node.js Worker Pool
AFAIK this is a wrapper of worker_threads API. https://github.com/tuananh/camaro utilises this for multi-threading processing of XML input.
What are some alternatives?
piscina - A fast, efficient Node.js Worker Thread Pool implementation
xml-js - Converter utility between XML text and Javascript object / JSON text.
node-worker-threads-pool - Simple worker threads pool using node's worker_threads module.
fast-xml-parser - Validate XML, Parse XML and Build XML rapidly without C/C++ based libraries and no callback.
NodeLearn - Learning node js app
worm-scraper - Scrapes the web serial Worm and its sequel Ward into an eBook format
threads.js - ๐งต Make web workers & worker threads as simple as a function call.
koder - QR/bar code scanner for the Browser
bree - Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.
heic-app - ๐ฅ convert HEIC images to JPEG and PNG in the browser or as a PWA