marmelab / marmelab/ra-appwrite

Use new Bulk API in seed script

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Problem

Seed script is a bit slow because it is inserting hundreds of rows one by one.

## Solution

Appwrite team recently introduced the [Bulk API](https://appwrite.io/blog/post/announcing-bulk-api). We could update the script to leverage it, and hence make the script faster.

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the seed script in the repository and read how it currently inserts rows one by one. Review Appwrite's Bulk API documentation, then update the script to use bulk insertion and verify that seeding still creates the expected rows with improved performance.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.