How to Run LLMs Locally with Ollama and Python
Install Ollama, pull an open model, and call it from Python with streaming, error handling, and a speed…
Category
These backend development guides cover the parts users never see: data, queues and services. Most posts compare two options and explain when each wins.
For example, SQL vs NoSQL and Kafka vs RabbitMQ help with common choices. Also, monolith vs microservices tackles the biggest one. Language series live in the Java, Python and Node.js sections below.
149 articles
Install Ollama, pull an open model, and call it from Python with streaming, error handling, and a speed…
Executive Summary: A Java thread runs a Runnable once you call start, and it moves through a defined…
Executive Summary: This practice project builds LinkCheck, a Java tool that reads URLs from a file, fetches each…
Retrieval-augmented generation in about 150 lines of plain Python: chunking, retrieval, a grounded prompt with citations, a refusal…
Monolith vs microservices decided honestly: the side-by-side comparison on team shapes, scaling, and operational maturity, the modular monolith…
Executive Summary: Modern Java gives you var for local type inference, text blocks for multi-line strings, switch expressions…
Turn text into vectors, store them in a NumPy matrix, and rank by cosine similarity. A complete semantic…
Executive Summary: Java REST services without clear layering end up with fat controllers and brittle contracts. Here I…
Executive Summary: Spring Boot auto-configuration sets up the server, dependency injection, and JSON handling, so a REST endpoint…
Executive Summary: Java networking ranges from raw TCP sockets to the built-in HttpClient. I cover ServerSocket and Socket…
Executive Summary: Dependency injection means a class receives its collaborators, usually as interfaces through the constructor, instead of…
How Kafka works from the log out: topics and partitions as the units of order and parallelism, consumer…
Executive Summary: Java serialization turns an object graph into bytes through Serializable, with serialVersionUID and transient controlling compatibility…
Executive Summary: Treating the JVM as a black box makes tuning and production debugging guesswork. Here I walk…