Urgent: Navision MSMQ concurrency issue

mc1234
Member Posts: 14
Hi,
I have a question regarding MSMQ. We developed a .NET system which communicated with Navision through NAS and MSMQ.
Does MSMQ handles in FIFO matter or more than 1 message at the same time?
Does NAS helps in this matter? How?
Because it seems like it does not. We have a search function which currently retrieves around 75000 records. It takes a bit of time and meanwhile it blocks all the users from using the system.
Is there a ways to change how MSMQ works in order to allow other users using the system concurrently>
Environment:
- Navision 3.07
- NAS 3.06
- SQL Server 2000
- RAM 3GB
- Windows 2003
- .NET Framework 3.5
Thanks for your help!
I have a question regarding MSMQ. We developed a .NET system which communicated with Navision through NAS and MSMQ.
Does MSMQ handles in FIFO matter or more than 1 message at the same time?
Does NAS helps in this matter? How?
Because it seems like it does not. We have a search function which currently retrieves around 75000 records. It takes a bit of time and meanwhile it blocks all the users from using the system.
Is there a ways to change how MSMQ works in order to allow other users using the system concurrently>
Environment:
- Navision 3.07
- NAS 3.06
- SQL Server 2000
- RAM 3GB
- Windows 2003
- .NET Framework 3.5
Thanks for your help!
0
Comments
-
mc1234 wrote:Hi,
I have a question regarding MSMQ. We developed a .NET system which communicated with Navision through NAS and MSMQ.
Does MSMQ handles in FIFO matter or more than 1 message at the same time?
Does NAS helps in this matter? How?
Because it seems like it does not. We have a search function which currently retrieves around 75000 records. It takes a bit of time and meanwhile it blocks all the users from using the system.
Is there a ways to change how MSMQ works in order to allow other users using the system concurrently>
Environment:
- Navision 3.07
- NAS 3.06
- SQL Server 2000
- RAM 3GB
- Windows 2003
- .NET Framework 3.5
Thanks for your help!
Hi
Nas is like every other client, without a gui.
It process only one messange at the time and you can't change this.
Review your customization to be faster and/or to reduce locks.
Bye
MatteoReno Sistemi Navision Developer0 -
Hi,
Will multiple instances of NAS's solve this issue?
If no, is there any work around to these issues?
Thanks!0 -
mc1234 wrote:Hi,
Will multiple instances of NAS's solve this issue?
If no, is there any work around to these issues?
Thanks!
Yes you can process 2 message at the same time with 2 NAS but verify if you customization can be executed at the same time without deadlocking each other.
MatteoReno Sistemi Navision Developer0 -
I don't know if connecting multiple NAS instances to the same queue will work, I would probably design the solution around having a separate queue for each instance of NAS, and somehow separate the messages by type.0
-
Is it possible to read the search directly from SQL in this kind of Web Environment? Or will this still be a problem?0
-
DenSter wrote:I don't know if connecting multiple NAS instances to the same queue will work, I would probably design the solution around having a separate queue for each instance of NAS, and somehow separate the messages by type.
Hi
2 NAS on the same queue works well
MatteoReno Sistemi Navision Developer0 -
mc1234 wrote:Is it possible to read the search directly from SQL in this kind of Web Environment? Or will this still be a problem?
It is possible, however, your DBA may get grumpy as it's not (reasonably) possible to access the v3 sumindexes from the SQL level and you'll have to bypass the Navision security.
Multiple NASs is the best bet though in addition segregating the slow jobs from the quick ones may be a good idea.
Using CFRONT is another possible option (with sumindexes), though rarely the right one.Robert de Bath
TVision Technology Ltd0 -
Ok then. Thanks for all your replies they are of great help.
How many instances of NAS am i allowed to install?0 -
As many as you buy. (It's Microsoft)
I think a current license without any extras does actually give you one though.Robert de Bath
TVision Technology Ltd0 -
ok then. That makes sense for me.
Thanks.
Another question, do you think that the best way to communicate between .net and navision is the NAS or is there another option.
Thanks0 -
For V3 a NAS is best. But V6 (2009) does give you the ability to create a webservice which I understand is multithreaded.Robert de Bath
TVision Technology Ltd0 -
The problem that I have with this architecutre is that I'm recieving MSMQ error messages saying "insufficient resources" any idea how to solve this?0
-
Answer 1: jfgi
Top possibility IMO, messages are limited to 4MB by MSMQRobert de Bath
TVision Technology Ltd0 -
The thing is that we don't have any messages more than 4MB. Could it be because of the fact that we are enabling the MSMQ Journal ?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