P*ka github

kensha

Well-known member
  • Dec 8, 2006
    4,759
    608
    113
    37
    Cyber Worldz
    Puka is fast

    Puka is asynchronous and has no trouble in handling many requests at a time. This can be exploited to achieve a degree of parallelism. For example, this snippet creates 1000 queues in parallel:

    promises = [client.queue_declare(queue='a%04i' % i) for i in range(1000)]
    for promise in promises:
    client.wait(promise)
     

    ManOfSteel

    Well-known member
  • Jan 4, 2013
    2,932
    3,004
    113
    Invalid
    Puka is fast

    Puka is asynchronous and has no trouble in handling many requests at a time. This can be exploited to achieve a degree of parallelism. For example, this snippet creates 1000 queues in parallel:

    promises = [client.queue_declare(queue='a%04i' % i) for i in range(1000)]
    for promise in promises:
    client.wait(promise)

    :lol: :lol: :lol:
     

    LKS007

    Well-known member
  • Jun 14, 2008
    39,773
    3,765
    113
    මාතර - මාලෙබ් - melbourne
    1451583_583417461731498_785291226_a.jpg
    1451583_583417461731498_785291226_a.jpg