What is best to use, message queue, 2009 webservice, or ?
jannav
Member Posts: 15
Hi,
We would like to synchronize some data with head-office. It looks like we can do this with the NAV 2009 version webservice but what happens if 200 external users sync their data (10-100Kb). I gues it's processed one by one.
We could have the webservice running on the NAV server and from a different IIS server send the outside request to the webservice but then again the IIS would have multiple threads to the webservice, which can only handle ?
With the NAS and a message queue the same, but I thought the request will be placed in the queue, so if the sender doesn't expect a reply, the NAS could (single thread, one by one) process all the received data.
or is there a another option? and thank you for helping out, or even a hint what you use now and why it's best to use or avoid it.
We would like to synchronize some data with head-office. It looks like we can do this with the NAV 2009 version webservice but what happens if 200 external users sync their data (10-100Kb). I gues it's processed one by one.
We could have the webservice running on the NAV server and from a different IIS server send the outside request to the webservice but then again the IIS would have multiple threads to the webservice, which can only handle ?
With the NAS and a message queue the same, but I thought the request will be placed in the queue, so if the sender doesn't expect a reply, the NAS could (single thread, one by one) process all the received data.
or is there a another option? and thank you for helping out, or even a hint what you use now and why it's best to use or avoid it.
0
Comments
-
WS in NAV 2009 are multithreaded! They are processed in parallel, if they do not lock each other on data.0
-
Thx, for the info
, have been reading a lot more on this forum and think this would be a normal situation?
200 internet users <---> IIS webservice/normal webpage <
> NAV 2009 webservice + NAV server
We could remove IIS webservice, but with it, we have an extra step, but also more security and we can use IIS compression to send data back quickly.
Is this setup multithreaded too? If 10 users all submit a (read) request on IIS, then 10 request are made to the NAV 2009 webservice and start all in at the same time?
Sorry for all the questions, of course I will read on on this forum.0 -
Yes, the NAV 2009 webservices are multithreaded, thus this solution is multithreaded too. Of course, depends on what you are doing in NAV with the webservices. If it is something locking tables, the threads will be waiting like any other clients. Allowing 200 users to connect to the NAV DB could be possible performance issue, but again, it depends on what they will be doing...0
-
kine wrote:Yes, the NAV 2009 webservices are multithreaded, thus this solution is multithreaded too. Of course, depends on what you are doing in NAV with the webservices. If it is something locking tables, the threads will be waiting like any other clients. Allowing 200 users to connect to the NAV DB could be possible performance issue, but again, it depends on what they will be doing...
Thanks for the update Kine..
Because I needed to implement a webservice in NAV4.0 I've used this one: http://blogs.msdn.com/b/nav/archive/200 ... v-5-0.aspx
and it's very stable (knock on wood). I guess it's not multithreaded?0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
