https://github.com/stofte/netcore2node-transfer-benchmark
Benchmark data transfer from NET Core to NodeJS using pipes
https://github.com/stofte/netcore2node-transfer-benchmark
Last synced: 11 months ago
JSON representation
Benchmark data transfer from NET Core to NodeJS using pipes
- Host: GitHub
- URL: https://github.com/stofte/netcore2node-transfer-benchmark
- Owner: stofte
- Created: 2017-01-27T00:53:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-30T19:32:03.000Z (over 9 years ago)
- Last Synced: 2025-03-26T20:23:40.353Z (about 1 year ago)
- Language: C#
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
.NET Core to NodeJS transfer benchmark
--------------------------------------
This repo contains code that benchmarks (data) throughput from
.NET Core to NodeJS using some various approaches.
Running
-------
Start the server, use [--max-old-space-size](https://github.com/nodejs/node/issues/7937) to increase heap size.
`node --max-old-space-size=4096 server/index.js` *`method`*
The *`method`* argument determines which underlying approach to use.
- `tcp n` for TCP on port n
- `pipe` for Named Pipes (Win32 only)
Restore and run the client, passing the number of dummy DTOs to generate
as well as the method the server was started with.
`dotnet restore`
`dotnet run -p client 1000000` *`method`*
The programs outputs some basic stats on performance.