I haven’t dedicated server with enabled SFTP, but I have local Ubuntu instance without SFTP (18.04.4 LTS) – for testing I just created first SFTP service with help of: https://linuxconfig.org/how-to-setup-sftp-server-on-ubuntu-18-04-bionic-beaver-with-vsftpd. All worked…
Non-blocking main thread sleep alternative
I had to test some Java native concurrent code, and I had to mock some service with long running call the good solution for this purpose I found: https://medium.com/my-random-thoughts-in-software-engineering/get-rid-of-thread-sleep-e2abf3cadb6. My snippet is…
Airframe React
I found this very nice project, with tons of functionality and easy of usage same time. Usually for same quality we need to pay a lot of money, but here we get…
OpenAPI
Very useful article for splitting YAML into multiple files using $ref: https://apihandyman.io/writing-openapi-swagger-specification-tutorial-part-8-splitting-specification-file/.
Spring Data Redis and LUA
In my recent project, I had a situation when I need to store data under two different keys. I didn’t want to duplicate content because of difficulties with changes synchronization. I found…
Apache Spark – for beginners
Few useful links and information for learning Apache Spark. Example of standalone Docker cluster for learning purposes: https://medium.com/@marcovillarreal_40011/creating-a-spark-standalone-cluster-with-docker-and-docker-compose-ba9d743a157f Fast-paced course for beginners: https://www.packtpub.com/application-development/apache-spark-7-days-video On Mac I had to: install pyton 3.7 and…
Redis
So far I was using Redis as distributed session storage (it’s quite fine when integrating different systems), or fast application cache. The Spring Session project uses, among others, Redis and it solves…
WireMock
WireMock is for me an alternative for Postman, especially when I don’t want to share 3rd party APIs over the network (even with private token). Stubbing requests is quite easy, we can…