Can I make a restlet call to NetSuite without spec...
# suitescript
d
Can I make a restlet call to NetSuite without specifying the
deployment
and have NetSuite simply pick the first unused
deployment
?
b
no
though im not sure why you would need to do so, restlets support concurrent requests
d
Right, I have a client who's got a firehose of events sending to a single deployment ...
While I'm working on their side to better approach this, I wondered if releasing a ton of deployments and simply let NetSuite decide which 'free' dployment to use, would make sense
b
you should get the same performance out of 1 deployment vs 10
d
Hmmm. Ok
I'm really doing 2 things in the restlet, create record, trigger M/R. I'm wondering if doing the record.create with a promise would increase efficiency?
b
not really unless you can trigger the m/r before creating the record