BizTalk Rulez

About BizTalk and Connected puzzled
posts - 225, comments - 2405, trackbacks - 190

My Links

Archives

.Me

.MVP

.Net 3.0

Adapters

Administering

BizTalk Docs

BizTalk Poster

BizTalk Server Developer Center

EDI

Hot!

Info

Microsoft Net

MOM

Nino's TechNet Articles

Quicklink

RFID

SAP

Tools

VM

Webcast

Biztalk 2006 256 Bytes Limit

In un newsgroup mi hanno fatto una domanda molto interessante, che riporto fedelmente.

...ricordo che nella versione 2004 non si possono promuovere stringhe + grandi di 250 caratteri,
pena un errore a run-time. In questi casi bisogna perforza usare XPath.
Nino, anche la versione 2006 ha questa limitazione?

Ringrazio la persona che mi ha posto questa domanda, questo mi offre un' interessante momento di riflessione e credo possa essere utile alla comunità che io risponda anche sul blog.

Esiste la limitazione anche in 2006, per la precisione 256 Bytes (512 byte se sono caratteri in Unicode)
Questa limitazione è assolutamente corretta.
Mi spiego meglio, le propprietà in promotion vengono considerate da Biztalk come campi per Routing, Tracking e varie operazioni di compare.
Per ragioni di performance Microsoft ha deciso di limitare le proprietà in promotion a 256 Bytes.

Facciamo un' esempio pratico e vediamo quanto può costare una promotion in termini di occupazione del nostro database di tracking.

Prendiamo un processo di business che riceve semplicemente un messaggio e lo spedisce.

Ho un messaggio di 5 Kb
Non ha proprietà in promotion
I messaggi ricevuti in un anno sono 3.500.000
Abbiamo tutti lgi eventi di tracking attivi.

Questo processo creerà vari messaggi, quali:
Message0, è il messaggio in entrata
Message1, è il messaggio di output della receive port
Message2, è il messaggio di output della orchestration
Message3, è il messaggio di output della send port

Ecco cosa risulta.

[(3*150 bytes) + (6*230 bytes) + (0*0(52 bytes + 0) *
3,500,000]/1024/1024
[(450 + 1380 + 0) * 3,500,000]/1024/1024 = 6108 MB ~ 5.96 GB all' anno

Adesso promuoviamo un campo di 10 bytes

[(3*150 bytes) + (6*230 bytes) + (1*3*(52 bytes + 10
bytes) * 3,500,000]/1024/1024
[(450 + 1380 + 186) * 3,500,000]/1024/1024 = 6729 MB ~ 6.57 GB per anno

Credo risulterebbe molto periocoloso inibire questa limitazione smile_regular, le promotions in Biztalk devono essere utilizzate con le dovute precauzioni.

Per essere più precisi questa limitazione è in sola lettura e non in scrittura, questo perchè nella pipeline di send le proprietà entrano
in stato demoted.

Print | posted on lunedì 29 gennaio 2007 12.27 |

Feedback

Gravatar

# re: Biztalk 2006 256 Bytes Limit

Ciao Nino, sono arrivato anche qui!
Spero in futuro di stimolare sempre di + le tue preziose e complete risposte!
30/01/2007 15.16 | Fabio Ucosich
Gravatar

# re: Biztalk 2006 256 Bytes Limit

Grazie Fabio, quello che dici mi fa molto piacere, sono questi gli interventi che mi fanno capire che i sacrifici che faccio per la comunità, scrivendo articoli e post durante le notti e il poco tempo libero che ho, valgono la pena di essere fatti.
Grazie ancora
Ciao Nino
30/01/2007 15.29 | Nino Crudele
Gravatar

# re: Biztalk 2006 256 Bytes Limit

Comfortably, the article is in reality the greatest on this noteworthy topic. I concur with your conclusions and will thirstily look forward to your upcoming updates

South Jordan Roofer
custom printing t shirts
06/11/2011 17.25 | vanesd
Gravatar

# re: Biztalk 2006 256 Bytes Limit

nice article, i just finished bookmarking it for future reference. i would love to read on future posts. how do i configure the rss again? thanks!

Calgary hotels
computer repair new york city
08/11/2011 10.51 | fragon
Gravatar

# cheap Ugg Monster

UGG Boots<br>
Then divided into ugly snow bootsMilitary Green Ugg Argyle Knit Boots Women, awkwardly out, does not seem appropriateMaroon UGG Roxy Tall boots, such as Chanel, Dsquared2 are invariably added to the large area of ??artificial fur decorationCheap Ugg Nightfall Boots Chestnut.
www.uggonlinesaleshop.com<br><br>

Monster Headphones<br>
The vast majority of music ear headphones simply cut ultra-low frequency partdiscount cheap Monster Beats By Dr Dre butterfly Headphones Control High Performa gold, because they can not perfectly reproduce this part of the frequency responsediscount cheap Monster Beats By Dr Dre Lady Gaga Headphones with Control Talk High Performance Professional black, and the devil can produce powerful bass sounddesigner Monster Diddy Beats By Dr Dre Headphones with Control Talk High Performance Professional white, you can imagine there is a subwoofer in your ears.
http://www.monsterheadphonesales.com
09/01/2012 2.37 | cheap Ugg Monster

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 7 and 8 and type the answer here:

Powered by: