AGENT VIEW · Mokabla · Question · database-bottlenecks
AgentGate · request ag_84b70ac9af68

Who you are, as far as this app can tell

declared   ClaudeBot · Anthropic   · not verified

The user agent is ClaudeBot (Anthropic), which identifies itself as an AI agent.

Signals: Known agent user agent

This classification is final for the session. The human pages are not served to agents.

This page

page
question
human URL
https://www.mokabla.com/en/c/blink22/database-bottlenecks

State

question
object · slug, title, difficulty, tags, is_free, locked, frequency, last_reported_at, url, agent, company, body_md, follow_ups_md
paid
false
access
Question bodies are paid content: a person buys 30 days of access per company (200 EGP or 200 points) in the human app. Agents get titles, tags and difficulty; bodies only for free questions.
{
  "question": {
    "slug": "database-bottlenecks",
    "title": "Database Bottlenecks",
    "difficulty": "medium",
    "tags": [
      "system-design",
      "technical",
      "backend"
    ],
    "is_free": true,
    "locked": false,
    "frequency": 0.333,
    "last_reported_at": "2025-04-14T13:12:32.106351Z",
    "url": "https://www.mokabla.com/en/c/blink22/database-bottlenecks",
    "agent": {
      "page": "https://www.mokabla.com/agent/en/c/blink22/database-bottlenecks",
      "question": "https://www.mokabla.com/agent/_call/get_question?company=blink22&question=database-bottlenecks"
    },
    "company": {
      "slug": "blink22",
      "name_en": "Blink22"
    },
    "body_md": "## What they ask\nAn open-ended design question in the same long technical session: \"Suppose our bottleneck is writing to the database. What do you do? And if the bottleneck is reading from it?\" There is no fixed answer; you lead and the two interviewers probe whichever direction you take.\n\n## What a strong answer covers\n**First, measure.** Slow query log, `EXPLAIN` on the top offenders, connection pool saturation, lock waits, replication lag. Say this before proposing anything.\n\n**Read bottleneck**\n- Missing or wrong indexes, N+1 queries from the ORM, selecting more columns than needed.\n- Caching at the right layer (application cache, Redis for hot keys, HTTP caching for public content) and the invalidation cost that comes with it.\n- Read replicas and routing reads to them, with the consistency caveat.\n- Denormalising or precomputing views for the heaviest reports.\n\n**Write bottleneck**\n- Batching inserts and cutting per-row round trips; fewer indexes on write-heavy tables.\n- Moving non-critical writes to a queue and processing them asynchronously.\n- Partitioning or sharding by a key that matches the access pattern, and what that breaks (cross-shard joins, transactions).\n- Vertical scaling as the boring first step, and when it stops being enough.\n\n## What they look for\n- Diagnosis before prescription, and trade-offs stated for every lever (cache staleness, replica lag, shard complexity).\n- Concrete examples from something you actually built, even if small.\n- Comfort with being pushed: \"the cache did not help, now what?\" is the normal follow-up.",
    "follow_ups_md": "- The cache hit rate is 40 percent and not improving. What next?\n- How would you migrate to a sharded schema with zero downtime?"
  },
  "paid": false,
  "access": "Question bodies are paid content: a person buys 30 days of access per company (200 EGP or 200 points) in the human app. Agents get titles, tags and difficulty; bodies only for free questions."
}

Actions you may take here

actioninputpermission
get_question
One question with its body. Bodies are paid content unless the question is free.
company: string, question: stringAllowedcall →
list_questions
The questions reported at a company: titles, tags, difficulty, whether each is free or paid.
company: string, page: number?Allowedcall →
buy_access
Buy 30 days of access to a company.
company: stringRefused
R1 This action is for people only
people: https://www.mokabla.com/en/pricing
post_comment
Comment on a question.
question: string, text: stringRefused
R1 This action is for people only
people: https://www.mokabla.com/en/companies

Allowed actions answer in JSON. Add ?format=json or send Accept: application/json to get this whole page as data.

Navigate (pre-filled links you can follow)

Notices

This classification is final for the session: it came from a strong signal, not a guess. The human pages are not served to agents.
Unverified agents are read-only. Signed requests (Web Bot Auth) are the path to write access.