igor-pchelko.github.io's People
igor-pchelko.github.io's Issues
Dotnet Database Repository With Cache
https://pcholko.com/posts/2020-05-10/dotnet-database-repository-with-cache/
This article describes the approach of implementing the cached repository with the following scenario:
-
Repository provides simple operating for storing and reading phone numbers in the MS SQL database;
-
Support the atomicity of multiple updates and insert operations. Possibility to wrap batch upsert operations into the transaction via
TransactionScope
; -
On read and write store phone numbers in memory
cache
. On read return most recent phone number fromcache
, hence, reduce the amount of database read operations; -
In memory
cache
should implement the same repository interface asMSSQL
repository. Thereby,MSSQL
repository can be easily replaced with in-memorycached
repository;
How To Read Parameters from AWS SMM in NodeJS Application?
https://pcholko.com/posts/2019-10-25/read-parameters-from-aws-smm-in-net-core-app/
In this article, you will find a recipe for how to read AWS parameters inside the NodeJS application with TypeScript.
Organise and Manage AWS Parameter Store
https://pcholko.com/posts/2019-07-13/aws-parameter-store-usage/
AWS Parameter Store is the part of AWS Systems Manager. It provides secure storage for parameters and secrets. And grant resilient availability. Let’s dive into it and see how to use it for micro-service platform.
Secrets managers
https://pcholko.com/posts/2019-07-02/secrets-managers/
The lure to keep connection string to the database in source code is one of the common mistakes. Keep secrets in source code even if sensitive data is encrypted that is a well-known antipattern. It can lead to issues like data breach by a malicious actor, losing or corrupting data by a non-authorised engineer with lack of knowledge. Passwords, tokens, keys, connection strings, and other sensitive information which are used by applications should be treated as secrets. There are several tools for AWS cloud that allows managing secrets for microservice oriented solutions.
Setup blog
https://pcholko.com/posts/setup-blog/
If you are interested to start your own blog then this article is for you. You will learn how to bootstrap a new static site with Hugo and deploy to Netlify free hosting plan.
Secrets managers
https://pcholko.com/posts/2019-07-02/secrets-managers/
The lure to keep connection string to the database in source code is one of the common mistakes. Keep secrets in source code even if sensitive data is encrypted that is a well-known antipattern. It can lead to issues like data breach by a malicious actor, losing or corrupting data by a non-authorised engineer with lack of knowledge. Passwords, tokens, keys, connection strings, and other sensitive information which are used by applications should be treated as secrets. There are several tools for AWS cloud that allows managing secrets for microservice oriented solutions.
Using WireMock for dotnet core Integration tests
https://pcholko.com/posts/2021-04-05/wiremock-integration-test/
In many cases, to optimize or improve the system solution, the business decides to integrate with external systems. External systems have their life cycle, state, and communication protocol. There are different types of communication protocols, in this article, we will only consider HTTP. Microservices also use synchronous HTTP calls for notification or to achieve strong consistency.
You definitely want your integration to have fewer problems and be able to diagnose them easily. In order to implement reliable communication between the internal solution and the external system, it is necessary to cover the communication protocol with reliable integration tests.
Long-running tasks in Orleans dotnet
https://pcholko.com/posts/2020-06-07/orleans-long-running-tasks/
Orleans is aktor model framework for building cuncurent and scalable ditributed applications. Grains (aka aktors) communicate with each other via messages. And it’s quite important to process a message within certain ResponseTimeout. If a message is not processed within timeout, Orleans throws timeout exception. .
But what if grain needs to perform long-running tasks that can’t be complete within a defined timeframe? Let’s dive into the solution approach.
Read Parameters from AWS SMM in .Net Core 3 Application
https://pcholko.com/posts/2019-08-26/read-parameters-from-aws-smm-in-net-core-app/
Since Amazon and Microsoft are competitors in cloud providers market, there are always nuances when you try to integrate pieces from different tech stacks. Let’s dive into how to read AWS SMM parameters in .Net Core 3 application.
Control docker-compose startup flow with readiness probe
https://pcholko.com/posts/2020-05-23/control-docker-compose-startup/
Docker-compose
is a powerful tool to run an isolated environment for the application.
However, it doesn’t provide one important feature right out of the box which is startup control
.
- What if the containerized application requires a database to be up and ready and fully provisioned?
- How to check if a certain process is finished in another container?
If you encounter such issues lets dive into the solution.
Manage PostgreSQL users and roles for microservice platform
https://pcholko.com/posts/postgresql-manage-roles/
Microservice architecture states for one service has one database. However, the database administrator would like to have one credential to access multiple databases. Let’s take a look at how we can solve this with PostgreSQL roles.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.