For the compression that's exactly what I was looking for on that one; and I found a good IByteBuffer example for the channel handling, so I think that sorts me - I'll look through your encoder/decoder
DotNetty is just a port or Java Netty project. The Java docs are really good, and usually everything there also applies to DotNetty
I've been culling through some of them, just had a bit of a flail grokking it - the examples for the ChannelHandler weren't sinking in.
I used SharpZipLib codes for compression because I used them for over 15 years now. You can use System.IO.Compression as well for it
i have a problem, my application using .net core 3.1.201, DotNetty 0.6.0, and MongoDB. it's a MMOG Server, so it will send many Packet. on windows server, it runs very well, and performance is good; but on linux, half of the process time is running __pv_queued_spin_lock_slowpath. how can
how can i find the problem of my application?
thanks a lot
Is it safe to swtich from TcpServerSocketChannel to TcpServerChannel ?
Are there any side effects that I should be aware of ?
if i have a server broadcasting data on a UDP port. would i be able to use DotNetty to receive it? or is DotNetty something thing 0MQ where I'd havta have both client and server on same transport?
@pindumb0_twitter looks like :( would be great if the original maintainers could give an update on GitHub, or reply to some issues
@nayato seems to be the original maintainer
Trying to locate any documentation for this... apart from Netty itself.
Hey guys, are there any local stack tools for Azure? I'm coming from AWS where you can simulate the whole stack using the serverless framework + deploy from the same config. Is there anything like that?
I see you can get containers for some of the services. Is there a common way to deploy from docker compose/kubernetes? For things like cloud functions + api gateways.
Hi folks, I have a question regarding IByteBuffer pooling and async send methods. Please pardon me if it's already documented somewhere.
When sending a IByteBuffer to a channel via WriteAsync/WriteAndFlushAsync - will it a) increment the reference counter when passed in, and b) decrement it once it has been sent?
Trying to work out when I need to decrement my reference (i.e. can I do it after calling .Async, or do I need to .ContinueWith to release it?)
Hi folks - one more quick question (the above question, seems to be it's automatic).
I'm having issues where with libuv the channel is made immediately Inactive. When not using libuv, it seems to work (but perf is terrible)
hi, do u have any experience with enablind dotnetty libuv support for xamarin (ios & android)? would be great if someone can discuss about it
Hey. Can DotNetty communicate with Java Netty?
@Kroseida yes, it can communicate with other language/framework, you just ensure your protocol
Is there a good example of using dotnetty as a tcp client?
the client should open and close connection for every request
and we should be able to throttle number of requests
how can i read the entire message coming back from server
how big is your message? It normal in TCP protocols that bigger messages get received in multiple receive events and needs to be put together then based on your underlying protocol
its around 8000 bytes
how can i do request/response pattern with dotnetty
@vsudhini Good question. You could create a state machine, but there are really many different possible ways to create a request and response system for any type of socket server, in any language that supports socket servers. Anyway, you could create a class that parses the responses and pass the socket object inside the constructor, and then create a class that takes the socket object to respond to as a parameter as well as the parsed message (or the parsed message object if you were to create a MessageParser class or something), and since you passed those two objects as parameters, you can use those object to send data back to the client using the socket object that was passed as a parameter in the responder class. Make sense? If not, DM me! :smile:
@NateTheGreat714 thanks for the response ... I solved it by using taskcompletionsource
@vsudhini Sounds cool. Glad to hear that you solved it. I am actually in a very similar situation, would you mind direct messaging me about the route and process of achieving your goal? And/or even showing me some example code you wrote to solve your issue?
Hi... What would be the best way to block/wait reading more messages for a certain Channel/Context? I have a solution that is acting as a TCP bridge between a Gateway and an IoT Hub.. And while the application is connecting to the IoT hub, I would like to paus reading more messages from the Gateway. Is this solvable with DotNetty or do I have to create my own locking mechanism?
Hi guys I don't know where to address this questions. Does this command: az storage queue create, creates an queue if doesn't exist or recreates it
Hi, I have dotnetty and java netty connection I'm using DotNetty as Server, java Netty as client. And I writing a buffer from dotnetty in channelactive method, but netty not firing read packet. Please help
Have anyone experienced that your application after a while runs out of memory because the PooledByteBufferAllocator eats all the memory from the instance? And in that case does anyone have a solution for it? The problem is that when a client disconnects it still doesn't release the memory, and our clients goes up and down quite often.
question out of context, do someone knows which version of Application Insights Snapshot Collector that is being used by Applicaton Insights in Azure?
hello , can someone pls tell me how to execute a function when this.channel.WriteAndFlushAsync(toSend) is done