fast-tcp | fast-tcp is an extremely fast TCP client and server | TCP library
kandi X-RAY | fast-tcp Summary
kandi X-RAY | fast-tcp Summary
fast-tcp is an extremely fast TCP client and server that allows to emit and listen to events. It also provides more features like binary streaming, acknowledgements, broadcasts, rooms, etc. In order to get the maximum performance, every data type is sent using the fastest way to write it into the underline Buffer. Integer numbers are sent as signed integers of 48 bits, decimal numbers as double of 64 bits, boolean as byte, strings as utf8 string, buffers as binary, objects are serialized as binary and streams are transmitted in binary over the fast-tcp protocol. To be flexible sending objects, by default, they are serialized/deserialized using JSON.stringify/JSON.parse so, sending a Javascript object is possible out of the box. It is also possible to override the objects serialization so, you can use third-party libraries like Protocol Buffer, avro, MessagePack or even your own implementation.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of fast-tcp
fast-tcp Key Features
fast-tcp Examples and Code Snippets
Community Discussions
Trending Discussions on fast-tcp
QUESTION
In windows server > 2012 there's the fast path feature used to create IPC pipes without actually using TCP loopbacks, which are slow:
Is there a way to make ACE Pipe use the fast-path option on windows? From what I see in code there's no mention to the SIO_LOOPBACK_FAST_PATH control code and I couldn't find an easy way to pass custom control codes to ACE pipe.
The class is also built in a way that's very hard to inherit from and extend, with one huge open() function that don't get many params and private handles.
How can I try and use fastpath with ACE pipe?
(using ACE 6.1.1 and can't upgrade to newer version)
...ANSWER
Answered 2018-Jun-27 at 15:24It is only possible to use the fast-path option on Windows when you extend ACE with the necessary functionality. When you have a working solution you can submit it to the ACE main git repository through a pull request.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fast-tcp
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page