Epic Battle: Concurrent Map Reduce vs Concurrent Suitelet
I am a big fan of Map Reduce scripts, spreading the load among 5 queues makes a huge difference when processing your data. Unfortunately to take advantage of the concurrent queues feature your account must have a SuiteCloud plus license.
So I figured it would be cool to simulate this feature with Suitelets. Suitelets support up to 50 concurrent connections and they are available without the need of SuiteCloud plus.
The results were very surprising.
Test scenario:
- Task: Create and delete a custom record with no fields.
- Account: Account with SuiteCloud Plus license in Sandbox.
- Map Reduce: Run task 10k times by returning an array of 10k elements on the getInputData step and let the reduce step handle the main logic.
- Suitelet SS2.0: Run task once per call. Return “OK” as response. Available without login (External).
- Use Apache JMeter to call the Suitelet 10k times.
- Additionally call the Suitelet using Ajax with browser (Chrome) 5k times (to avoid browser memory issues).
1 2 |
var newRec = RECORDMODULE.create({type: 'customrecord_load_test' }).save(); RECORDMODULE.delete({ type: 'customrecord_load_test', id: newRec}); |
Here are the results:
Map Reduce w/buffer size of 1 : 196 seconds ~ 51 per second
Map Reduce w/buffer size of 64: 518 seconds ~ 19 per second
Suitelet w/JMeter w/50 at a time: 55 seconds ~ 181 per second
Suitelet w/JMeter w/100 at a time: 30 seconds ~ 333 per second
Suitelet w/JMeter w/200 at a time: 24 seconds ~ 416 per second
Suitelet w/JMeter w/250 at a time: 24 seconds ~ 416 per second
Suitelet w/JQuery: 1000/44 secs ~ 22 per second
As you can see, I ran multiple test variations. After I saw that the Suitelet was able to handle 50 requests at a time I went crazy and increased the number of concurrent requests. I got up to 250 requests being handled successfully. Once I reached 300 requests at a time I started getting errors and not all the records were successfully created.
As you can see, after 200 requests you pretty much get the same speed. This could be caused by my system, JMeter, my internet connection or by some throttling happening on the Netsuite side, I don’t know.
Conclusion:
This approach can be pretty handy if you ever need to process large quantities of records and you need even more speed than what Map Reduce gives you. You would need to develop your Suitelet in a way that even if something goes wrong you have a way to identify the errors and retry the operations. Additionally, you would need to get a tool that bypasses the browser restrictions such as Apache JMeter and configure it if you need to pass any data to the Suitelet.
Anyways, the difference is huge. Basically you could process 1 million records in 40 mins in the Suitelet vs 5:30 hrs in a Map Reduce… and this is in Sandbox, go figure how faster this would be in Production.
Pingback: DMPK()
Pingback: hash()
Pingback: must watch()
Pingback: bandar bola online()
Pingback: sscn bkn cpns 2018 untuk slta()
Pingback: Late holiday deals()
Pingback: make money with a iphone()
Pingback: Bdsm chat()
Pingback: manutencao informatica()
Pingback: aws aws()
Pingback: PK studies for drugs()
Pingback: Dokter obgyn tangerang()
Pingback: marriage organizers in hyderabad()
Pingback: 먹튀검증()
Pingback: pendaftarancpns2018()
Pingback: CPNS 2018 Kota Tangerang Selatan()
Pingback: 主页()
Pingback: Rolex Replica Watches()
Pingback: C++ Tutorial()
Pingback: winstrol tabs 50mg()
Pingback: learn()
Pingback: In Vitro ADME Studies()
Pingback: bennie macs on 1st llc()
Pingback: In vitro DMPK()
Pingback: payday loan()
Pingback: Bangalore Escorts()
Pingback: Kolkata Escorts()
Pingback: Goa Escorts()
Pingback: Ambika Ahuja Jaipur Escorts()
Pingback: NEHA TYAGI PORN MODEL JAIPUR ESCORTS()
Pingback: JAIPUR ESCORTS ALIYA SINHA()
Pingback: BANGALORE COMPANION ESCORTS()
Pingback: Dhruvi Jaipur Escorts()
Pingback: JAIPUR ESCORTS MODEL DRISHYA()
Pingback: Jiya Malik High Profile Jaipur Escorts Model()
Pingback: FUN WITH JAIPUR ESCORTS PUJA KAUR()
Pingback: XXX BANGALORE ESCORTS()
Pingback: XXX PORN SAPNA CHAUDHARY ESCORTS()
Pingback: Selly Arora Independent Bangalore Escorts()
Pingback: Enjoy With Jaipur Escorts Tanisha Walia()
Pingback: RUBEENA RUSSIAN BANGALORE ESCORTS()
Pingback: Bristy Roy Independent Bangalore Escorts()
Pingback: XXX PORN SRUTHI PATHAK MODEL ESCORTS()
Pingback: Bangalore Escorts Sneha Despandey()
Pingback: XXX PORN MODEL HONEY PREET ESCORTS()
Pingback: XXX PORN Radhika Apte Model Escort()
Pingback: 4sf8399dedf47934722b63.com learn more here()
Pingback: visit the page()
Pingback: notehub.org go B3se9()
Pingback: link to the page()
Pingback: source()
Pingback: notehub.org()
Pingback: muscle building oral steroids manufacturers()
Pingback: click here()
Pingback: notehub.org()
Pingback: source()
Pingback: notehub.org()
Pingback: notehub.org()
Pingback: more information()
Pingback: notehub.org i provide a link dQ6kw()
Pingback: follow this post()
Pingback: more info()
Pingback: notehub.org()
Pingback: please click for source()
Pingback: notehub.org()
Pingback: check this out()
Pingback: link to a continuation()
Pingback: click to go()
Pingback: notehub.org read article()
Pingback: notehub.org()
Pingback: notehub.org click at this page()
Pingback: notehub.org read more()
Pingback: notehub.org here is the link()
Pingback: notehub.org read article()
Pingback: notehub.org more detailed on this page 0q6N()
Pingback: notehub.org visit the page()
Pingback: view more()
Pingback: notehub.org()
Pingback: notehub.org()
Pingback: notehub.org go()
Pingback: Ruby Sen Kolkata Independent Escorts()
Pingback: Diana Diaz Goa Independent Escorts Services()
Pingback: Diksha Arya Independent Escorts Services in Kolkata()
Pingback: Devika Kakkar Goa Escorts Services()
Pingback: Rebecca Desuza Goa Independent Escorts Services()
Pingback: Yamini Mittal Independent Escorts Services in Goa()
Pingback: Simmi Mittal Kolkata Escorts Services()
Pingback: Kolkata Escorts Services Ragini Mehta()
Pingback: Navya Sharma Independent Kolkata Escorts Services()
Pingback: Elisha Roy Goa Independent Escorts Services()
Pingback: Alisha Oberoi Kolkata Escorts Services()
Pingback: Divya Arora Goa Independent Escorts Services()
Pingback: Simran Batra Independent Escorts in Kolkata()
Pingback: Ashna Ahuja Escorts Services in Kolkata()
Pingback: Sofia Desai Escorts Services in Goa()
Pingback: Mayra Khan Escorts Services in Kolkata()
Pingback: Goa Escorts Services Drishti Goyal()
Pingback: Sruthi Pathak Escorts in Bangalore()
Pingback: Ambika Ahuja Jaipur Escorts Services()
Pingback: 5b4143efd6f5d2a20854899.com follow this link()
Pingback: 5b4143efd6f5d2a20854899.com()
Pingback: d2a20854899.com read more CsdiJr()
Pingback: amateurgirls36()
Pingback: topfuckgals.mobi a source ju7XYZ()
Pingback: sirius latest movs109()
Pingback: ursuscode.com437()
Pingback: ursuscode.com53()
Pingback: comment853()
Pingback: comment130()
Pingback: comment909()
Pingback: comment882()
Pingback: comment550()
Pingback: comment872()
Pingback: comment138()
Pingback: comment754()
Pingback: comment63()
Pingback: comment149()
Pingback: comment923()
Pingback: comment651()
Pingback: comment789()
Pingback: comment237()
Pingback: comment364()
Pingback: comment947()
Pingback: comment60()
Pingback: comment704()
Pingback: comment863()
Pingback: comment334()
Pingback: comment632()
Pingback: comment370()
Pingback: comment969()
Pingback: comment290()
Pingback: comment469()
Pingback: comment931()
Pingback: comment19()
Pingback: comment499()
Pingback: comment280()
Pingback: comment934()
Pingback: comment553()
Pingback: comment436()
Pingback: comment894()
Pingback: comment32()
Pingback: comment526()
Pingback: comment349()
Pingback: comment388()
Pingback: comment373()
Pingback: comment351()
Pingback: comment991()
Pingback: comment253()
Pingback: comment614()
Pingback: comment606()
Pingback: comment736()
Pingback: comment471()
Pingback: speedsexsite.mobi link uAmmYq()
Pingback: bestslutspics.mobi more information L5vOTF()
Pingback: Sruthi Pathak Bangalore Female Escorts()
Pingback: topfuck123gals.mobi()
Pingback: new siriustube472 abdu23na2337 abdu23na39()
Pingback: new siriustube298 abdu23na4817 abdu23na90()
Pingback: Sruthi Pathak Bangalore Escorts Services()
Pingback: Trully Independent Bangalore Escorts()
Pingback: Trully Independent Bangalore Escorts Services()
Pingback: Fiza Khan Kolkata Independent Call Girls Services()
Pingback: Ruchika Roy Kolkata Escorts Call Girls Services()
Pingback: Fiza Khan Kolkata Independent Escorts Call Girls Services()
Pingback: Fiza Khan Kolkata Call Girls Escorts Services()
Pingback: Diksha Arya Kolkata Escorts Call Girls Services()
Pingback: Diksha Arya Kolkata Independent Escorts Call Girls Services()
Pingback: Web Design()
Pingback: B4C powder()
Pingback: Cheap()
Pingback: Nidika Offer Call Girls in Bangalore()
Pingback: 바카라사이트()
Pingback: Pune Escorts Services Call Girls()
Pingback: Hyderabad Escorts Call Girls Services()
Pingback: Bangalore Cheap Escorts Sevices()
Pingback: Goa Escorts Call Girls Services()
Pingback: Bangalore Escorts Services()
Pingback: Bangalore Escorts()
Pingback: buy levitra in england()
Pingback: order cialis online pharmacy()
Pingback: generic viagra gel()
Pingback: order cialis online overnight()
Pingback: i need help writing a essay()
Pingback: dissertationhelpvfh.com()
Pingback: help write an essay()
Pingback: cheapest custom essays()
Pingback: college essay writing service()
Pingback: buy apa research paper()
Pingback: thesis for dummies()
Pingback: write my paper for money()
Pingback: help me write a thesis()
Pingback: order cialis online generic()
Pingback: order cialis 20 mg()
Pingback: order original cialis()
Pingback: order cialis()
Pingback: cialis over the counter()
Pingback: generic cialis()
Pingback: cheap cialis()
Pingback: order cialis 20 mg()
Pingback: when to take viagra()
Pingback: does viagra lower blood pressure()
Pingback: how to get viagra()
Pingback: how much icariin equals viagra()
Pingback: canada rx()
Pingback: canadian pharmacy online()
Pingback: Tadalis SX()
Pingback: online pet pharmacy()
Pingback: prescription online()
Pingback: viagra()
Pingback: sildenafil cost()
Pingback: cialis copay card()
Pingback: unsensored viagra prank()
Pingback: pov dauvbter gives dad viagra()
Pingback: does walgreens sell cialis or viagra()
Pingback: viagra cheap()
Pingback: cialis and alcohol side effects()
Pingback: supplement for viagra()
Pingback: cialis ontario no prescription()
Pingback: cialis for sale canada()
Pingback: can i buy cialis in toronto()
Pingback: generic cialis testimonials()
Pingback: cialis original for sale()
Pingback: how to buy cialis online from canada()
Pingback: cialis no prescription paypal()
Pingback: buy cialis toronto()