Software development & .NET RSS 2.0
 Monday, October 27, 2008

The preconference session on WCF by Juwal Lowy was very interesting. Most WCF-talks focus on the mechanics: how to edit the config-file, what to do to use a specific protocol. Juwal instead demonstrated the productivity gains WCF brings to the platform.

Interesting quotes / take aways:

   "The first law of Xml: if you see xml, you're doing something wrong"

   Nobody cares about you doing plumbing ... so don't do plumbing.

Monday, October 27, 2008 6:23:34 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
PDC 2008
 Saturday, October 25, 2008

I just arrived in Los Angeles. The view from the hotel is a lot better than the previous visits to LA. I've registered for the pre-conference on WCF on Sunday, so I have tomorrow to adjust to the timezone and weather.

Saturday, October 25, 2008 2:48:44 AM (W. Europe Daylight Time, UTC+02:00)  #    Comments [1] -
PDC 2008
 Saturday, February 23, 2008
 Saturday, January 26, 2008
Saturday, January 26, 2008 9:39:55 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Fun
 Thursday, July 19, 2007

Nice sample of WPF being applied in an application at http://www.vertigo.com/familyshow.aspx

Don't have the 3.0 framework installed? Get it here

Thursday, July 19, 2007 9:40:28 AM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] -

 Thursday, July 12, 2007

I just finished the upgrade to das Blog 1.9.7174.0. This version has more support for reducing comment-spam. (See http://www.dasblog.info/ for other changes)
Browsing thru the old posts revealed a large number of 'contributions' from China and the Middle East. For some reason deleting comments from a post that has more than 4 comments takes quite some time. The amount of time increases exponentially with the number of comments. Not sure what causes this.
Luckily v1.9 allows me to prevent comments on posts older than 60 days, so cleaning old posts shouldn't be necessary after this.

One of the 'benefits' of removing comment spam is that it did demonstrate that Vista displays all of those non-western character sets. So we're one step closer in actually understanding what they are trying to sell.

Thursday, July 12, 2007 12:38:02 AM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] -

 Sunday, January 14, 2007

In his last two posts Anko describes the Peer-to-Peer-replication in SQL Server 2005. It is a valueable tool in improving both the availability and scalability of the database tier. Because the other tiers of the application can be easily 'scaled out' using load balancing this directly affects the scalability and availability of the entire application.

What is scalability? Wikipedia defines it as "Scalability is a desirable property of a system, a network or a process, which indicates its ability to either handle growing amounts of work in a graceful manner, or to be readily enlarged". If your application supports 100 concurrent users, how difficult would it be to support 1000 users? A 'graceful manner' would be to add some extra hardware to the server. It would not be graceful if you had to re-build the entire application.

With the continuing growth of the power of hardware, it becomes increasingly rare that an application would require more than a single database-server to deal with the load. Adding more hardware is called 'Scale up': a more powerful server enables more transactions. Although in most cases a normal server would be sufficient, you could spend a bit more: for a mere 6 million dollars you get over a million tpmC. If the business case requires these numbers of transactions, the cost of the server will probably become less important.

The alternative is 'Scaling out': adding more servers to share the load. Peer-to-Peer-replication enables this kind of scenario. The requirement for consistency between the different nodes makes the scaling out of the database much more difficult than scaling out the web/application-server.

Suppose we have two nodes, A & B, with peer-to-peer replication enabled. In an ideal situation it shouldn't matter which node processes an incoming request. For reading relatively static data this works pretty well. The real challenges come with modifying data. If an insert is performed against node A, you can't succesfully perform an update to that record on node B before the insert from node A is replicated.

The are two ways of solving this problem:

  • Perform modifications on all nodes before completing the transaction
  • Divide the database into logical pieces. Modifications to customers with a name starting with A-M are performed on node A; modifications for names from N to Z are performed on node B.

The last solution is what the article on MSDN suggests. Another solution mentioned in the article is to have all modifications performed on one of the nodes. Read-only tasks could be performed against the other node. This comes pretty close to physically clustering the database, but would still require the application to be aware of the configuration of the database. The application should be able to cope with the situation where an record that's inserted in one node, is not being returned from the 'read-only'-node.

The use of Peer-to-Peer-replication is something that should be decided when developing the architecture of the entire solution. At that time it can be weighed against other options like dividing the application into different subsystems with their own databases and caching data on the web/application-server.

So there are multiple options to scale SQL Server to handle a large number of transactions. Spending enough time on architecture and adding more hardware should cover most requirements. Combined with scaling out it's hard to imagine a load that it would not be able to handle.

