📜 ⬆️ ⬇️

Dapper.NET - “micro-ORM” on which StackOverflow works

Dapper.NET is a “mini-ORM”, as the developers themselves call it, which runs the StackExchange engine and StackOverflow site in particular.

Today, Sam Saffron (@samsaffron, one of the platform developers) put it in OpenSource on Google Code .

The main feature of this micro-library is performance in cases when it is necessary to run, for example, 500 select-commands in a row and put thousands of results into objects of certain classes. The developers claim that the speed of their solution is practically not inferior to the “manual” work with SqlDataReader.
')
Sam Sam described this micro-lib in his blog here , recognizing, in particular, that his decision was primarily “read-oriented” - that is, primarily designed for fast reading. In the same place, in article, Sam describes the reasons why they decided to refuse Linq2SQL where performance is important. Namely - because of the low speed.

Ps. Sorry, I’ll add my personal CW: StackOverflow is almost the largest and most visited site in the world, built on a .NET platform (and not on Ruby / Rails, PHP, etc.). Load - hoo th. That is why we, NET-programmers, should closely monitor all the chips that the guys are trying.

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


All Articles