Strona głównaUżytkownik

kapral18 | użytkownik

kapral18
kapral18
301,18
1382 dni, 4 godziny, 32 minuty temu
4 marca, 2016
dotnetomaniak.pl

.NET framework in version 4.5 provides a cool improvement into Garbage Collector – server mode. This option allows GC to be more efficient on modern hardware. MSDN contains a great article about this feature, which I really recommend you to read. ASP.NET has Server mode turned on by default. Nothing stands on the way of enabling server mode on console app. You can do it with app.config and three lines in xml. My project Kronos is a distributed cache system, where GC will have a lot of work. How to en...

Źródło: www.pyrzyk.net
Dziel się z innymi:
[EN] GC Server mode on .NET Core - Lukasz Pyrzyk

Daj się poznać 2016 3145 dni, 10 godzin, 41 minut temu kapral18 142 źrodło rozwiń

Any Kronos client will be available to use three basic commandsInsertGetDelete In future I want to add few more, like Count and GetKeys. Each of requests to the server serialized to binary form is preceded by few bytes of meta-data, including RequestType. In code its represented as a Request class, which in addition to type has two generic methods. At the beginning they might look difficult, but they are quite simple. First of them is responsible for sending any request to the server via special connec...

Źródło: www.pyrzyk.net
Dziel się z innymi:
[EN] Kronos - Creating a base request - Lukasz Pyrzyk

Architektura 3152 dni, 12 godzin, 25 minut temu kapral18 43 źrodło rozwiń

Packing and publishing nuget from standard .NET project is very simple. Create or generate nuspec file and runnuget pack The appearance of the Core framework and project.json file caused the a little change. Due to historical reason, in .NET Core we have two command line interfaces with utilities for packages.DNU – DNX utility, used in project

Źródło: www.pyrzyk.net
Dziel się z innymi:
[EN] Publishing .NET Core project to nuget - Lukasz Pyrzyk

Daj się poznać 2016 3161 dni, 12 godzin, 43 minuty temu kapral18 51 źrodło rozwiń

In the third post about XGain I would like to say something about the heart of server. TcpListener is a great class to build server. It has a normal and async methods, you can choose between Socket and TcpClient. Unfortunately writing this same logic for new project might be boring.

Źródło: www.pyrzyk.net
Dziel się z innymi:
[EN] XGain #02 - Heart of the TCP/IP server - Lukasz Pyrzyk

Architektura 3166 dni, 10 godzin, 57 minut temu kapral18 42 źrodło rozwiń

In this talk, I will present techniques for efficient incremental processing of complex analytical queries, ranging from classical SQL queries to linear algebra programs. Our system, called DBToaster, compiles declarative database queries into high-performance stream processing engines that keep query results (views) fresh at very high update rates. DBToaster uses a recursive query compilation algorithm that materializes a supporting set of higher-order delta views to achieve a substantially lower view m...

Tagi: performance, SQL
Dziel się z innymi:
[EN] MS Research - High-Performance Incremental Processing of Complex Analytical Queries

Network layer is really hard to test and debug. XGain works on the Socket class level and this class doesn’t have an interface. That means testing of any component references to this type is really hard, but everything is possible.

Źródło: www.pyrzyk.net
Dziel się z innymi:
[EN] XGain #01 - abstraction over Socket - Lukasz Pyrzyk

Daj się poznać 2016 3170 dni, 5 godzin, 3 minuty temu kapral18 44 źrodło rozwiń

.NET framework has a Socket class to deal with low-level networking. Standalone synchronous server based on Socket is not so difficult, here is an example:. Microsoft has provided two ways of creating high performance TCP/IP server. The most cool is SocketAsyncEventArgs with event-based system

Źródło: www.pyrzyk.net
Dziel się z innymi:
[EN] XGain #00 - TCP/IP server written in C# - Lukasz Pyrzyk

Daj się poznać 2016 3174 dni, 2 godziny, 59 minut temu kapral18 97 źrodło rozwiń

New plugin for Visual Studio 2015 – Microsoft ASP.NET and Web Tools (download here) provides new templates for .NET Core – Console Application and Class Library. These templates are the base structure for all multi-platform projects in .NET. Let’s start with executable type – Console Application. By default this one contains three files – AssemblyInfo.cs, Program.cs and project.json. Program file provides an entry point for application – just like normal static Main method in .NET Framework. The last ...

Źródło: www.pyrzyk.net
Dziel się z innymi:
.NET Core project templates - Lukasz Pyrzyk

Daj się poznać 2016 3179 dni, 23 godziny, 12 minut temu kapral18 119 źrodło rozwiń

Continuous Integration dla projektu opartego o .NET Core

Tagi: .Net, .net core, C#, CI, dotnet
Źródło: www.pyrzyk.net
Dziel się z innymi:
Kronos #02 - Continuous Integration with AppVeyor - Lukasz Pyrzyk

Daj się poznać 2016 3182 dni, 4 godziny, 32 minuty temu kapral18 122 źrodło rozwiń

1 2