Buffer Cache Makes Slow Disks Seem Fast, Till You Need Them.

Linux has this wonderful thing called the buffer cache (for more detail read here ). In summary, it uses all your free ram as a cache for file access. Because of buffer cache you can easily get under 1 millisecond … Continue reading 

Posted in Sysadmin | Tagged , , | 4 Comments

Angular JS–Part 14, End to end tests

Introduction The list of earlier posts in this series about Angular JS can be found here. Automated end to end tests are an important part of the continuous integration and continuous delivery cycle. Without automated end to end tests delivering … Continue reading 

Posted in AngularJS, E2E testing, introduction, Setup | 6 Comments

Data Modeling for Scale with Cassandra

Reads and the perils of index tables. I frequently see index tables in Cassandra being used to allow a One Source Of Truth. It’s important to remember when designing a truly distributed system relational algebra really doesn’t scale, and in … Continue reading 

Posted in Cassandra | 1 Comment

AutoMapper 3.2.0 released

Full release notes on the GitHub site Big features/improvements: LINQ queryable extensions greatly improved ICollection supported MaxDepth supported Custom MapFrom expressions supported (including aggregations) Inherited mapping configuration applied Windows Universal Apps supported Fixed NuGet package to not have DLL in … Continue reading 

Posted in AutoMapper | 17 Comments

Working hard and enjoying every minute of it.

I have not blogged in almost a year, I am a total slacker. But, I really want to share what I have been doing and what my team and I have learned, so in the coming months, I will be … Continue reading 

Posted in .Net | 8 Comments

Heartbleed Hotel: The biggest Internet f*ckup of all time

The heartbleed bug is the single biggest f*ckup in the history of the Internet. For anyone that doubts the veracity of this claim let me state the plain and simple facts: Since December of 2011 any individual with an Internet … Continue reading 

Posted in heartbleed, internet, web | Tagged | 13 Comments

Using AutoMapper to perform LINQ aggregations

In the last post I showed how AutoMapper and its LINQ projection can prevent SELECT N+1 problems and other lazy loading problems. That was pretty cool, but wait, there’s more! What about complex aggregation? LINQ can support all sorts of … Continue reading 

Posted in AutoMapper, Entity Framework, NHibernate | 8 Comments

Using Git subtrees to split a repository

We are in a position where we needed to create a new back-end server for an application. The current application is on a MEAN stack (Mongodb, Expressjs, Angularjs, Node.js), but a new client wants the backend to be deployed onto … Continue reading 

Posted in Uncategorized | 3 Comments

Using AutoMapper to prevent SELECT N+1 problems

Back in my post about efficient querying with AutoMapper, LINQ and future queries, one piece I glossed over was how View Models and LINQ projection can prevent SELECT N+1 problems. In the original controller action, I had code like this: … Continue reading 

Posted in AutoMapper, Entity Framework, NHibernate | 13 Comments

Leaving LosTechies

You may (or may not) have noticed that I haven’t posted here in a few weeks. There’s a reason for that… an era is coming to an end. It’s time for me to move on from LosTechies – a community … Continue reading 

Posted in Uncategorized | 7 Comments