© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
1 reply
./xehbit.sh

❔ PacketWriters for high performance requests over webwockets

Is there packet writer/reader that can perform efficiently with 10.000 requests per second?

An example for what i;m looking for;
public void OnVoice(User user, byte[] data)
{
    PacketWriter packet = new PacketWriter();
    packet.UInt8(0xFE); // Voice Packet ID
    packet.UInt64(UserID);
    packet.BytesWithSize(data);
    this.WebSocketClient.Send(packet.GetByteArray());
}
public void OnVoice(User user, byte[] data)
{
    PacketWriter packet = new PacketWriter();
    packet.UInt8(0xFE); // Voice Packet ID
    packet.UInt64(UserID);
    packet.BytesWithSize(data);
    this.WebSocketClient.Send(packet.GetByteArray());
}
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Performance of many small requests vs less but bigger requests
C#CC# / help
4y ago
❔ Preventing over-allocation over limit in database with lots of concurrent requests?
C#CC# / help
4y ago
❔ Improving performance for Process.Start
C#CC# / help
3y ago
Requests
C#CC# / help
3y ago