Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1007548 - Check Web Server Concurrency

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1461L/10K/36K).

!7

sS url = "http://ai1.lol/wiki/sleep";
static int threads = 100;

p {
  for i to threads:
    thread { time { loadPage(url); } }
}

download  show line numbers  debug dex   

Travelled to 10 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1007548
Snippet name: Check Web Server Concurrency
Eternal ID of this version: #1007548/3
Text MD5: 9d82432efa78a5891c94ee143f614241
Transpilation MD5: 201611d5f6bcf67f9ef93246a18dc489
Author: stefan
Category: javax / web serving
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-26 15:05:47
Source code size: 141 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 273 / 289
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1007548 & http://1007548.tinybrain.de