tursodatabase / tursodatabase/libsql-client-ts

Remove database probe from `createClient()`

Open
#154 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue help wanted
Dominant language
TypeScript
Stars
576
Forks
69
PR merge metrics
No merged PRs in 30d

Description

We probe if database can be opened with SQL in createClient() implementations, but it means that with remote databases, we add extra latency. This is problematic in particular if client is short-lived.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the createClient() implementations and the SQL database-open probe described in the issue. Confirm how the implementations behave for remote and short-lived clients; done means createClient() no longer adds that probe or its latency while the client creation behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
sqlite, typescript
Domain
database
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.