Compact serializer for the cache using System.Reflection.Emit

Compact serializer for the cache using System.Reflection.Emit
 
 
In modern services without a cache anywhere: access to data in a persistent database is a long and expensive business, so adding an intermediate storage for the most frequently used data significantly speeds it up. You can store information in a cache in a variety of ways, in various ways: rows, lists, session state, and much more. In this article, we will talk about one of the ways to store in the cache of "flat" objects that do not have nested classes and cyclic references.
 
does not guarantee returning properties ...
+ 0 -

The Nchan module of the nginx web server. Working with Websocket, EventSource (Server-Sent Events), Long-Polling

This article will review the capabilities of the module. Nchan web server nginx, which replaced the deprecated module NGiNX_HTTP_Push_Module. Module Nchan supports the basic technologies for sending Websocket messages, EventSource (Server-Sent Events), Long-Polling. For horizontal scaling, a cluster of redis servers is used.
 
statistics . Yes, not only 6% of web browsers are not supported. However, if the client has included in the contract an item on the support of Opera-mini, then without a fallback on Long-Polling can not do. There is one more thing that reduces the availability ...
+ 0 -

How to improve performance, using the serverless

How to improve performance, using the serverlessarchitecture.   Photo : Jesse Darland with Unsplash   In this article, we will talk about how to transfer the process of preliminary image processing from the application server to absolutely serverless architecture of the AWS platform. Paperclip or Dragonfly , which use ImageMagick for image processing.  This is a fairly simple approach, but it has its drawbacks:   Images are processed on the application server. This can lead to an increase in the overall response time due to the increased CPU load. The application server has limited performance and is not suitable ...
+ 0 -

Splunk 7.1. What's new? New web interface, integration with Apache Kafka and much more

Splunk 7.1. What's new? New web interface, integration with Apache Kafka and much more
 
 
A few days ago the company Splunk released a new release of its platform Splunk 7.1 in which, probably, the most expected change occurred in the last few years - yes, the GUI has completely changed. In this article, we'll talk about major innovations and improvements to the platform. What else is new besides GUI? Look under cat.
 

 


Interface


 
As we said, yes, and probably this is the most noticeable change, Splunk completely changed the interface, until the page changes with an error. Appearance is more modern and stylish. Fixed diagram elements and viewing events to improve the convenience of ...[/h]
+ 0 -

Performance of Joomla on large volumes of content

Performance of Joomla on large volumes of content
 
 
Joomla very poorly digests the database even with several thousand articles in the _content table. With several tens of thousands of requests to the base of standard modules such as mod_articles_popular can hang for a second.
 
 
It's all about the ACL (Access Control List), an access control policy. Verification of the legality of user access to materials takes over 98% of the query execution time.
 
 
In the meantime, there are sites that do not need it. For example, a news site showing the "Most Read Articles" module in the left column for everyone. What to do in this case? Disable ACL checking in ...
+ 0 -

Diarrhea for your backend on Node.JS - reduce the weight of the assembly

Surely you often noticed how much garbage is inside the node modules. These are tests, benchmarks, readme files, licenses, a taipscript, and another insane amount of garbage that can be more or less safely removed. What we actually do in this post.
 
The picture about the weight of the node module I've already mentioned the last few publications, so here's another one, which generally reflects the current situation. As a soundtrack to the post is recommended Little Big, "Life in da trash."
 
Diarrhea for your backend on Node.JS - reduce the weight of the assembly ModClean .
 
Modclean
 
The module has a bunch of settings...
+ 0 -

How fast is AMP really?

How fast is AMP really?The project Accelerated Mobile Pages (AMP) from Google caused a certain commotion for ideological reasons, but the technology itself was not disassembled in detail. A few weeks ago Ferdy Kristant wrote about an unfair advantage that the AMP content receives by preloading . This made me think: how well AMP works in fact ? I've seen tests like that of Ferdie, when one or two pages were compared, but I have not yet come across comprehensive objective tests.
 
 
Evaluating the performance of AMP is not really as easy as it sounds. It is necessary to consider at least four contexts:
 
 
 
...
+ 0 -

FFMPEG. Download part of the video from YouTube

FFMPEG. Download part of the video from YouTube
 
Sometimes we want to share some video on YouTube with friends - the time of concentration in modern reality is reduced to the limit, and if you skip the link to the video (even with the timecode of the beginning) with the comment «To look from 21:51 to 24:55» - There is a high probability that the video will not be reviewed.
 
In addition - pieces of video may be required for editing their videos - and it is rather inconvenient to download the whole video for a few seconds and search /cut out the necessary part in the editing program.
 
How to download part of the YouTube video using ffmpeg - under ...
+ 0 -

Twice as powerful for the same money! Intel Xeon E5 against the E3-series

Twice as powerful for the same money! Intel Xeon E5 against the E3-series Not long ago we published an article Comparison of the performance of Intel processors of different generations , which presents the results of testing 8-core Intel Xeon E5 processors. Since then, for the campaign, several hundred servers based on V1 /V2 processors have been sold, which have become a worthy analogue of the E5-2620V4 /2630V3 in such tasks as database server, terminal server, video surveillance, etc. But, unfortunately, the model the series was limited to only 2-processor platforms, which imposed additional financial burden when using 1-processor configurations. A large number of requests ...
+ 0 -