Next post we'll look at availabilty.

Sunday, January 14, 2007 5:16:39 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Architecture | SQL Server
 Saturday, December 16, 2006

The long awaited sp1 for Visual Studio 2005 is available for download at http://www.microsoft.com/downloads/details.aspx?familyid=BB4A75AB-E2D4-4C96-B39D-37BAF6B5B1DC&displaylang=en

Saturday, December 16, 2006 8:47:51 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Tools
 Wednesday, December 13, 2006

The dates for the next PDC are from September 30 thru October 5. Seems that it will be held in LA yet again.

Wednesday, December 13, 2006 10:57:10 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -

 Friday, November 17, 2006

Vista is now available on MSDN!

Friday, November 17, 2006 11:29:04 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [1] -
Longhorn
 Tuesday, November 07, 2006

Office 2007 has been released to manufacturing. Shouldn't be to long before it becomes available on MSDN.

Especially for developers there are a lot of new features. And don't think it's just Word or Excel: there are also new releases of server products like Sharepoint Server and VSTO

http://blogs.msdn.com/erikaehrli/archive/2006/11/06/office2007_5F00_VSTO2005SE_5F00_RTM.aspx

Tuesday, November 07, 2006 11:58:33 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Office2007
 Sunday, July 16, 2006

Wrox has posted a video of a presentation by Scott Hanselman at a .NET user group. Scott is very passionate about productivity. How many times a day do you type 'otepad'? Watch the video and learn how you don't really have to.

Sunday, July 16, 2006 9:15:52 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [2] -
Coding | Tools
 Thursday, July 13, 2006

I just upgraded to dasBlog 1.8. The main reason was that the texteditor (ftb) in version 1.7 didn't work with IE7.

For those looking to upgrade to 1.8: the page editentry.aspx produces an error when you use IIS on Vista. The error I got was:

   "System.ArgumentException: Item has already been added. 
Key in dictionary: 'ꆈꌠꁱꂷ (ꍏꉸꏓꂱꇭꉼꇩ)' Key being added: 'አማርኛ (ኢትዮጵያ)' "

The code asssumes that the name of the culture is unique. I vaguely remember an article on changes to the way cultures work in .NET; those changes could be the reason this assumption is not longer valid.

Thursday, July 13, 2006 8:16:47 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] -
ASP.NET | Tools
 Tuesday, July 11, 2006
Tuesday, July 11, 2006 8:29:54 AM (W. Europe Daylight Time, UTC+02:00)  #    Comments [1] -
Fun
 Saturday, May 27, 2006

Although Chris Pirillo has composed a list of items that still need work, the first few hours with build 5384 have been pretty good. The install went very smooth. Even the smaller changes, make the process of installing a new OS more pleasant. For example: after selecting the locale, setup choose the right keyboard layout.

Limiting the privileges of the user (LUA) does lead to some small annoyances. Even when the user-account belongs to the local admin-group, accessing the local SQL Server from the Visual Studio enviroment doesn't work. For some reason the Sql Server Management Studio does manage to get access to the database. It turns out that after adding the specific user to the sysadmin-role on the database, the problem disappears. Minor discomfort.

The package in the SSIS-project I moved over from my XP-machine, initially failed to run. The (unchanged) package produced the following error: "the thread for the SSIS Bulk Insert task failed initialization". This happened at the point where data was being copied to a SQL Server database. Changing the destination from "SQL Server destination" to "Ole Db destination" seemed to resolve the issue. After changing the SQL datasource from integrated to SQL-login, the errors went away entirely. Because I'm not able to reproduce the initial error, i am not a 100% sure about what caused this. Might not be related to Vista at all.

On Vista-based machines it is not possible to send new messages using Outlook Web Access. Applying the fix at http://support.microsoft.com/kb/911829 should solve this. According to the knowledge base, Vista doesn't support the ActiveX control that is used for HTML editing.

Besides from these minor issues the experience is very good: I haven't seen any errors; all of the hardware was detected automatically. Even after installing Office, SQL Server and VS, the performance isn't any different from what I had running XP. From what I've seen sofar, they should be able to ship before the end of the year.

Saturday, May 27, 2006 12:20:03 AM (W. Europe Daylight Time, UTC+02:00)  #    Comments [1] -
Longhorn | SQL Server
Archive
<October 2008>
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
Alex Keizer
Sign In
Statistics
Total Posts: 86
This Year: 0
This Month: 0
This Week: 0
Comments: 71
Themes
Pick a theme:
All Content © 2010, Alex Keizer
DasBlog theme 'Business' created by Christoph De Baene (delarou)