Hi load balanced load server using WCF and MSMQ

I am currently developing a spatial data processing server. Here are the requirements:

  • The server should be able to receive and process about 150-200 small messages per second (gps fix, some additional data).
  • It must be scalable. For example, to run on several machines and the balancing itself (without nlb)

I am currently testing such an architecture:

  • Incoming message service only responsible for receiving messages (without msmqwcf binding)
  • Message parser service. It receives messages from msmq, analyzes them and writes them to db, and also sends a notification to the next service (again with simple MSMQ interaction). This one can work on multiple PCs.
  • Data Publisher Service. It contains a small cache and is responsible for receiving the requested data from db. Sends notifications to clients using TCP binding through wcf.

Also, all services have methods for configuration and some other tasks that are called through the WCF TCP binding.

Small performance tests showed that it works pretty fast, but I am surprised that this is the best way to use these MSMQ and WCF for this particular application. Or maybe someone can give me directions where to look?

+3
source share
3 answers

I'm not sure about the specific question you have, it seems like this is more than a general design question, but since I love MSMQ, I will call here.

MSMQ , , , .

- MSMQ: , , .., , , .

№ 1 /, , (, / ), MSMQ .

№ 2, MSMQ, MSMQ, , . MSMQ? . MSMQ: , .

snafu MSMQ, , .

MSMQ
MSMQ ( ) ( ). MSMQ , . . , .


MSMQ () , , . MSMQ . .

, , ?
, , , .

?
- , , . , "" . . , , .

, / .


MSMQ . [n] , , . .

, MSMQ, , : msmq . , , , .

Nine Tips to Enterprise-proof MSMQ , MSMQ.

+15

. Im msmq . 1-2 . . , . , , , ..

: . , , , 3 . . StockTrader, - wcf .

msmq wpf. StockTrader, .

.

0

, , MSMQ concurrency . , , , ? , messgaes "event based" concurrency (, -) .

, CCR DSS, concurrency. , , , , , .

0

Source: https://habr.com/ru/post/1715334/


All Articles