by kornel@synkre.com | Jan 28, 2019 | Programming Tips
Using cutting edge encryption Akka HTTP comes with support for Basic Authentication, and that in turn supports plugging in password hashing algorithms from solid third party encryption libraries, such as bcrypt. HTTP Basic Authentication is based on a very simple...
by kornel@synkre.com | Jan 20, 2019 | Programming Tips
One way to think of Akka HTTP is that it’s en extendable web server. Another way to think of it as a tool to build applications directly from HTTP primitives. Yet another way to conceptualize it, is thinking of it as an extension of Akka streams over HTTP. It...
by kornel@synkre.com | Jan 15, 2019 | Wordpress
The address bar shows your IP address, not your domain name. If you run your own installation of WordPress, you may have run into this issue. Say you have a domain name called example.com. You have set it up properly pointing the DNS A records to your IP address...
by kornel@synkre.com | Jan 1, 2019 | Programming Tips
Akka http comes with support for basic authentication. This allows us to wrap the response in a basic authorization directive which will return a 401 Authorization Required header if the submitted credentials are not correct; if the authorization is correct...
by kornel@synkre.com | Dec 12, 2018 | Uncategorized
(Note: This was an old internal POC we created and as such the code hasn’t been cleaned up and we removed it from the public article. If you are interested in seeing the code or having us implement a Big Data Pivot Table for you please write to us at...
by kornel@synkre.com | Nov 17, 2018 | Uncategorized
The problem with DI rameworks: When creating components, one way or another, we must assure that other components we depend on are in fact constructed, properly initialized, and ready to use. In object oriented programming (OOP), this task typically falls on the...
by kornel@synkre.com | Nov 17, 2018 | Uncategorized
The problem: Simple constructor injection in a multi-threaded environment may cause memory consistency issues.When using simple constructor injection in conjunction with concurrency care must be taken because the classes constructed at startup in one thread may not be...
by kornel@synkre.com | Nov 17, 2018 | Uncategorized
Nearly all applications need some sort of configuration injected which is stored in configuration files. The configuration files are usually environment specific and they are packaged by the build along side the application code. This means that applications must...