Henrik
  • Member for 10 years, 11 months
  • Last seen more than 2 years ago
What should I do to scale out a high-traffic website?
13 votes

A few things you might consider: Separating read- and write-sides of your data storage. CQRS/Event Sourcing CQS Message-passing/Actors Avoiding shared process and thread state Hence avoiding ...

View answer
Should programming languages be strict or loose?
6 votes

The answer to how loose you should make your language is equal to the answer of the question said in an Texas accent "How lucky do you feel, punk?".

View answer
Command handlers and DDD
Accepted answer
4 votes

I think you need to separate two types of validation in this case; domain validation and application validation. Application validation is what you have when you verify that the command property '...

View answer
What makes a project big?
3 votes

Arbitrary answer: How big the project is how much you wish you had done it with event-sourcing and SOA from the start. Or that the authors of the system had read Evan's book "DDD: Tackling Complexity ...

View answer
What are the practical uses of Windows Services?
2 votes

Here's a sample usage of the service concept with real code (se below). What it does is to configure a service bus that consumes off of a queue and listens to messages from web servers and client ...

View answer
How do i create a logic for dynamic product list page like below using php and bootstrap?
1 votes

Let PHP serve a paginated list of your catalog items at /catalog/items?start=20&length=50 Bootstrap's columns are used on your HTML elements' class attributes; this enables resize of the viewport ...

View answer
How to update a model with dependencies
1 votes

Observations: Your model has navigational properties (e.g. Label -> Message, StationFilter <-> Station); try to eliminate one side of the relationship to lessen the mental overhead and the need ...

View answer
Interacting With Data Using Multiple Databases/Servers
1 votes

OK, so here's another viewpoint on scalability. Let's discuss what it means for things to be data, what it means to have behaviour and what it means to have application logic. Normally, when one ...

View answer
Interacting With Data Using Multiple Databases/Servers
1 votes

There are three major types of replication configurations for databases: Master-Slave Master-Master Consensus Master-Slave example: MySQL master + MySQL slaves, MongoDB Master-Master example: ...

View answer
Sharding with IoC
1 votes

I think it depends on how well your entities that you are persisting are segregated. If they are coupled and you are relying on cross-table joins to bring some arbirary read (+projection) state up and ...

View answer
Dependency analysis from C# code through to database tables/columns
0 votes

Maybe you can hack it yourself with the database's system information tables, and e.g. ReSharper's PSI-module for analyzing C# code; given that you call SProcs and SQL in a fairly common manner, you ...

View answer