Traffic for event streams |
Henrik's thoughts on life in IT, data and information management, cloud computing, cognitive computing, covering IBM Db2, IBM Cloud, Watson, Amazon Web Services, Microsoft Azure and more.
Wednesday, November 24, 2021
Rate-limit Kafka event generation with kcat and bash
Tuesday, November 23, 2021
Get educated: The IDUG Virtual 2021 EMEA Db2 Tech Conference is coming up
The virtual Db2 conference is coming up |
Thursday, November 18, 2021
On serverless data scraping, cloud object storage, MinIO and rclone
Building a data lake the serverless way |
Wednesday, November 3, 2021
Db2 SQL PL book as PDF and many useful doc links
Tell the world about Db2 documentation |
Wednesday, October 13, 2021
IBM Cloud resource reclamations: Some more details and my best practices
Reclaim resources |
Monday, October 11, 2021
Db2 on Cloud credentials and how to connect from your app
Wednesday, September 22, 2021
To restore or to delete: Working with IBM Cloud resource reclamation
Resource management |
In this blog post, I am going to give a brief overview of resource reclamation in IBM Cloud and share some tips and tricks from my experience.
Friday, September 3, 2021
Serverless Twitter Bot using IBM Cloud
A Twitterbot at work |
Wednesday, July 28, 2021
Password expiration and vacation planning
Ready for vacation: Passwords |
Monday, July 26, 2021
How to connect from Python to Db2
One of the recurring questions I have seen is "how to connect from Python to Db2". I have blogged about Python and Db2 a couple times before. Recently, the question has been popping up again more frequently. From my view, the increased security with mandatory SSL/TLS encryption and the use of Python-based Jupyter notebooks for data science and AI / ML projects are the drivers behind that increase. Moreover, there is Db2 on-premises and the Db2 on Cloud / Db2 Warehouse on Cloud plus container-based offerings. Today, I am trying to sort this out and answer that question. Again.... :)
Tuesday, July 20, 2021
Cloud Security: BYOK vs. KYOK explained
Keep and bring your own key |
Monday, July 12, 2021
Cloud-based HSM with PKCS #11 for Db2 Native Encryption
Manage your encryption keys |
Today, I want to point you to a tutorial in the IBM Cloud documentation. It discusses using Hyper Protect Crypto Services PKCS #11 for Db2 native encryption.
Thursday, July 1, 2021
Db2 11.5.6 is available
You probably already have noticed that a new release of Db2 for Linux, UNIX, and Windows is available, Db2 11.5.6. You can download the Db2 Fix Pack via the usual support site. The related documentation highlights the following features:
- Improved high availability with Advanced Log Space Management,
- Graph modeling and analysis of Db2 data using IBM Db2 Graph,
- Restrictions lifted on accessing column-organized tables
- Technical preview update to Machine Learning Optimizer
- New Click-to-Containerize utility
Aside from the highlights page, I usually go over the enhancements by category. Here are my personal highlights:
- The SQL enhancements include new NOWAIT and WAIT clauses for SELECT, UPDATE and DELETE statements. You can now specify at the statement level how many seconds to wait for locks.
- High availability, backup, resiliency, and recovery enhancements lists improvement to ADMIN_MOVE_TABLE and also has news on pacemaker.
- And in terms of Workload management enhancements, you can now enable the Adapte Workload Manager.
I am sure that we are going to learn all the details at the IDUG EMEA 2021 conference in Edinburgh, Scotland, in October. Mark your calendars.
Tuesday, June 15, 2021
Quickly deploy the serverless cloud mailer using Terraform
Friday, May 28, 2021
IBM Cloud: Send out alert emails using SMTP
Wednesday, May 19, 2021
My best practices: How to search Db2 documentation
Thursday, May 13, 2021
Wireshark with Lua on RHEL / CentOS
Wireshark with Lua-based dissector |
What do you do on a rainy public holiday with COVID19 restrictions in place? Finally get Wireshark to work with Lua support to have custom dissectors. Dissectors are useful to turn binary garbage into readable TCP or UDP packet content. Lua is a scripting language and a supported way of adding dissectors in Wireshark. Unfortunately, the install package for Red Hat Enterprise Linux does not include Lua support. Compiling Wireshark on my RHEL 8.3 does not simply work because it requires Lua version 5.2 for my scripts to work. And RHEL either has version 5.3 or 5.1 which both are incompatible (long story). So, let's get going.
Tuesday, April 6, 2021
Upcoming Db2 IDUG conferences
A quick post on the upcoming Db2 conferences, organized by the International Db2 User Group (IDUG).
- The IDUG North America "2021 NA Db2 Tech Conference" is going to be a virtual event again. It is scheduled from June 7-16, 2021. The conference agenda is already available and registration is open.
- The European IDUG conference, 2021 EMEA Db2 Tech Conference, is still slated to be an in-person event. I hope to meet you in Edinburgh, Scotland, this year in October. The conference team offers mentoring for new speakers. The submission deadline just passed, but if you are a customer with a good proposal, there might be ....
Last, but not least, I recommend to take a look at the IDUG page with regional Db2 user groups. Some of them offer virtual events, too, and facilitating networking and exchange of information during the pandemic.
Tuesday, March 30, 2021
cron-like scheduling on IBM Cloud
cron-like scheduling |
Some days ago I stumbled over my 2015 post "Bluemix: Simple cron-like service for my Python code". It is not just the name Bluemix which is dated. Since then, it has transformed into IBM Cloud Platform and has added serverless compute options like IBM Cloud Functions (OpenWhisk) and recently IBM Cloud Code Engine. Both of them support "eventing", event-based execution of code. And both support Python code as well as many other programming languages like Node.js, Go (Golang), PHP and more. So, what does it take to set up cron-like scheduling? Not much.
Thursday, March 11, 2021
Cloud tutorial on serveless web app and eventing
A follow-up from my last post on Python decorators:
Solution architecture |
Today, that same solution scenario and app are still available, but they are served by IBM Cloud Code Engine. Code Engine is a fully managed, serverless platform that runs your containerized workloads, including web apps, microservices, event-driven functions or batch jobs. The slightly renamed tutorial — "Serverless web app and eventing for data retrieval and analytics" — demonstrates how the existing app can be containerized and both served as web app and and used to process the daily data collection event.
Friday, March 5, 2021
Pseudo-decorators for my Python Flask app
Secured Python Flask app on Code Engine |
Monday, March 1, 2021
JWT token authentication in Db2 runtimes like Python or Node.js
Python script connecting to Db2 with JWT |
Friday, February 19, 2021
Great chatbots in no time
Chatbots take over customer service |
Tuesday, January 26, 2021
IBM Cloud CLI: Some tips and tricks - make it a home
IBM Cloud CLI options |
Monday, January 18, 2021
Follow-up to Db2 and JWT: What is JOSE...?
JWT: Encoded or decoded security claims |
Some JWT history and standards
The first draft for JSON Web Tokens, JWTs, is already 10 years old. It is from December 2010. The early draft states:
Tuesday, January 12, 2021
Db2 Security: Configure JSON Web Token (JWT) authentication
Db2 login utilizing a JWT |