Are web services truly multi-threaded

jwilder
Member Posts: 263
We have gone live with a new website that is using NAV Business Web Services for part of the integration. 2 examples are a real time inventory looked and a real time order detail ooked. The inventory lookup returns the current available quantity for an item while the order detail look up returns all sorts of info about the order such as header,lines,tracking no's etc...
I am starting to question if web services allows more than one call at the same time. I have never seen more than one named user under sql process's that has to do with web services at a time. I was expecting that during any given moment there could be 5, 10 or even 20 people on the website doing something that would be calling web services. Wouldn't I see this under SQL processes or even as database connections in NAV?
How can I prove out that NAV Business Web Services are truly multi-thread? And by the way I have kept the MaxNoOfConcurrentCalls setting in config file set at 40.
I am starting to question if web services allows more than one call at the same time. I have never seen more than one named user under sql process's that has to do with web services at a time. I was expecting that during any given moment there could be 5, 10 or even 20 people on the website doing something that would be calling web services. Wouldn't I see this under SQL processes or even as database connections in NAV?
How can I prove out that NAV Business Web Services are truly multi-thread? And by the way I have kept the MaxNoOfConcurrentCalls setting in config file set at 40.
Jason Wilder
jwilder@stonewallkitchen.com
jwilder@stonewallkitchen.com
0
Answers
-
Try to create web service that runs long time and try call from different browsers...
create table - web call with integer primary key and Autoincrement = YES... and insert "start" record in the beginning of function and "end" record at the end... If it is parallel you should see starts one after another and if not you will always have Start, End combination.0 -
Great suggestion. I do not have access to the web code so I was looking more for a backend type solution that would probably involve sql server. I would literally like to see the mutliple process's logged in sql at the same time.
I have done similar tests to what you suggest in vb.net and it works as expected. I need to prove out that our current web integration (which uses Java) is working the same (meaning multi-threaded).
Any other thoughts?Jason Wilder
jwilder@stonewallkitchen.com0 -
We have done a test with 6 people hitting web services every second. Also there was another automated process hitting web services many times per second.
Visually performance was great. During this time I monitored sql processes in sql actvity monitor. I filtered on processes called Microsoft Dynamics NAV Web. At a couple of points I saw 2 processes in there. This actually proves what I was looking for.
My final question is what licenses are required for Microsoft Dynamics NAV Web connections(this is the name of the Application processes shown in SQL). We have our SQL Server licensed per processor. In NAV we have we have the External Connector and 1 Web User license. Do people think this is what I need? What are Web User Licenses for (it is granule 2310) maybe the Role Tailored client?Jason Wilder
jwilder@stonewallkitchen.com0 -
I believe the answer is granule 2510 External Connecter provides unlimited external connections. Micorsoft states: “The External Connector licenses access to Microsoft Dynamics NAV for an unlimited number of external users”. Someone browsing our website is considered an external user.
Also make sure your NAV SQL Server Database license is Per Processor which supports unlimited users. This is by far the biggest cost if you are planning on using business web services with your web site.Jason Wilder
jwilder@stonewallkitchen.com0 -
Also the "External Connecter" only covers non-employees. If your employees (or contractors) are accessing NAV via Web Services they must be specifically licensed. The new licensing last month changed some of these details for NAV 2009.There are no bugs - only undocumented features.0
-
Makes sense. Brian I think what you are talking about would fall under granule 2310 Web Users. You need one for each employee/contractor.
What about the RTC, does that use normal classic client licenses or web user licenses?Jason Wilder
jwilder@stonewallkitchen.com0 -
RTC uses the full service license as the classic client. Not sure what 2310 is.There are no bugs - only undocumented features.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions