Augustus O. (@_kekule15) header
Augustus O. (@_kekule15) profile picture

Software Engineer

Joined August 2019
Photo by Augustus O. (@_kekule15)Photo by Augustus O. (@_kekule15)Photo by Augustus O. (@_kekule15)Photo by Augustus O. (@_kekule15)Photo by Augustus O. (@_kekule15)Photo by Augustus O. (@_kekule15)Photo by Augustus O. (@_kekule15)Photo by Augustus O. (@_kekule15)Photo by Augustus O. (@_kekule15)Photo by Augustus O. (@_kekule15)
Backend Engineering Question: If XML and JSON can both represent structured data, why do most modern REST APIs use JSON? What advantages does JSON offer? And are there situations where XML would still be a better choice?
69
9
3
117
84,437
SQL injection isn't some mysterious vulnerability that only affects inexperienced developers. It often starts with something that looks harmless: Building an SQL query by concatenating user input. Prepared statements separate the SQL command from the supplied values, allowing the database driver to handle parameterization properly. Please stop constructing SQL queries by joining strings and trusting that nobody will enter something unexpected
1
5
285
A developer checks whether an email already exists before registering a user. Looks good. But two registration requests arrive at almost exactly the same time. Both check the database. Both discover that the email doesn't exist. Both attempt to insert it. What prevents the duplicate? This is one reason application-level validation should be backed by database constraints. The database must protect the invariant even when requests race.
6
2
4
267
You fixed the race by adding a lock. Then the lock became the bottleneck. What do you usually try next?
24
System design question: Your registration endpoint is receiving thousands of automated requests. Would you introduce CAPTCHA, rate limiting, IP reputation or behavioural detection? How would you combine them?
1
22
Augustus O. retweeted
A developer checks whether an email already exists before registering a user. Looks good. But two registration requests arrive at almost exactly the same time. Both check the database. Both discover that the email doesn't exist. Both attempt to insert it. What prevents the duplicate? This is one reason application-level validation should be backed by database constraints. The database must protect the invariant even when requests race.
6
2
4
267
A is a saga. B is a distributed commit. Which one survives a slow third service, and why?
2
2
4
247
One of the most dangerous assumptions in backend engineering is believing that a request will only be processed once. Networks fail. Clients retry. Queues redeliver messages. Webhooks get sent again. Design important operations to be idempotent. Your system should be able to survive repeated requests without repeating unintended side effects
7
Senior Backend Interview Question: If database transactions can guarantee ACID properties, why can't we simply use them for everything in a microservices architecture? What exactly does the Saga pattern solve that traditional database transactions cannot?
1
12
Augustus O. retweeted
A is a saga. B is a distributed commit. Which one survives a slow third service, and why?
2
2
4
247
Augustus O. retweeted
There is something interesting about exposing database IDs in public APIs. Your first user has ID 101. The next has 102. Someone changes the URL to /users/103 and discovers another user's record if authorization isn't properly enforced. UUIDs can make identifiers harder to enumerate, but they don't replace authorization. An unpredictable ID isn't a security boundary
3
2
2
221
There is something interesting about exposing database IDs in public APIs. Your first user has ID 101. The next has 102. Someone changes the URL to /users/103 and discovers another user's record if authorization isn't properly enforced. UUIDs can make identifiers harder to enumerate, but they don't replace authorization. An unpredictable ID isn't a security boundary
3
2
2
221
🚨 Security take: If a user changes an object ID in the request and gains access to another user's data, your authorization model is broken. Random UUIDs won't fix it.
10
UUIDs are not automatically better than auto increment IDs. They offer different advantages and trade offs. Stop treating UUIDs as the default choice for every database schema.
1
12
Augustus O. retweeted
A database schema isn't something you create once and forget. Applications evolve. A column gets renamed, a relationship changes, a new constraint becomes necessary, and existing records need to be transformed. That's why database migrations matter. Your production database needs a controlled history of structural changes, not someone manually running SQL commands and hoping they remember everything
1
2
4
155
Augustus O. retweeted
You can have beautifully formatted code with terrible engineering decisions underneath. Good naming won't prevent a race condition. Consistent indentation won't stop a security vulnerability. Arrow functions won't save you when a payment provider times out. Readable code is good engineering. Correct behaviour is non negotiable
1
2
3
131
A database schema isn't something you create once and forget. Applications evolve. A column gets renamed, a relationship changes, a new constraint becomes necessary, and existing records need to be transformed. That's why database migrations matter. Your production database needs a controlled history of structural changes, not someone manually running SQL commands and hoping they remember everything
1
2
4
155
You can have beautifully formatted code with terrible engineering decisions underneath. Good naming won't prevent a race condition. Consistent indentation won't stop a security vulnerability. Arrow functions won't save you when a payment provider times out. Readable code is good engineering. Correct behaviour is non negotiable
1
2
3
131
Android Interview Question: Why did so many Android teams move from Java to Kotlin? Apart from cleaner syntax, what specific bugs does Kotlin help developers avoid that are easier to introduce in Java?
3
2
5
280
Google has Kotlin. Google has Go. Google has Dart. Google has Flutter. Google has Angular, Firebase... At this point, what else am I missing? Is Google trying to build an entire software engineering ecosystem? 😂
6
Interview question: Java was already powering Android applications. So why did Google push Kotlin as the preferred language for Android development? Was it simply about cleaner syntax and less boilerplate, or were there real engineering problems Kotlin addressed better? For developers who've worked with both, what was the biggest practical improvement?
8
Augustus O. retweeted
Android Interview Question: Why did so many Android teams move from Java to Kotlin? Apart from cleaner syntax, what specific bugs does Kotlin help developers avoid that are easier to introduce in Java?
3
2
5
280