Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QSharedPointer and... self reference?
Forum Updated to NodeBB v4.3 + New Features

QSharedPointer and... self reference?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qsharedpointer
21 Posts 4 Posters 4.2k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Dariusz
    17 May 2021, 18:40

    @SGaist Say I get 30-40k connections, it takes about 800ms to decrypt the packet, even when I run 50 threads that is 700 connections per thread that's 700ms per login packet etc etc. With so much data it takes few seconds to get it "rolling" and validation can take some time too. As he has to check login attempts/etc/etc flag bad connections/etc/etc.

    K Offline
    K Offline
    kshegunov
    Moderators
    wrote on 18 May 2021, 10:36 last edited by
    #21

    @Dariusz said in QSharedPointer and... self reference?:

    @SGaist Say I get 30-40k connections, it takes about 800ms to decrypt the packet, even when I run 50 threads that is 700 connections per thread that's 700ms per login packet etc etc.

    Btw, do you have a 50 core machine? If you don't, then just don't.
    Threads don't materialize performance out of thin air!

    Simply run a few threads instead of wasting all the time in context switches.

    Read and abide by the Qt Code of Conduct

    1 Reply Last reply
    3

    21/21

    18 May 2021, 10:36

    • Login

    • Login or register to search.
    21 out of 21
    • First post
      21/21
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved