Repository pattern and Unit of Work with JPA
Here is a very familiar snippet in Spring projects: a service class calls entityManager.createQuery("select o from Order o where ...") right in the middle of payment logic, elsewhere the same query is...
In-depth technical articles, high-load system architecture analyses, and practical digital transformation strategies shared directly by Sudo’s engineers and solutions architects.
Here is a very familiar snippet in Spring projects: a service class calls entityManager.createQuery("select o from Order o where ...") right in the middle of payment logic, elsewhere the same query is...
Deploying by using sed to edit a few manifest lines and then running kubectl apply works for one site. But a Laravel website on Kubernetes needs close to ten objects: Deployment, Service, Ingress, Cer...
Most beginners write prompts by feel: change a few words, try one or two inputs, and ship it if it looks fine. That breaks down once the prompt sits inside a product that handles thousands of messages...
Open any Spring application and you will see an OrderService that receives a PaymentGateway and a Notifier through its constructor, with no new anywhere in sight. Who creates those objects, in what or...
LLMs (large language models) look like a person answering questions, but at their core they do one thing: they look at the sequence of tokens so far and estimate the probability of the next token. Onc...
Invoices, official papers, scanned minutes and phone photos are still the largest body of data that businesses have not managed to get into their systems. OCR (optical character recognition) turns an...
The checkout screen of an online store usually has five components: a coupon code field, a shipping option, a payment method, a total label, and a "Pay" button. They constrain each other: switching to...
A typical situation: a Laravel site runs on the cluster, an admin imports an XML file of about 45 MB and gets a 413 error, Request Entity Too Large. You change client_max_body_size in the pod's nginx,...
Running artisan on Kubernetes is very different from running it on a VPS: there is no long-lived machine to SSH into, no operating-system crontab, and every process has to belong to an object with a c...
Turning speech into text is a familiar problem for businesses: call-center recordings, meeting minutes, subtitles for tutorial videos. Since late 2022, OpenAI's Whisper has made it something you can r...
A store gets thousands of customer reviews every month, and the usual question is how many of them are complaints. This task is called sentiment analysis, and for Vietnamese the popular choice today i...
Every time you write for (Order o : orders), Java uses the Iterator pattern behind the scenes. The pattern lets you walk through the elements of a collection without exposing how the collection stores...
All articles are displayed